Module: Dhall::Parser::NonreservedLabel

Defined in:
lib/dhall/parser.rb

Instance Method Summary collapse

Instance Method Details

#valueObject



206
207
208
209
210
211
212
# File 'lib/dhall/parser.rb', line 206

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