Flecs v4.0
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
ecs_expr_eval_desc_t Struct Reference

Used with ecs_expr_run(). More...

#include <script.h>

Public Attributes

const char * name
 Script name.
 
const char * expr
 Full expression string.
 
ecs_entity_t(* lookup_action )(const ecs_world_t *, const char *value, void *ctx)
 
void * lookup_ctx
 Context passed to lookup function.
 
const ecs_script_vars_tvars
 Variables accessible in expression.
 
ecs_entity_t type
 Type of parsed value (optional)
 
bool disable_folding
 
bool allow_unresolved_identifiers
 
ecs_script_runtime_t * runtime
 Reusable runtime (optional)
 

Detailed Description

Used with ecs_expr_run().

Definition at line 497 of file script.h.

Member Data Documentation

◆ allow_unresolved_identifiers

bool ecs_expr_eval_desc_t::allow_unresolved_identifiers

Definition at line 513 of file script.h.

◆ disable_folding

bool ecs_expr_eval_desc_t::disable_folding

Definition at line 509 of file script.h.

◆ expr

const char* ecs_expr_eval_desc_t::expr

Full expression string.

Definition at line 499 of file script.h.

◆ lookup_action

ecs_entity_t(* ecs_expr_eval_desc_t::lookup_action) ( const ecs_world_t *, const char *value, void *ctx)

Definition at line 500 of file script.h.

◆ lookup_ctx

void* ecs_expr_eval_desc_t::lookup_ctx

Context passed to lookup function.

Definition at line 504 of file script.h.

◆ name

const char* ecs_expr_eval_desc_t::name

Script name.

Definition at line 498 of file script.h.

◆ runtime

ecs_script_runtime_t* ecs_expr_eval_desc_t::runtime

Reusable runtime (optional)

Definition at line 515 of file script.h.

◆ type

ecs_entity_t ecs_expr_eval_desc_t::type

Type of parsed value (optional)

Definition at line 506 of file script.h.

◆ vars

const ecs_script_vars_t* ecs_expr_eval_desc_t::vars

Variables accessible in expression.

Definition at line 505 of file script.h.


The documentation for this struct was generated from the following file: