Module: Dhall::Parser::Selector
- Defined in:
- lib/dhall/parser.rb
Instance Method Summary collapse
Instance Method Details
#value ⇒ Object
172 173 174 175 176 177 178 179 180 |
# File 'lib/dhall/parser.rb', line 172 def value if captures.key?(:type_selector) capture(:expression).value elsif captures.key?(:labels) captures(:any_label).map(&:value) else super end end |