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 C |
33 | | TWhen of (Data.clt) |
34 | | TUsing | |
35 | | TTypedef | |
36 | | TTypeId of (string * Data.clt) | |
37 | | TType | |
38 | | TTilde of (Data.clt) | |
39 | | TSwitch of (Data.clt) | |
40 | | TString of (string * Data.clt) | |
41 | | TStrict of (Data.clt) | |
42 | | TStatement | |
43 | | TSizeof of (Data.clt) | |
44 | | TShOp of (Ast_cocci.arithOp * Data.clt) | |
45 | | TScriptData of (string) | |
1be43e12 | 46 | | TScript |
34e49164 C |
47 | | TRuleName of (string) |
48 | | TRightIso | |
49 | | TReverse | |
50 | | TReturn of (Data.clt) | |
51 | | TPure | |
52 | | TPtrOp of (Data.clt) | |
53 | | TPtVirg of (Data.clt) | |
0708f913 | 54 | | TPragma of (string * Data.clt) |
34e49164 C |
55 | | TPosition |
56 | | TPosAny | |
57 | | TPlusFile of (string * Data.clt) | |
58 | | TPlus0 | |
59 | | TPlus of (Data.clt) | |
60 | | TPathIsoFile of (string) | |
61 | | TParameter | |
62 | | TPOEllipsis of (Data.clt) | |
63 | | TPCEllipsis of (Data.clt) | |
64 | | TPArob | |
65 | | TOrLog of (Data.clt) | |
66 | | TOr of (Data.clt) | |
67 | | TOn | |
68 | | TOPar0 of (Data.clt) | |
69 | | TOPar of (Data.clt) | |
1be43e12 | 70 | | TOInit of (Data.clt) |
34e49164 C |
71 | | TOEllipsis of (Data.clt) |
72 | | TOCro of (Data.clt) | |
73 | | TOBrace of (Data.clt) | |
74 | | TNothing | |
75 | | TNotEq of (Data.clt) | |
76 | | TNever | |
77 | | TName | |
78 | | TMul of (Data.clt) | |
79 | | TMinusFile of (string * Data.clt) | |
80 | | TMinus of (Data.clt) | |
81 | | TMid0 of (Data.clt) | |
82 | | TMetaType of (Parse_aux.info) | |
83 | | TMetaStmList of (Parse_aux.info) | |
84 | | TMetaStm of (Parse_aux.info) | |
85 | | TMetaPos of (Parse_aux.pos_info) | |
86 | | TMetaParamList of (Parse_aux.list_info) | |
87 | | TMetaParam of (Parse_aux.info) | |
88 | | TMetaLocalIdExp of (Parse_aux.typed_info) | |
89 | | TMetaLocalFunc of (Parse_aux.idinfo) | |
90 | | TMetaIterator of (Parse_aux.idinfo) | |
113803cf | 91 | | TMetaInit of (Parse_aux.info) |
34e49164 C |
92 | | TMetaIdExp of (Parse_aux.typed_info) |
93 | | TMetaId of (Parse_aux.idinfo) | |
94 | | TMetaFunc of (Parse_aux.idinfo) | |
95 | | TMetaExpList of (Parse_aux.list_info) | |
96 | | TMetaExp of (Parse_aux.typed_info) | |
97 | | TMetaErr of (Parse_aux.expinfo) | |
98 | | TMetaDeclarer of (Parse_aux.idinfo) | |
99 | | TMetaConst of (Parse_aux.typed_info) | |
100 | | TMPtVirg | |
101 | | TLogOp of (Ast_cocci.logicalOp * Data.clt) | |
102 | | TLocal | |
103 | | TLineEnd of (Data.clt) | |
104 | | TIteratorId of (string * Data.clt) | |
105 | | TIterator | |
106 | | TIsoType | |
107 | | TIsoTopLevel | |
108 | | TIsoTestExpression | |
109 | | TIsoStatement | |
110 | | TIsoExpression | |
111 | | TIsoDeclaration | |
112 | | TIsoArgExpression | |
113 | | TIso | |
114 | | TInvalid | |
115 | | TInt of (string * Data.clt) | |
b1b2de81 | 116 | | TInitialize |
113803cf | 117 | | TInitialiser |
34e49164 C |
118 | | TIncludeNL of (string * Data.clt) |
119 | | TIncludeL of (string * Data.clt) | |
120 | | TInc of (Data.clt) | |
121 | | TIf of (Data.clt) | |
122 | | TIdentifier | |
123 | | TIdent of (string * Data.clt) | |
124 | | TIdExpression | |
125 | | TGoto of (Data.clt) | |
faf9a90c | 126 | | TGenerated |
34e49164 C |
127 | | TFunction |
128 | | TFunDecl of (Data.clt) | |
129 | | TFresh | |
130 | | TForall | |
131 | | TFor of (Data.clt) | |
132 | | TFloat of (string * Data.clt) | |
b1b2de81 | 133 | | TFinalize |
34e49164 C |
134 | | TExtends |
135 | | TExpression | |
136 | | TExists | |
137 | | TEver | |
138 | | TError | |
139 | | TEqEq of (Data.clt) | |
140 | | TEq of (Data.clt) | |
141 | | TElse of (Data.clt) | |
142 | | TEllipsis of (Data.clt) | |
143 | | TDotDot of (Data.clt) | |
144 | | TDot of (Data.clt) | |
145 | | TDo of (Data.clt) | |
146 | | TDmOp of (Ast_cocci.arithOp * Data.clt) | |
147 | | TDisable | |
148 | | TDepends | |
708f4980 | 149 | | TDefineParam of (Data.clt * token * int * int) |
34e49164 C |
150 | | TDefine of (Data.clt * token) |
151 | | TDefault of (Data.clt) | |
152 | | TDeclarerId of (string * Data.clt) | |
153 | | TDeclarer | |
154 | | TDec of (Data.clt) | |
155 | | TContinue of (Data.clt) | |
156 | | TContext | |
157 | | TConstant | |
158 | | TComma of (Data.clt) | |
159 | | TChar of (string * Data.clt) | |
160 | | TCase of (Data.clt) | |
161 | | TCPar0 of (Data.clt) | |
162 | | TCPar of (Data.clt) | |
163 | | TCEllipsis of (Data.clt) | |
164 | | TCCro of (Data.clt) | |
165 | | TCBrace of (Data.clt) | |
166 | | TBreak of (Data.clt) | |
167 | | TBang0 | |
168 | | TBang of (Data.clt) | |
169 | | TAssign of (Ast_cocci.assignOp * Data.clt) | |
170 | | TArobArob | |
171 | | TArob | |
172 | | TAny of (Data.clt) | |
173 | | TAndLog of (Data.clt) | |
174 | | TAnd of (Data.clt) | |
175 | | EOF | |
176 | ||
177 | ||
178 | val script_meta_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (string * (string * string)) | |
179 | val rule_name: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Ast_cocci.rulename) | |
180 | val reinit: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (unit) | |
181 | val plus_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Ast0_cocci.rule) | |
182 | val plus_exp_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Ast0_cocci.rule) | |
183 | val never_used: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (unit) | |
184 | val minus_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Ast0_cocci.rule) | |
185 | val minus_exp_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Ast0_cocci.rule) | |
186 | val meta_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> ((Ast_cocci.metavar,Ast_cocci.metavar) Common.either list) | |
187 | val iso_rule_name: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Ast_cocci.rulename) | |
188 | val iso_meta_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> ((Ast_cocci.metavar,Ast_cocci.metavar) Common.either list) | |
189 | val iso_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Ast0_cocci.anything list list) | |
190 | val include_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> ((string,string) Common.either list) |