InvalidToken

class InvalidToken(message: String) : Exception(source)

Exception class used by compxclib.parser.AstTree and compxclib.parser.Lexer that's thrown everytime an unexpected token pops up either in the first lexing process or the Abstract syntax tree creator.

Parameters

message

message thrown along the Exception

See also

compxclib.parser.Parser
compxclib.parser.Lexer
compxclib.parser.AstTree

Constructors

Link copied to clipboard
constructor(message: String)

Creates an Exception with the message message

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?

Functions

Link copied to clipboard
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun toString(): String