Exception: Lox::LexicalAnalyzer::InvalidState
- Inherits:
-
StandardError
- Object
- StandardError
- Lox::LexicalAnalyzer::InvalidState
- Defined in:
- lib/lox/lexical_analyzer/invalid_state.rb
Instance Method Summary collapse
-
#initialize(state) ⇒ InvalidState
constructor
A new instance of InvalidState.
Constructor Details
#initialize(state) ⇒ InvalidState
Returns a new instance of InvalidState.
6 7 8 |
# File 'lib/lox/lexical_analyzer/invalid_state.rb', line 6 def initialize(state) super("Invalid state: #{state}") end |