Flecs v3.2
A fast entity component system (ECS) for C & C++
|
Parser addon. More...
Go to the source code of this file.
Macros | |
#define | ECS_PARSER_MAX_ARGS (16) |
Maximum number of extra arguments in term expression. | |
Functions | |
FLECS_API const char * | ecs_parse_ws (const char *ptr) |
Skip whitespace characters. | |
FLECS_API const char * | ecs_parse_ws_eol (const char *ptr) |
Skip whitespace and newline characters. | |
const char * | ecs_parse_identifier (const char *name, const char *expr, const char *ptr, char *token_out) |
Utility function to parse an identifier. | |
FLECS_API const char * | ecs_parse_digit (const char *ptr, char *token) |
Parse digit. | |
FLECS_API const char * | ecs_parse_token (const char *name, const char *expr, const char *ptr, char *token_out, char delim) |
Parse a single token. | |
FLECS_API char * | ecs_parse_term (const ecs_world_t *world, const char *name, const char *expr, const char *ptr, ecs_term_t *term_out, ecs_oper_kind_t *extra_oper, ecs_term_id_t *extra_args, bool allow_newline) |
Parse term in expression. | |
Parser addon.
The parser addon parses string expressions into lists of terms, and can be used to construct filters, queries and types.
Definition in file parser.h.