class MODL::Parser::MODLLexer
Constants
- AMP
- ARR_SEP
- ASTERISK
- CCOMMENT
- COLON
- COMMENT
- CONDITIONAL
- CWS
- EQUALS
- EXCLAM
- FALSE
- FSLASH
- GTHAN
- HASH_PREFIX
- LBRAC
- LCBRAC
- LSBRAC
- LTHAN
- NULL
- NUMBER
- PIPE
- QMARK
- QUOTED
- RBRAC
- RCBRAC
- RSBRAC
- STRING
- STRUCT_SEP
- TRUE
- WS
Public Class Methods
new(input)
click to toggle source
Calls superclass method
# File lib/modl/parser/MODLLexer.rb, line 286 def initialize(input) super(input) i = 0 while i < @@_ATN.number_of_decisions() @@_decisionToDFA[i] = Antlr4::Runtime::DFA.new(@@_ATN.decision_state(i), i) i+=1 end @_interp = Antlr4::Runtime::LexerATNSimulator.new(self,@@_ATN,@@_decisionToDFA,@_sharedContextCache) end
Public Instance Methods
atn()
click to toggle source
# File lib/modl/parser/MODLLexer.rb, line 318 def atn() return @@_ATN end
channel_names()
click to toggle source
# File lib/modl/parser/MODLLexer.rb, line 310 def channel_names() return @@channelNames end
getGrammarFileName()
click to toggle source
# File lib/modl/parser/MODLLexer.rb, line 298 def getGrammarFileName() return "MODLLexer.g4" end
get_vocabulary()
click to toggle source
# File lib/modl/parser/MODLLexer.rb, line 75 def get_vocabulary @@VOCABULARY end
mode_names()
click to toggle source
# File lib/modl/parser/MODLLexer.rb, line 314 def mode_names() return @@modeNames end
rule_names()
click to toggle source
# File lib/modl/parser/MODLLexer.rb, line 302 def rule_names() return @@ruleNames end
serialized_atn()
click to toggle source
# File lib/modl/parser/MODLLexer.rb, line 306 def serialized_atn() return @@_serializedATN end