Used with ecs_expr_run().
More...
#include <script.h>
Used with ecs_expr_run().
Definition at line 1034 of file script.h.
◆ allow_unresolved_identifiers
| bool ecs_expr_eval_desc_t::allow_unresolved_identifiers |
Allow for unresolved identifiers when parsing.
Useful when entities can be created in between parsing and evaluating.
Definition at line 1055 of file script.h.
◆ disable_dynamic_variable_binding
| bool ecs_expr_eval_desc_t::disable_dynamic_variable_binding |
This option instructs the expression runtime to lookup variables by stack pointer instead of by name, which improves performance.
Only enable when provided variables are always declared in the same order.
Definition at line 1051 of file script.h.
◆ disable_folding
| bool ecs_expr_eval_desc_t::disable_folding |
Disable constant folding (slower evaluation, faster parsing).
Definition at line 1046 of file script.h.
◆ expr
| const char* ecs_expr_eval_desc_t::expr |
Full expression string.
Definition at line 1036 of file script.h.
◆ lookup_action
◆ lookup_ctx
| void* ecs_expr_eval_desc_t::lookup_ctx |
Context passed to lookup function.
Definition at line 1043 of file script.h.
◆ name
| const char* ecs_expr_eval_desc_t::name |
◆ runtime
Reusable runtime (optional).
Definition at line 1057 of file script.h.
◆ script_visitor
| void* ecs_expr_eval_desc_t::script_visitor |
For internal usage.
Definition at line 1059 of file script.h.
◆ type
Type of parsed value (optional).
Definition at line 1038 of file script.h.
◆ vars
Variables accessible in expression.
Definition at line 1037 of file script.h.
The documentation for this struct was generated from the following file: