Searched refs:AstNode (Results 1 – 5 of 5) sorted by relevance
/third_party/ltp/tools/sparse/sparse-src/ |
D | ast-model.h | 17 #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 …]
|
D | ast-model.c | 17 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() 63 return g_array_index(node->childnodes, AstNode *, n); in ast_nth_child() 68 gboolean ast_set_iter(GtkTreeIter *iter, AstNode *node) in ast_set_iter() 96 sizeof (AstNode), in ast_get_type() 177 ast_init (AstNode *node) in ast_init() 179 node->childnodes = g_array_new(FALSE, TRUE, sizeof(AstNode *)); in ast_init() 264 AstNode *node; in ast_get_iter() 291 AstNode *root = AST_NODE(tree_model); in ast_get_path() [all …]
|
D | ast-inspect.h | 7 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);
|
D | ast-inspect.c | 8 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() 124 void inspect_symbol(AstNode *node) in inspect_symbol() 143 void inspect_symbol_list(AstNode *node) in inspect_symbol_list() 186 void inspect_expression(AstNode *node) in inspect_expression()
|
D | ast-view.c | 12 AstNode *root; in create_view_and_model()
|