Module: Dhall::Parser::LetBinding
- Defined in:
- lib/dhall/parser.rb
Instance Method Summary collapse
Instance Method Details
#value ⇒ Object
457 458 459 460 461 462 463 464 |
# File 'lib/dhall/parser.rb', line 457 def value exprs = captures(:expression) Let.new( var: capture(:nonreserved_label).value, assign: exprs.last.value, type: exprs.length > 1 ? exprs.first.value : nil ) end |