]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | ** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2001. | |
3 | ** See ../LICENSE for license information. | |
4 | ** | |
5 | */ | |
6 | ||
7 | typedef enum { | |
8 | PRIV_CONST, PRIV_VAR, | |
9 | PRIV_TYPE, PRIV_FUNCTION | |
10 | } privateKind; | |
11 | ||
12 | typedef struct { | |
13 | privateKind kind; | |
14 | union { | |
15 | constDeclarationNode constdeclaration; | |
16 | varDeclarationNode vardeclaration; | |
17 | typeNode type; | |
18 | fcnNode fcn; | |
19 | } content; | |
20 | } *privateNode; | |
21 | ||
22 | extern /*@unused@*/ /*@only@*/ cstring privateNode_unparse(privateNode p_n); |