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