Lines Matching refs:AstNode
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()
86 AstNode *child = ast_new(parent, parent->childnodes->len, text, NULL, NULL); in ast_append_attribute()