Module: Dhall::Parser::EmptyCollection
- Defined in:
- lib/dhall/parser.rb
Instance Method Summary collapse
Instance Method Details
#value ⇒ Object
463 464 465 466 467 468 469 |
# File 'lib/dhall/parser.rb', line 463 def value if captures.key?(:list) EmptyList.new(element_type: capture(:import_expression).value) else OptionalNone.new(value_type: capture(:import_expression).value) end end |