Lines Matching defs:node
27 * the parse tree is made up of struct node's. the struct is
29 * related to the node, and then type-specific node data.
41 struct node {
93 * regardless of the type of node, filename and line number
100 * the variant part of a struct node...
144 struct node *child;
145 struct node *next;
146 struct node *last;
201 struct node *arglist;
217 struct node *np;
218 struct node *nvpairs; /* for declarations */
220 struct node *next; /* for Props & Masks lists */
221 struct node *expr; /* for if statements */
229 struct node *ename; /* event class name */
230 struct node *epname; /* component path name */
231 struct node *oldepname; /* unwildcarded path name */
232 struct node *ewname; /* wildcarded portion */
233 struct node *eexprlist; /* constraint expression */
234 struct node *declp; /* event declaration */
241 struct node *lhs; /* left side of arrow */
242 struct node *rhs; /* right side of arrow */
243 struct node *nnp; /* N value */
244 struct node *knp; /* K value */
245 struct node *prop; /* arrow is part of this prop */
247 struct node *parent;
254 struct node *left;
255 struct node *right;
274 struct node *newnode(enum nodetype t, const char *file, int line);
275 void tree_free(struct node *root);
276 struct node *tree_root(struct node *np);
277 struct node *tree_nothing(void);
278 struct node *tree_expr(enum nodetype t, struct node *left, struct node *right);
279 struct node *tree_event(struct node *ename, struct node *epname,
280 struct node *eexprlist);
281 struct node *tree_if(struct node *expr, struct node *stmts,
283 struct node *tree_name(const char *s, enum itertype it,
285 struct node *tree_iname(const char *s, const char *file, int line);
286 struct node *tree_globid(const char *s, const char *file, int line);
287 struct node *tree_name_append(struct node *np1, struct node *np2);
288 struct node *tree_name_repairdash(struct node *np1, const char *s);
289 struct node *tree_name_repairdash2(const char *s, struct node *np1);
290 struct node *tree_name_iterator(struct node *np1, struct node *np2);
291 struct node *tree_timeval(const char *s, const char *suffix,
293 struct node *tree_num(const char *s, const char *file, int line);
294 struct node *tree_quote(const char *s, const char *file, int line);
295 struct node *tree_func(const char *s, struct node *np,
297 struct node *tree_pname(struct node *np);
298 struct node *tree_arrow(struct node *lhs, struct node *nnp, struct node *knp,
299 struct node *rhs);
300 struct lut *tree_s2np_lut_add(struct lut *root, const char *s, struct node *np);
301 struct node *tree_s2np_lut_lookup(struct lut *root, const char *s);
303 struct node *namep, struct node *np);
304 struct node *tree_name2np_lut_lookup(struct lut *root, struct node *namep);
305 struct node *tree_name2np_lut_lookup_name(struct lut *root, struct node *namep);
307 struct node *enp, struct node *np);
308 struct node *tree_event2np_lut_lookup(struct lut *root, struct node *enp);
309 struct node *tree_event2np_lut_lookup_event(struct lut *root,
310 struct node *enp);
311 struct node *tree_decl(enum nodetype t, struct node *enp, struct node *nvpairs,
313 struct node *tree_stmt(enum nodetype t, struct node *np,
316 int tree_namecmp(struct node *np1, struct node *np2);
317 int tree_eventcmp(struct node *np1, struct node *np2);
331 struct node *Props;
332 struct node *Lastprops;
333 struct node *Masks;
334 struct node *Lastmasks;
335 struct node *Problems;
336 struct node *Lastproblems;