Module: Dhall::Parser::Label

Defined in:
lib/dhall/parser.rb

Defined Under Namespace

Modules: Quoted, Unquoted

Instance Method Summary collapse

Instance Method Details

#valueObject



176
177
178
179
180
181
182
# File 'lib/dhall/parser.rb', line 176

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