class TPPlus::Token

Constants

DATA
KEYWORDS

Public Class Methods

lookup(string) click to toggle source
# File lib/tp_plus/token.rb, line 93
def self.lookup(string)
  KEYWORDS[string] || :WORD
end
lookup_data(string) click to toggle source
# File lib/tp_plus/token.rb, line 97
def self.lookup_data(string)
  DATA[string] || :WORD
end