Exception: Regexp::Parser::UnknownTokenError

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

Instance Method Summary collapse

Constructor Details

#initialize(type, token) ⇒ UnknownTokenError

Returns a new instance of UnknownTokenError.



16
17
18
# File 'lib/regexp_parser/parser.rb', line 16

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