#include <SDL/begin_code.h>
#include <SDL/close_code.h>
Include dependency graph for toyparse_internal.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
DECLSPEC TokenType *SDLCALL | TokensToType (const char **tokens, const char **table[]) |
Converts a list of string-tokens to an array of types. | |
DECLSPEC int SDLCALL | FindInList (const char *str, const char *list[]) |
Finds specified string in a table of strings. | |
DECLSPEC int SDLCALL | CompareType (const char *str, const char *typestr) |
Compares a word with a syntax-string to see if it matches the specified syntax. | |
DECLSPEC char **SDLCALL | Explode (const char *str) |
Converts a string into a list of words - array of pointers to strings ending in NULL. | |
DECLSPEC void SDLCALL | FreeStrList (char **str) |
Frees a list of words. |
Definition in file toyparse_internal.h.
|
Returns 0 on syntax match, -1 on failure. Definition at line 234 of file toyparse.c. Referenced by FindInList(). |
|
Returns a NULL-terminated array of string tokens on success, NULL on failure. Definition at line 305 of file toyparse.c. References AllocateArray(). Referenced by LineToTypes(). |
Here is the call graph for this function:
|
Returns the array index on match, -1 on failure. Definition at line 207 of file toyparse.c. References CompareType(). Referenced by DetermineSubType(), and DetermineType(). |
Here is the call graph for this function:
|
Returns no values. Definition at line 391 of file toyparse.c. |
|
Returns a tokentype array on success, NULL on failure. Definition at line 140 of file toyparse.c. References DetermineSubType(), DetermineType(), TokenType::subtype, TokenType::token, and TokenType::type. Referenced by LineToTypes(). |
Here is the call graph for this function: