Class: Dhall::TypeChecker::Literal
- Inherits:
-
Object
- Object
- Dhall::TypeChecker::Literal
- Defined in:
- lib/dhall/typecheck.rb
Instance Method Summary collapse
- #annotate ⇒ Object
-
#initialize(lit) ⇒ Literal
constructor
A new instance of Literal.
Constructor Details
Instance Method Details
#annotate ⇒ Object
116 117 118 119 120 121 |
# File 'lib/dhall/typecheck.rb', line 116 def annotate(*) Dhall::TypeAnnotation.new( value: @lit, type: @type ) end |