Module: Dhall::Parser::Import
- Defined in:
- lib/dhall/parser.rb
Instance Method Summary collapse
Instance Method Details
#value ⇒ Object
502 503 504 505 506 507 508 509 510 511 512 |
# File 'lib/dhall/parser.rb', line 502 def value import_type = if captures.key?(:text) Dhall::Import::Text elsif captures.key?(:location) Dhall::Import::AsLocation else Dhall::Import::Expression end capture(:import_hashed).value(import_type) end |