Module: Dhall::Parser::NonreservedLabel

Defined in:
lib/dhall/parser.rb

Instance Method Summary collapse

Instance Method Details

#valueObject



186
187
188
189
190
191
192
# File 'lib/dhall/parser.rb', line 186

def value
  if captures.key?(:label)
    capture(:label).value
  else
    string
  end
end