Go to the source code of this file.
Data Structures | |
struct | _Token |
A Token. More... | |
Defines | |
#define | MAX_TOKEN 100 |
Maximum number of tokens. More... | |
Typedefs | |
typedef _Token | Token |
A Token. More... | |
Enumerations | |
enum | Tokens { TIdentifier, TStringLiteral, TNumericLiteral, TFloatLiteral, TDataType, TLeftBracket, TRightBracket, TLeftBrace, TRightBrace, TAdd, TSub, TDiv, TMul } |
Token enum. More... | |
Functions | |
int | tokenInit (void) |
Initialize Token System. More... | |
int | tokenClose (void) |
Close the Token sytem. More... | |
int | tokenize (void) |
int | tokenGet (Token *tok) |
int | tokenNew (Token *newTok) |
int | tokenDelete (Token *delTok) |
int | tokenAdd (Token *add, Token *where) |
int | tokenClear (void) |
|
Maximum number of tokens. The token engine cannot evaluate above this many tokens/line (unless a linked list system is used). |
|
A Token. Every source code element in InCode. |
|
|
|
|
|
|
Close the Token sytem. Removes any memory occupied by the token system, and releases any resources used.
Definition at line 50 of file token.c. References TDataType, TFloatLiteral, TLeftBrace, TLeftBracket, and TRightBracket. |
|
Definition at line 86 of file token.c. Referenced by tokenize(). |
|
Definition at line 67 of file token.c. Referenced by tokenize(). |
|
Initialize Token System. Initializes the token linked list, and any other setup procedures.
|
|
Definition at line 55 of file token.c. References TAdd, TDiv, TMul, TRightBrace, and TSub. |
|
Definition at line 81 of file token.c. Referenced by tokenGet(). |