1 #ifndef ngspice_PNODE_H 2 #define ngspice_PNODE_H 3 4 struct pnode { 5 char *pn_name; /* If non-NULL, the name. */ 6 struct dvec *pn_value; /* Non-NULL in a terminal node. */ 7 struct func *pn_func; /* Non-NULL is a function. */ 8 struct op *pn_op; /* Operation if the above two NULL. */ 9 struct pnode *pn_left; /* Left branch or function argument. */ 10 struct pnode *pn_right; /* Right branch. */ 11 struct pnode *pn_next; /* For expression lists. */ 12 int pn_use; /* usage counter */ 13 } ; 14 15 #endif 16