class CLTK::Parser::Exceptions::BadToken

Overview

A BadToken error indicates that a token was observed in the input stream that wasn't used in the grammar's definition.

Defined in:

cltk/parser/exceptions/bad_token_exception.cr

Class Method Summary

Instance Method Summary

Instance methods inherited from class Object

in?(collection : Array | Set) in?

Class Method Detail

def self.new(token : Token) #

[View source]

Instance Method Detail

def to_s #

@return [String] String representation of the error.


[View source]