45 mpz_init_set(ast->
index, index);
CT_NODISCARD CT_PUREFN CT_SCAN_API arena_t * scan_get_arena(const scan_t *scan)
get the arena of a scanner
#define ARENA_IDENTIFY(ptr, name, parent, arena)
rename and reparent a pointer in a custom allocator
#define ARENA_MALLOC(size, name, parent, arena)
allocate memory from a custom allocator
#define CTASSERT(expr)
assert a condition, prints the condition as a message
query_ast_t * query_ast_field(scan_t *scan, query_ast_t *object, text_t field)
query_ast_t * query_ast_object(scan_t *scan, text_t name)
query_ast_t * query_ast_index(scan_t *scan, query_ast_t *object, mpz_t index)
query_ast_t * query_ast_map(scan_t *scan, query_ast_t *object, text_t field)