Method: Dhaka::LexerRun#initialize
- Defined in:
- lib/dhaka/lexer/lexer_run.rb
#initialize(lexer, input) ⇒ LexerRun
Returns a new instance of LexerRun.
7 8 9 10 11 12 |
# File 'lib/dhaka/lexer/lexer_run.rb', line 7 def initialize lexer, input @lexer, @input = lexer, input @input_position = 0 @not_yet_accepted_chars = [] @last_saved_checkpoints = {} end |