Exception: Regexp::Parser::UnknownTokenTypeError
- Inherits:
-
ParserError
- Object
- StandardError
- Error
- ParserError
- Regexp::Parser::UnknownTokenTypeError
- Defined in:
- lib/regexp_parser/parser.rb
Instance Method Summary collapse
-
#initialize(type, token) ⇒ UnknownTokenTypeError
constructor
A new instance of UnknownTokenTypeError.
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 |