projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add AST visitors: parent links creation and semantic validator
[babeltrace.git]
/
formats
/
ctf
/
metadata
/
ctf-ast.h
diff --git
a/formats/ctf/metadata/ctf-ast.h
b/formats/ctf/metadata/ctf-ast.h
index 54ad14d5b5f21c0cf9be7f65edf9d99544eccc09..540195a34bca41b75268afe8c6c1fd01918fea61 100644
(file)
--- a/
formats/ctf/metadata/ctf-ast.h
+++ b/
formats/ctf/metadata/ctf-ast.h
@@
-194,7
+194,10
@@
struct ctf_node {
} string;
struct {
char *id;
} string;
struct {
char *id;
- /* range list or single value node */
+ /*
+ * Range list or single value node. Contains unary
+ * expressions.
+ */
struct cds_list_head values;
} enumerator;
struct {
struct cds_list_head values;
} enumerator;
struct {
@@
-227,5
+230,7
@@
struct ctf_ast {
};
int ctf_visitor_print_xml(FILE *fd, int depth, struct ctf_node *node);
};
int ctf_visitor_print_xml(FILE *fd, int depth, struct ctf_node *node);
+int ctf_visitor_semantic_check(FILE *fd, int depth, struct ctf_node *node);
+int ctf_visitor_parent_links(FILE *fd, int depth, struct ctf_node *node);
#endif /* _CTF_PARSER_H */
#endif /* _CTF_PARSER_H */
This page took
0.023829 seconds
and
4
git commands to generate.