![]() |
Flecs v4.1
A fast entity component system (ECS) for C & C++
|
Used with ecs_expr_run(). More...
#include <script.h>
Public Attributes | |
| const char * | name |
| Script name. | |
| const char * | expr |
| Full expression string. | |
| const ecs_script_vars_t * | vars |
| Variables accessible in expression. | |
| ecs_entity_t | type |
| Type of parsed value (optional). | |
| ecs_entity_t(* | lookup_action )(const ecs_world_t *, const char *value, void *ctx) |
| void * | lookup_ctx |
| Context passed to lookup function. | |
| bool | disable_folding |
| Disable constant folding (slower evaluation, faster parsing). | |
| bool | disable_dynamic_variable_binding |
| This option instructs the expression runtime to lookup variables by stack pointer instead of by name, which improves performance. | |
| bool | allow_unresolved_identifiers |
| Allow for unresolved identifiers when parsing. | |
| ecs_script_runtime_t * | runtime |
| Reusable runtime (optional). | |
| void * | script_visitor |
| For internal usage. | |
| bool(* | unresolved_identifier_action )(const ecs_world_t *, const char *value, void *ctx) |
Used with ecs_expr_run().
| bool ecs_expr_eval_desc_t::allow_unresolved_identifiers |
| bool ecs_expr_eval_desc_t::disable_dynamic_variable_binding |
| bool ecs_expr_eval_desc_t::disable_folding |
| const char* ecs_expr_eval_desc_t::expr |
| ecs_entity_t(* ecs_expr_eval_desc_t::lookup_action) ( const ecs_world_t *, const char *value, void *ctx) |
| void* ecs_expr_eval_desc_t::lookup_ctx |
| ecs_script_runtime_t* ecs_expr_eval_desc_t::runtime |
| void* ecs_expr_eval_desc_t::script_visitor |
| ecs_entity_t ecs_expr_eval_desc_t::type |
| bool(* ecs_expr_eval_desc_t::unresolved_identifier_action) ( const ecs_world_t *, const char *value, void *ctx) |
| const ecs_script_vars_t* ecs_expr_eval_desc_t::vars |