#include <SDL/begin_code.h>
#include <SDL/close_code.h>
Include dependency graph for toyparse.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| struct | TokenType |
| A structure defining the type and subtype of a token. More... | |
Defines | |
| #define | TYPE_ENDOPEN 0xffff |
| Denotes an open-ended syntax check. | |
| #define | TYPE_ENDCLOSE 0xfffe |
| Denotes a strict syntax-check, last argument MUST be the last. | |
Typedefs | |
| typedef TokenType | TokenType |
| A structure defining the type and subtype of a token. | |
Functions | |
| DECLSPEC void SDLCALL | FreeType (TokenType *types) |
| Frees an array of token-types and everything it contains. | |
| DECLSPEC TokenType *SDLCALL | LineToTypes (const char *str, const char **table[]) |
| Converts a line of text to an array of token-types. | |
| DECLSPEC int SDLCALL | DetermineType (const char *str, const char **table[]) |
| Determines the root type of a token. | |
| DECLSPEC int SDLCALL | DetermineSubType (int type, const char *str, const char **args[]) |
| Determines the sub-type from a known type. | |
| DECLSPEC int SDLCALL | CheckLineSyntax (TokenType *tarray,...) |
| Define PRINT_COMMENTS to print comments at runtime. Used for debugging. A generalized function to check the syntax of an array of token types. | |
Definition in file toyparse.h.
1.3.4