Module: Dhall::Parser::Label

Defined in:
lib/dhall/parser.rb

Defined Under Namespace

Modules: Quoted, Unquoted

Instance Method Summary collapse

Instance Method Details

#valueObject



190
191
192
193
194
195
196
# File 'lib/dhall/parser.rb', line 190

def value
  if first.string == "`"
    matches[1].string.extend(Quoted)
  else
    string.extend(Unquoted)
  end
end