Home
last modified time | relevance | path

Searched refs:AstNode (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dast-model.h17 #define AST_NODE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), AST_TYPE_NODE, AstNode))
31 typedef struct AstNode AstNode; typedef
43 struct AstNode struct
47 AstNode *parent; argument
50 void (*inspect)(struct AstNode* node); argument
67 AstNode* ast_new(AstNode *parent, int index, const char *prefix, void *ptr, void (*expand)(AstNode*… argument
71 AstNode* ast_append_child(AstNode *parent, const char *text, in ast_append_child()
72 void *ptr, void (*inspect)(AstNode*)) in ast_append_child() argument
75 AstNode *child = ast_new(parent, parent->childnodes->len, in ast_append_child()
84 void ast_append_attribute(AstNode *parent, const char *text) in ast_append_attribute()
[all …]
H A Dast-model.c17 static void ast_init(AstNode *pkg_tree);
44 void inspect_child_node(AstNode *node) in inspect_child_node()
54 AstNode* ast_nth_child(AstNode *node, int n) in ast_nth_child()
96 sizeof (AstNode), in ast_get_type()
177 ast_init (AstNode *node) in ast_init()
264 AstNode *node; in ast_get_iter()
429 AstNode *node = parent ? parent->user_data : (AstNode*) tree_model; in ast_iter_nth_child()
451 AstNode *node = (AstNode *) child->user_data; in ast_iter_parent()
457 AstNode *
458 ast_new (AstNode *parent, int index, const char *text, void *ptr, void (*inspect)(AstNode*)) in ast_new() argument
[all …]
H A Dast-inspect.h7 void inspect_symbol(AstNode *node);
8 void inspect_symbol_list(AstNode *node);
10 void inspect_statement(AstNode *node);
11 void inspect_statement_list(AstNode *node);
13 void inspect_expression(AstNode *node);
14 void inspect_expression_list(AstNode *node);
H A Dast-inspect.c8 static inline void inspect_ptr_list(AstNode *node, const char *name, void (*inspect)(AstNode *)) in inspect_ptr_list() argument
43 void inspect_statement(AstNode *node) in inspect_statement()
93 void inspect_statement_list(AstNode *node) in inspect_statement_list()
126 void inspect_symbol(AstNode *node) in inspect_symbol()
145 void inspect_symbol_list(AstNode *node) in inspect_symbol_list()
188 void inspect_expression(AstNode *node) in inspect_expression()
H A Dast-view.c12 AstNode *root; in create_view_and_model()