Cthulhu
0.2.10
Cthulhu compiler collection
|
#include "common.h"
#include "base/panic.h"
#include "arena/arena.h"
#include "std/map.h"
#include "std/str.h"
#include "std/typed/vector.h"
#include "std/vector.h"
#include "config/config.h"
Go to the source code of this file.
Functions | |
ap_t * | ap_new (cfg_group_t *config, arena_t *arena) |
create a new parser instance More... | |
void | ap_update (ap_t *self) |
update the parser with the latest config More... | |
void | ap_event (ap_t *self, const cfg_field_t *param, ap_event_t callback, void *data) |
add a callback event to a parameter More... | |
STA_DECL vector_t * | ap_get_posargs (ap_t *self) |
get all positional arguments More... | |
STA_DECL vector_t * | ap_get_unknown (ap_t *self) |
get all unknown arguments More... | |
STA_DECL vector_t * | ap_get_errors (ap_t *self) |
get all errors More... | |
size_t | ap_count_params (ap_t *self) |
get the number of processed arguments More... | |