Exception: Regexp::Parser::UnknownTokenTypeError

Inherits:
ParserError
  • Object
show all
Defined in:
lib/regexp_parser/parser.rb

Instance Method Summary collapse

Constructor Details

#initialize(type, token) ⇒ UnknownTokenTypeError

Returns a new instance of UnknownTokenTypeError.



10
11
12
# File 'lib/regexp_parser/parser.rb', line 10

def initialize(type, token)
  super "Unknown token type #{type} #{token.inspect}"
end