Exception: Platform::IEL::SexpParser::UnexpectedTokenError
- Inherits:
-
ParseError
- Object
- StandardError
- ParseError
- Platform::IEL::SexpParser::UnexpectedTokenError
- Defined in:
- lib/introhive_expression_language/iel/sexp_parser.rb
Instance Method Summary collapse
-
#initialize(token) ⇒ UnexpectedTokenError
constructor
A new instance of UnexpectedTokenError.
Constructor Details
#initialize(token) ⇒ UnexpectedTokenError
Returns a new instance of UnexpectedTokenError.
12 13 14 |
# File 'lib/introhive_expression_language/iel/sexp_parser.rb', line 12 def initialize(token) super("#{token.kind} unexpected", token.source) end |