Method: RLTK::Lexer::Environment#set_state
- Defined in:
- lib/rltk/lexer.rb
#set_state(state) ⇒ void
This method returns an undefined value.
Sets the value on the top of the state stack.
292 293 294 295 296 |
# File 'lib/rltk/lexer.rb', line 292 def set_state(state) @state[-1] = state nil end |