Exception: Lox::LexicalAnalyzer::InvalidCharacter

Inherits:
StandardError
  • Object
show all
Defined in:
lib/lox/lexical_analyzer/invalid_character.rb

Instance Method Summary collapse

Constructor Details

#initialize(character) ⇒ InvalidCharacter

Returns a new instance of InvalidCharacter.



6
7
8
# File 'lib/lox/lexical_analyzer/invalid_character.rb', line 6

def initialize(character)
  super("Invalid character: #{character}")
end