Method: ANTLR3::Debug::TokenStream#look
- Defined in:
- lib/antlr3/debug.rb
#look(steps = 1) ⇒ Object
Stream Methods ######################################
346 347 348 349 350 351 |
# File 'lib/antlr3/debug.rb', line 346 def look( steps = 1 ) @initial_stream_state and consume_initial_hidden_tokens token = super( steps ) @debug_listener.look( steps, token ) return token end |