Data Structures | |
| struct | functable_s |
| struct | optable_s |
| struct | token_func_s |
| struct | token_generic_s |
| struct | token_num_s |
| struct | token_op_s |
| union | token_u |
Typedefs | |
| typedef double(* | funcfunc )(double *oplist, unsigned int numops) |
| typedef struct functable_s | functable_t |
| typedef double(* | opfunc )(double op1, double op2) |
| typedef struct optable_s | optable_t |
| typedef union token_u | token |
| typedef struct token_func_s | token_func |
| typedef struct token_generic_s | token_generic |
| typedef struct token_num_s | token_num |
| typedef struct token_op_s | token_op |
Enumerations | |
| enum | exp_error_t { EXP_E_NORMAL = 0, EXP_E_PARSE, EXP_E_INVOP, EXP_E_PAREN, EXP_E_INVPARAM, EXP_E_SYNTAX } |
| enum | token_type { TOKEN_GENERIC, TOKEN_NUM, TOKEN_OP, TOKEN_FUNC, TOKEN_OPAREN, TOKEN_CPAREN, TOKEN_COMMA } |
Functions | |
| void | EXP_DestroyTokens (token *chain) |
| double | EXP_Evaluate (char *str) |
| const char * | EXP_GetErrorMsg (void) |
| void | EXP_InsertTokenAfter (token *spot, token *new) |
| token * | EXP_ParseString (char *str) |
| void | EXP_PrintTokens (token *chain) |
| void | EXP_RemoveToken (token *tok) |
| exp_error_t | EXP_SimplifyTokens (token *chain) |
| exp_error_t | EXP_Validate (token *chain) |
Variables | |
| exp_error_t | EXP_ERROR |
| typedef double(* funcfunc)(double *oplist, unsigned int numops) |
| typedef struct functable_s functable_t |
| typedef double(* opfunc)(double op1, double op2) |
| typedef struct token_func_s token_func |
| typedef struct token_generic_s token_generic |
| typedef struct token_num_s token_num |
| typedef struct token_op_s token_op |
| enum exp_error_t |
| enum token_type |
| void EXP_DestroyTokens | ( | token * | chain | ) |
| double EXP_Evaluate | ( | char * | str | ) |
| const char* EXP_GetErrorMsg | ( | void | ) |
| token* EXP_ParseString | ( | char * | str | ) |
| void EXP_PrintTokens | ( | token * | chain | ) |
| void EXP_RemoveToken | ( | token * | tok | ) |
| exp_error_t EXP_SimplifyTokens | ( | token * | chain | ) |
| exp_error_t EXP_Validate | ( | token * | chain | ) |
| exp_error_t EXP_ERROR |