Module: Dhall::Parser::EmptyCollection
- Defined in:
- lib/dhall/parser.rb
Instance Method Summary collapse
Instance Method Details
#value ⇒ Object
462 463 464 465 466 467 468 |
# File 'lib/dhall/parser.rb', line 462 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 |