2 ** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2001.
3 ** See ../LICENSE for license information.
6 # ifndef VARDECLARATIONNODELIST_H
7 # define VARDECLARATIONNODELIST_H
9 typedef /*@only@*/ varDeclarationNode o_varDeclarationNode;
15 /*@reldef@*/ /*@relnull@*/ o_varDeclarationNode *elements;
16 } *varDeclarationNodeList ;
18 /*@iter varDeclarationNodeList_elements (sef varDeclarationNodeList x, yield exposed varDeclarationNode el); @*/
19 # define varDeclarationNodeList_elements(x, m_el) \
20 { int m_ind; varDeclarationNode *m_elements = &((x)->elements[0]); \
21 for (m_ind = 0 ; m_ind < (x)->nelements; m_ind++) \
22 { varDeclarationNode m_el = *(m_elements++);
24 # define end_varDeclarationNodeList_elements }}
26 extern /*@only@*/ varDeclarationNodeList varDeclarationNodeList_new (void) /*@*/ ;
28 varDeclarationNodeList_addh (varDeclarationNodeList p_s,
29 /*@keep@*/ varDeclarationNode p_el)
32 extern /*@only@*/ cstring varDeclarationNodeList_unparse (varDeclarationNodeList p_s) /*@*/ ;
33 extern void varDeclarationNodeList_free (/*@only@*/ varDeclarationNodeList p_s) ;
35 /*@constant int varDeclarationNodeListBASESIZE;@*/
36 # define varDeclarationNodeListBASESIZE SMALLBASESIZE
39 # error "Multiple include"