]>
Commit | Line | Data |
---|---|---|
885824d3 | 1 | /* |
28bf4b0b | 2 | ** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2001. |
885824d3 | 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 | ||
28bf4b0b | 12 | typedef struct { |
885824d3 | 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); |