5 #include <ctu_broker_api.h>
45 CT_BROKER_API
void ctx_error(
const where_t *where,
const void *state,
const scan_t *scan,
const char *msg);
CT_BROKER_API vector_t * ctx_vector_of(size_t size, const scan_t *scan)
CT_BROKER_API void ctx_error(const where_t *where, const void *state, const scan_t *scan, const char *msg)
CT_BROKER_API logger_t * ctx_get_logger(const scan_t *scan)
CT_BROKER_API arena_t * ctx_get_string_arena(const scan_t *scan)
CT_BROKER_API arena_t * ctx_get_ast_arena(const scan_t *scan)
CT_BROKER_API vector_t * ctx_vector_new(size_t size, const scan_t *scan)
CT_BROKER_API arena_t * ctx_get_arena(const scan_t *scan)
CT_BROKER_API vector_t * ctx_vector_init(void *init, const scan_t *scan)
CT_BROKER_API void * ctx_get_user(const scan_t *scan)
CT_BROKER_API void ctx_unknown_symbol(const scan_t *scan, const where_t *where, const char *msg)
a generic vector of pointers
a location inside a scanner locations are inclusive and 0-based