Commit | Line | Data |
---|---|---|
34e49164 C |
1 | exception Error |
2 | ||
3 | type token = | |
4 | | Tvolatile of (Data.clt) | |
5 | | Tvoid of (Data.clt) | |
6 | | Tunsigned of (Data.clt) | |
7 | | Tunion of (Data.clt) | |
8 | | Ttypedef of (Data.clt) | |
9 | | Tstruct of (Data.clt) | |
10 | | Tstatic of (Data.clt) | |
11 | | Tsigned of (Data.clt) | |
12 | | Tshort of (Data.clt) | |
13 | | Tregister of (Data.clt) | |
14 | | Tlong of (Data.clt) | |
15 | | Tlist | |
16 | | Tint of (Data.clt) | |
17 | | Tinline of (Data.clt) | |
18 | | Tfloat of (Data.clt) | |
19 | | Textern of (Data.clt) | |
faf9a90c | 20 | | Tenum of (Data.clt) |
34e49164 C |
21 | | Tdouble of (Data.clt) |
22 | | Tconst of (Data.clt) | |
23 | | Tchar of (Data.clt) | |
24 | | Tauto of (Data.clt) | |
25 | | Tattr of (string * Data.clt) | |
26 | | TXor of (Data.clt) | |
27 | | TWords | |
28 | | TWhy0 | |
29 | | TWhy of (Data.clt) | |
30 | | TWhile of (Data.clt) | |
1be43e12 C |
31 | | TWhenTrue of (Data.clt) |
32 | | TWhenFalse of (Data.clt) | |
34e49164 | 33 | | TWhen of (Data.clt) |
951c7801 | 34 | | TVirtual |
34e49164 C |
35 | | TUsing |
36 | | TTypedef | |
37 | | TTypeId of (string * Data.clt) | |
38 | | TType | |
951c7801 C |
39 | | TTildeExclEq of (Data.clt) |
40 | | TTildeEq of (Data.clt) | |
34e49164 C |
41 | | TTilde of (Data.clt) |
42 | | TSwitch of (Data.clt) | |
43 | | TString of (string * Data.clt) | |
44 | | TStrict of (Data.clt) | |
45 | | TStatement | |
46 | | TSizeof of (Data.clt) | |
47 | | TShOp of (Ast_cocci.arithOp * Data.clt) | |
48 | | TScriptData of (string) | |
1be43e12 | 49 | | TScript |
34e49164 C |
50 | | TRuleName of (string) |
51 | | TRightIso | |
34e49164 C |
52 | | TReturn of (Data.clt) |
53 | | TPure | |
54 | | TPtrOp of (Data.clt) | |
55 | | TPtVirg of (Data.clt) | |
c3e37e97 | 56 | | TPragma of (Ast_cocci.added_string * Data.clt) |
34e49164 C |
57 | | TPosition |
58 | | TPosAny | |
59 | | TPlusFile of (string * Data.clt) | |
60 | | TPlus0 | |
61 | | TPlus of (Data.clt) | |
62 | | TPathIsoFile of (string) | |
63 | | TParameter | |
64 | | TPOEllipsis of (Data.clt) | |
65 | | TPCEllipsis of (Data.clt) | |
66 | | TPArob | |
67 | | TOrLog of (Data.clt) | |
68 | | TOr of (Data.clt) | |
69 | | TOn | |
70 | | TOPar0 of (Data.clt) | |
71 | | TOPar of (Data.clt) | |
1be43e12 | 72 | | TOInit of (Data.clt) |
34e49164 C |
73 | | TOEllipsis of (Data.clt) |
74 | | TOCro of (Data.clt) | |
75 | | TOBrace of (Data.clt) | |
76 | | TNothing | |
77 | | TNotEq of (Data.clt) | |
78 | | TNever | |
79 | | TName | |
80 | | TMul of (Data.clt) | |
81 | | TMinusFile of (string * Data.clt) | |
82 | | TMinus of (Data.clt) | |
83 | | TMid0 of (Data.clt) | |
84 | | TMetaType of (Parse_aux.info) | |
85 | | TMetaStmList of (Parse_aux.info) | |
86 | | TMetaStm of (Parse_aux.info) | |
87 | | TMetaPos of (Parse_aux.pos_info) | |
88 | | TMetaParamList of (Parse_aux.list_info) | |
89 | | TMetaParam of (Parse_aux.info) | |
951c7801 | 90 | | TMetaLocalIdExp of (Parse_aux.typed_expinfo) |
34e49164 C |
91 | | TMetaLocalFunc of (Parse_aux.idinfo) |
92 | | TMetaIterator of (Parse_aux.idinfo) | |
113803cf | 93 | | TMetaInit of (Parse_aux.info) |
951c7801 | 94 | | TMetaIdExp of (Parse_aux.typed_expinfo) |
34e49164 C |
95 | | TMetaId of (Parse_aux.idinfo) |
96 | | TMetaFunc of (Parse_aux.idinfo) | |
97 | | TMetaExpList of (Parse_aux.list_info) | |
951c7801 | 98 | | TMetaExp of (Parse_aux.typed_expinfo) |
34e49164 C |
99 | | TMetaErr of (Parse_aux.expinfo) |
100 | | TMetaDeclarer of (Parse_aux.idinfo) | |
951c7801 | 101 | | TMetaConst of (Parse_aux.typed_expinfo) |
34e49164 C |
102 | | TMPtVirg |
103 | | TLogOp of (Ast_cocci.logicalOp * Data.clt) | |
104 | | TLocal | |
105 | | TLineEnd of (Data.clt) | |
106 | | TIteratorId of (string * Data.clt) | |
107 | | TIterator | |
108 | | TIsoType | |
109 | | TIsoTopLevel | |
c3e37e97 | 110 | | TIsoToTestExpression |
34e49164 C |
111 | | TIsoTestExpression |
112 | | TIsoStatement | |
113 | | TIsoExpression | |
114 | | TIsoDeclaration | |
115 | | TIsoArgExpression | |
116 | | TIso | |
117 | | TInvalid | |
118 | | TInt of (string * Data.clt) | |
b1b2de81 | 119 | | TInitialize |
113803cf | 120 | | TInitialiser |
34e49164 C |
121 | | TIncludeNL of (string * Data.clt) |
122 | | TIncludeL of (string * Data.clt) | |
123 | | TInc of (Data.clt) | |
124 | | TIf of (Data.clt) | |
125 | | TIdentifier | |
126 | | TIdent of (string * Data.clt) | |
127 | | TIdExpression | |
128 | | TGoto of (Data.clt) | |
faf9a90c | 129 | | TGenerated |
34e49164 C |
130 | | TFunction |
131 | | TFunDecl of (Data.clt) | |
132 | | TFresh | |
133 | | TForall | |
134 | | TFor of (Data.clt) | |
135 | | TFloat of (string * Data.clt) | |
b1b2de81 | 136 | | TFinalize |
34e49164 C |
137 | | TExtends |
138 | | TExpression | |
139 | | TExists | |
140 | | TEver | |
141 | | TError | |
142 | | TEqEq of (Data.clt) | |
143 | | TEq of (Data.clt) | |
144 | | TElse of (Data.clt) | |
145 | | TEllipsis of (Data.clt) | |
146 | | TDotDot of (Data.clt) | |
147 | | TDot of (Data.clt) | |
148 | | TDo of (Data.clt) | |
149 | | TDmOp of (Ast_cocci.arithOp * Data.clt) | |
150 | | TDisable | |
151 | | TDepends | |
708f4980 | 152 | | TDefineParam of (Data.clt * token * int * int) |
34e49164 C |
153 | | TDefine of (Data.clt * token) |
154 | | TDefault of (Data.clt) | |
155 | | TDeclarerId of (string * Data.clt) | |
156 | | TDeclarer | |
157 | | TDec of (Data.clt) | |
978fd7e5 | 158 | | TCppConcatOp |
34e49164 C |
159 | | TContinue of (Data.clt) |
160 | | TContext | |
161 | | TConstant | |
162 | | TComma of (Data.clt) | |
163 | | TChar of (string * Data.clt) | |
164 | | TCase of (Data.clt) | |
165 | | TCPar0 of (Data.clt) | |
166 | | TCPar of (Data.clt) | |
167 | | TCEllipsis of (Data.clt) | |
168 | | TCCro of (Data.clt) | |
169 | | TCBrace of (Data.clt) | |
170 | | TBreak of (Data.clt) | |
171 | | TBang0 | |
172 | | TBang of (Data.clt) | |
173 | | TAssign of (Ast_cocci.assignOp * Data.clt) | |
174 | | TArobArob | |
175 | | TArob | |
176 | | TAny of (Data.clt) | |
177 | | TAndLog of (Data.clt) | |
178 | | TAnd of (Data.clt) | |
179 | | EOF | |
180 | ||
181 | ||
ae4735db | 182 | val script_meta_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (string * Ast_cocci.meta_name) |
34e49164 C |
183 | val rule_name: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Ast_cocci.rulename) |
184 | val reinit: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (unit) | |
185 | val plus_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Ast0_cocci.rule) | |
186 | val plus_exp_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Ast0_cocci.rule) | |
187 | val never_used: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (unit) | |
188 | val minus_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Ast0_cocci.rule) | |
189 | val minus_exp_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Ast0_cocci.rule) | |
190 | val meta_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> ((Ast_cocci.metavar,Ast_cocci.metavar) Common.either list) | |
191 | val iso_rule_name: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Ast_cocci.rulename) | |
192 | val iso_meta_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> ((Ast_cocci.metavar,Ast_cocci.metavar) Common.either list) | |
193 | val iso_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Ast0_cocci.anything list list) | |
978fd7e5 | 194 | val include_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Data.incl_iso list) |