Lexer

class Lexer(input: String)(source)

Tokenizing class with a single public main method, the purpose of this class is to receive, modify and return data from the user as a String; it is the first in the tokenization process

The values returned by this class are designed to be passed to the NumberLexer class constructor

Since

Version 1.0

Parameters

input

See also

Constructors

Link copied to clipboard
constructor(input: String)

Functions

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

Only public method of the class, evaluates a String to convert the Char values into Tokens values

Link copied to clipboard
open fun toString(): String