class CLTK::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

Constructors

Instance Method Summary

Instance methods inherited from class Object

in?(collection : Array | Set) in?

Constructor Detail

def self.new(token : Token) #

[View source]

Instance Method Detail

def to_s #

@return [String] String representation of the error.


[View source]