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