void rec_sex_ast_node_link(rec_sex_ast_node_t parent, rec_sex_ast_node_t child)
Definition: rec-sex-ast.c:228
const char * rec_sex_ast_node_subname(rec_sex_ast_node_t node)
Definition: rec-sex-ast.c:202
void rec_sex_ast_node_fix(rec_sex_ast_node_t node, char *val)
Definition: rec-sex-ast.c:313
void rec_sex_ast_node_set_name(rec_sex_ast_node_t node, const char *name, const char *subname)
Definition: rec-sex-ast.c:208
int rec_sex_ast_node_num_children(rec_sex_ast_node_t node)
Definition: rec-sex-ast.c:279
enum rec_sex_ast_node_type_e rec_sex_ast_node_type(rec_sex_ast_node_t node)
Definition: rec-sex-ast.c:136
int rec_sex_ast_node_index(rec_sex_ast_node_t node)
Definition: rec-sex-ast.c:347
struct rec_sex_ast_s * rec_sex_ast_t
Definition: rec-sex-ast.h:70
const char * rec_sex_ast_node_name(rec_sex_ast_node_t node)
Definition: rec-sex-ast.c:196
void rec_sex_ast_set_top(rec_sex_ast_t ast, rec_sex_ast_node_t node)
Definition: rec-sex-ast.c:244
bool rec_sex_ast_hash_name_p(rec_sex_ast_t ast, const char *name)
Definition: rec-sex-ast.c:429
void rec_sex_ast_node_set_index(rec_sex_ast_node_t node, int index)
Definition: rec-sex-ast.c:353
void rec_sex_ast_node_set_int(rec_sex_ast_node_t node, int num)
Definition: rec-sex-ast.c:155
void rec_sex_ast_node_set_type(rec_sex_ast_node_t node, enum rec_sex_ast_node_type_e type)
Definition: rec-sex-ast.c:142
struct rec_sex_ast_node_s * rec_sex_ast_node_t
Definition: rec-sex-ast.h:69
bool rec_sex_ast_name_p(rec_sex_ast_t ast, const char *name, size_t idx)
Definition: rec-sex-ast.c:394
void rec_sex_ast_node_destroy(rec_sex_ast_node_t node)
Definition: rec-sex-ast.c:110
void rec_sex_ast_node_set_str(rec_sex_ast_node_t node, char *str)
Definition: rec-sex-ast.c:183
rec_sex_ast_node_type_e
Definition: rec-sex-ast.h:34
@ REC_SEX_OP_MAT
Definition: rec-sex-ast.h:46
@ REC_SEX_NAME
Definition: rec-sex-ast.h:66
@ REC_SEX_OP_MUL
Definition: rec-sex-ast.h:41
@ REC_SEX_OP_SUB
Definition: rec-sex-ast.h:40
@ REC_SEX_STR
Definition: rec-sex-ast.h:65
@ REC_SEX_OP_LTE
Definition: rec-sex-ast.h:49
@ REC_SEX_NOVAL
Definition: rec-sex-ast.h:35
@ REC_SEX_OP_OR
Definition: rec-sex-ast.h:52
@ REC_SEX_OP_MOD
Definition: rec-sex-ast.h:43
@ REC_SEX_OP_CONCAT
Definition: rec-sex-ast.h:60
@ REC_SEX_OP_GTE
Definition: rec-sex-ast.h:50
@ REC_SEX_OP_SAMETIME
Definition: rec-sex-ast.h:55
@ REC_SEX_OP_ADD
Definition: rec-sex-ast.h:39
@ REC_SEX_REAL
Definition: rec-sex-ast.h:64
@ REC_SEX_OP_NEG
Definition: rec-sex-ast.h:38
@ REC_SEX_OP_EQL
Definition: rec-sex-ast.h:44
@ REC_SEX_OP_NOT
Definition: rec-sex-ast.h:53
@ REC_SEX_OP_AFTER
Definition: rec-sex-ast.h:58
@ REC_SEX_OP_LT
Definition: rec-sex-ast.h:47
@ REC_SEX_OP_NEQ
Definition: rec-sex-ast.h:45
@ REC_SEX_OP_COND
Definition: rec-sex-ast.h:59
@ REC_SEX_INT
Definition: rec-sex-ast.h:63
@ REC_SEX_OP_BEFORE
Definition: rec-sex-ast.h:57
@ REC_SEX_OP_DIV
Definition: rec-sex-ast.h:42
@ REC_SEX_OP_GT
Definition: rec-sex-ast.h:48
@ REC_SEX_OP_IMPLIES
Definition: rec-sex-ast.h:56
@ REC_SEX_OP_AND
Definition: rec-sex-ast.h:51
@ REC_SEX_OP_SHA
Definition: rec-sex-ast.h:54
bool rec_sex_ast_node_fixed(rec_sex_ast_node_t node)
Definition: rec-sex-ast.c:335
rec_sex_ast_node_t rec_sex_ast_node_child(rec_sex_ast_node_t node, int n)
Definition: rec-sex-ast.c:285
double rec_sex_ast_node_real(rec_sex_ast_node_t node)
Definition: rec-sex-ast.c:163
void rec_sex_ast_node_unfix(rec_sex_ast_node_t node)
Definition: rec-sex-ast.c:322
void rec_sex_ast_print(rec_sex_ast_t ast)
Definition: rec-sex-ast.c:360
char * rec_sex_ast_node_str(rec_sex_ast_node_t node)
Definition: rec-sex-ast.c:177
rec_sex_ast_node_t rec_sex_ast_node_new(void)
Definition: rec-sex-ast.c:92
rec_sex_ast_node_t rec_sex_ast_top(rec_sex_ast_t ast)
Definition: rec-sex-ast.c:238
void rec_sex_ast_destroy(rec_sex_ast_t ast)
Definition: rec-sex-ast.c:81
char * rec_sex_ast_node_fixed_val(rec_sex_ast_node_t node)
Definition: rec-sex-ast.c:341
rec_sex_ast_t rec_sex_ast_new()
Definition: rec-sex-ast.c:67
int rec_sex_ast_node_int(rec_sex_ast_node_t node)
Definition: rec-sex-ast.c:149
void rec_sex_ast_node_set_real(rec_sex_ast_node_t node, double num)
Definition: rec-sex-ast.c:169
void rec_sex_ast_node_reset(rec_sex_ast_node_t node)
Definition: rec-sex-ast.c:300
Definition: rec-sex-ast.c:41
Definition: rec-sex-ast.c:58