Module: Dhall::Parser::Import
- Defined in:
- lib/dhall/parser.rb
Instance Method Summary collapse
Instance Method Details
#value ⇒ Object
468 469 470 471 472 473 474 475 476 |
# File 'lib/dhall/parser.rb', line 468 def value import_type = if captures.key?(:text) Dhall::Import::Text else Dhall::Import::Expression end capture(:import_hashed).value(import_type) end |