Exception: Platform::IEL::SexpParser::UnexpectedTokenError

Inherits:
ParseError
  • Object
show all
Defined in:
lib/introhive_expression_language/iel/sexp_parser.rb

Instance Method Summary collapse

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