TokenList

To store Tokens with Types where the line number of each token is required

Members

Functions

getTokenLine
uinteger getTokenLine(uinteger tokenIndex)

Returns the line number a token is in by usin the index of the token in tokens

Static functions

toString
string toString(Token[] t)

reads tokens into a string

Variables

tokenPerLine
uinteger[] tokenPerLine;

Stores the number of tokens in each line

tokens
Token[] tokens;

Stores the tokens

Meta