Class: Antlr4::Runtime::LexerATNSimulator::SimState
- Inherits:
-
Object
- Object
- Antlr4::Runtime::LexerATNSimulator::SimState
- Defined in:
- lib/antlr4/runtime/lexer_atn_simulator.rb
Instance Attribute Summary collapse
-
#char_pos ⇒ Object
Returns the value of attribute char_pos.
-
#dfa_state ⇒ Object
Returns the value of attribute dfa_state.
-
#index ⇒ Object
Returns the value of attribute index.
-
#line ⇒ Object
Returns the value of attribute line.
Instance Method Summary collapse
Instance Attribute Details
#char_pos ⇒ Object
Returns the value of attribute char_pos.
17 18 19 |
# File 'lib/antlr4/runtime/lexer_atn_simulator.rb', line 17 def char_pos @char_pos end |
#dfa_state ⇒ Object
Returns the value of attribute dfa_state.
18 19 20 |
# File 'lib/antlr4/runtime/lexer_atn_simulator.rb', line 18 def dfa_state @dfa_state end |
#index ⇒ Object
Returns the value of attribute index.
15 16 17 |
# File 'lib/antlr4/runtime/lexer_atn_simulator.rb', line 15 def index @index end |
#line ⇒ Object
Returns the value of attribute line.
16 17 18 |
# File 'lib/antlr4/runtime/lexer_atn_simulator.rb', line 16 def line @line end |
Instance Method Details
#reset ⇒ Object
20 21 22 23 24 25 |
# File 'lib/antlr4/runtime/lexer_atn_simulator.rb', line 20 def reset @index = -1 @line = 0 @char_pos = -1 @dfa_state = nil end |