#include "../../common/common.h"
Go to the source code of this file.
Functions | |
struct uiAction_s * | UI_AllocStaticStringCondition (const char *description) __attribute__((warn_unused_result)) |
Allocate and initialize an expression according to a string. | |
struct uiAction_s * | UI_ParseExpression (const char **text) __attribute__((warn_unused_result)) |
qboolean | UI_GetBooleanFromExpression (struct uiAction_s *expression, const struct uiCallContext_s *context) __attribute__((warn_unused_result)) |
float | UI_GetFloatFromExpression (struct uiAction_s *expression, const struct uiCallContext_s *context) __attribute__((warn_unused_result)) |
const char * | UI_GetStringFromExpression (struct uiAction_s *expression, const struct uiCallContext_s *context) __attribute__((warn_unused_result)) |
struct uiNode_s * | UI_GetNodeFromExpression (struct uiAction_s *expression, const struct uiCallContext_s *context, const struct value_s **property) |
Definition in file ui_expression.h.
struct uiAction_s* UI_AllocStaticStringCondition | ( | const char * | description | ) | [read] |
Allocate and initialize an expression according to a string.
[in] | description | String describing a condition |
Definition at line 521 of file ui_expression.c.
References Com_Printf(), uiNode_s::text, UI_ParseExpression(), and va().
Referenced by UI_ParseProperty().
qboolean UI_GetBooleanFromExpression | ( | struct uiAction_s * | expression, | |
const struct uiCallContext_s * | context | |||
) |
float UI_GetFloatFromExpression | ( | struct uiAction_s * | expression, | |
const struct uiCallContext_s * | context | |||
) |
struct uiNode_s* UI_GetNodeFromExpression | ( | struct uiAction_s * | expression, | |
const struct uiCallContext_s * | context, | |||
const struct value_s ** | property | |||
) | [read] |
const char* UI_GetStringFromExpression | ( | struct uiAction_s * | expression, | |
const struct uiCallContext_s * | context | |||
) |
struct uiAction_s* UI_ParseExpression | ( | const char ** | text | ) | [read] |
Definition at line 654 of file ui_expression.c.
References Com_Parse(), Com_Printf(), Com_UnParseLastToken(), uiAction_s::d, EA_BINARYOPERATOR, EA_NULL, EA_OPERATOR_EXISTS, EA_UNARYOPERATOR, EA_VALUE_CVARNAME, EA_VALUE_CVARNAME_WITHINJECTION, uiAction_s::nonTerminal, type, uiAction_s::type, UI_AllocStaticAction(), UI_GetActionTokenType(), UI_ParseExpression(), and UI_ParseValueExpression().
Referenced by UI_AllocStaticStringCondition(), UI_ParseActionList(), UI_ParseCallAction(), UI_ParseExpression(), and UI_ParseSetAction().