module Dhall::Parser::PosixEnvironmentVariableCharacter

Constants

ESCAPES

Public Instance Methods

value() click to toggle source
# File lib/dhall/parser.rb, line 609
def value
        if first&.string == "\\"
                ESCAPES.fetch(matches[1].string) {
                        raise "Invalid escape: #{string}"
                }.encode("UTF-16BE")
        else
                string
        end
end