Module: Dhall::Parser::NonreservedLabel

Defined in:
lib/dhall/parser.rb

Instance Method Summary collapse

Instance Method Details

#valueObject



200
201
202
203
204
205
206
# File 'lib/dhall/parser.rb', line 200

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