Module: Dhall::Parser::NonEmptyOptional

Defined in:
lib/dhall/parser.rb

Instance Method Summary collapse

Instance Method Details

#valueObject



473
474
475
476
477
478
# File 'lib/dhall/parser.rb', line 473

def value
  Optional.new(
    value:      capture(:expression).value,
    value_type: capture(:import_expression).value
  )
end