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