Module: Dhall::Parser::Label

Defined in:
lib/dhall/parser.rb

Defined Under Namespace

Modules: Quoted, Unquoted

Instance Method Summary collapse

Instance Method Details

#valueObject



196
197
198
199
200
201
202
# File 'lib/dhall/parser.rb', line 196

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