Module: Dhall::Parser::PrimitiveExpression

Defined in:
lib/dhall/parser.rb

Instance Method Summary collapse

Instance Method Details

#valueObject



341
342
343
344
345
346
347
348
# File 'lib/dhall/parser.rb', line 341

def value
  key = [
    :complete_expression,
    :record_type_or_literal,
    :union_type_or_literal
  ].find { |k| captures.key?(k) }
  key ? capture(key).value : super
end