]> andersk Git - splint.git/blob - src/Headers/forwardTypes.h
Merged code tree with Dave Evans's version. Many changes to numberous to list....
[splint.git] / src / Headers / forwardTypes.h
1 # ifndef FORWARDTYPES_H
2 # define FORWARDTYPES_H
3
4 # ifndef NOLCL
5 # include "lclForwardTypes.h"
6 # endif
7
8 abst_typedef /*@null@*/ struct s_sRef *sRef;
9 abst_typedef /*@null@*/ struct s_uentry *uentry;
10 immut_typedef int typeIdSet;
11 typedef /*@only@*/ uentry o_uentry;
12 abst_typedef struct s_mttok *mttok;
13 abst_typedef /*@null@*/ struct s_idDecl *idDecl;
14 abst_typedef /*@null@*/ struct s_usymtab  *usymtab;
15 abst_typedef /*@null@*/ struct s_exprNode *exprNode;
16 abst_typedef /*@null@*/ struct s_guardSet *guardSet;
17 abst_typedef /*@null@*/ struct s_sRefSet *sRefSet;
18 abst_typedef /*@null@*/ struct s_sRefList *sRefList ;
19 abst_typedef /*@null@*/ struct s_aliasTable *aliasTable;
20 abst_typedef /*@null@*/ struct s_fileloc *fileloc;
21 abst_typedef /*@null@*/ struct s_cstringTable *cstringTable;
22 abst_typedef /*@null@*/ struct s_genericTable *genericTable;
23 abst_typedef /*@null@*/ struct s_annotationInfo *annotationInfo;
24 abst_typedef /*@null@*/ struct s_inputStream *inputStream;
25 abst_typedef /*@null@*/ struct s_stateValue *stateValue;
26 abst_typedef /*@null@*/ genericTable valueTable;
27 abst_typedef /*@null@*/ genericTable metaStateTable;
28 abst_typedef /*@null@*/ genericTable annotationTable;
29 abst_typedef /*@null@*/ struct s_metaStateInfo *metaStateInfo;
30
31 abst_typedef /*@null@*/ struct s_functionClause *functionClause;
32 abst_typedef /*@null@*/ struct s_functionClauseList *functionClauseList;
33
34 abst_typedef struct s_globalsClause *globalsClause;
35 abst_typedef struct s_modifiesClause *modifiesClause;
36 abst_typedef /*@null@*/ struct s_warnClause *warnClause;
37 abst_typedef struct s_stateClause *stateClause;
38
39 abst_typedef /*@null@*/ struct s_stateClauseList *stateClauseList;
40
41 /* The mt grammar nodes: */
42 abst_typedef struct s_mtDeclarationNode *mtDeclarationNode;
43 abst_typedef /*@null@*/ struct s_mtDeclarationPiece *mtDeclarationPiece;
44 abst_typedef /*@null@*/ struct s_mtDeclarationPieces *mtDeclarationPieces;
45 abst_typedef /*@null@*/ struct s_mtContextNode *mtContextNode;
46 abst_typedef struct s_mtValuesNode *mtValuesNode;
47 abst_typedef struct s_mtDefaultsNode *mtDefaultsNode;
48 abst_typedef /*@null@*/ struct s_mtDefaultsDeclList *mtDefaultsDeclList;
49 abst_typedef struct s_mtDefaultsDecl *mtDefaultsDecl;
50 abst_typedef struct s_mtAnnotationsNode *mtAnnotationsNode;
51 abst_typedef /*@null@*/ struct s_mtAnnotationList *mtAnnotationList;
52 abst_typedef struct s_mtAnnotationDecl *mtAnnotationDecl;
53 abst_typedef struct s_mtMergeNode *mtMergeNode;
54 abst_typedef struct s_mtMergeItem *mtMergeItem;
55 abst_typedef /*@null@*/ struct s_mtMergeClauseList *mtMergeClauseList;
56 abst_typedef struct s_mtMergeClause *mtMergeClause;
57 abst_typedef /*@null@*/ struct s_mtTransferClauseList *mtTransferClauseList;
58 abst_typedef struct s_mtTransferClause *mtTransferClause;
59 abst_typedef /*@null@*/ struct s_mtLoseReferenceList *mtLoseReferenceList;
60 abst_typedef struct s_mtLoseReference *mtLoseReference;
61 abst_typedef struct s_mtTransferAction *mtTransferAction;
62 abst_typedef sRefSet globSet;
63
64 abst_typedef  struct s_constraint *constraint;
65 abst_typedef struct s_constraintList  *constraintList;
66
67
68 /* DRL modified 9 26 00 */
69
70 abst_typedef /*@null@*/ struct s_constraintExpr * constraintExpr;
71
72
73
74 /*@-cppnames@*/
75 typedef int bool;
76 /*@=cppnames@*/
77
78 abst_typedef /*@null@*/ char *cstring;
79 typedef /*@only@*/ cstring o_cstring;
80
81 immut_typedef int ctype;
82
83 /* sRef -> bool */
84 typedef bool (*sRefTest) (sRef);
85
86 /* sRef, fileloc -> void; modifies sRef */
87 typedef void (*sRefMod) (sRef, fileloc);
88
89 /* sRef, int, fileloc -> void; modifies sRef */
90 typedef void (*sRefModVal) (sRef, int, fileloc);
91
92 /* sRef -> void */
93 typedef void (*sRefShower) (sRef);
94
95 # else
96 # error "Multiple include"
97 # endif
98
99
100
101
This page took 0.042778 seconds and 5 git commands to generate.