Module: Dhall::Parser::AnnotatedExpression
- Defined in:
- lib/dhall/parser.rb
Instance Method Summary collapse
Instance Method Details
#value ⇒ Object
478 479 480 481 482 483 484 485 486 487 |
# File 'lib/dhall/parser.rb', line 478 def value if matches[1].string.empty? first.value else TypeAnnotation.new( value: first.value, type: capture(:expression).value ) end end |