aboutsummaryrefslogtreecommitdiff
path: root/include/grecs/tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/grecs/tree.h')
-rw-r--r--include/grecs/tree.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/grecs/tree.h b/include/grecs/tree.h
index 2fb26dd..f13a74b 100644
--- a/include/grecs/tree.h
+++ b/include/grecs/tree.h
@@ -67,5 +67,13 @@ struct grecs_node *grecs_match_buf_get_node(grecs_match_buf_t buf);
67size_t grecs_match_buf_get_args(grecs_match_buf_t buf, char ***argv); 67size_t grecs_match_buf_get_args(grecs_match_buf_t buf, char ***argv);
68struct grecs_node *grecs_match_buf_get_root(grecs_match_buf_t buf); 68struct grecs_node *grecs_match_buf_get_root(grecs_match_buf_t buf);
69void grecs_match_buf_set_root(grecs_match_buf_t buf, struct grecs_node *root); 69void grecs_match_buf_set_root(grecs_match_buf_t buf, struct grecs_node *root);
70
71/* Assertions */
72int grecs_assert_value_type(const grecs_value_t *value, int type,
73 grecs_locus_t *refloc);
74int grecs_assert_scalar_stmt(grecs_locus_t *locus,
75 enum grecs_callback_command cmd);
76int grecs_assert_node_value_type(enum grecs_callback_command cmd,
77 grecs_node_t *node, int type);
70 78
71#endif 79#endif

Return to:

Send suggestions and report system problems to the System administrator.