Release coccinelle-0.2.1-rc1
[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)
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)
0708f913 56 | TPragma of (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
110 | TIsoTestExpression
111 | TIsoStatement
112 | TIsoExpression
113 | TIsoDeclaration
114 | TIsoArgExpression
115 | TIso
116 | TInvalid
117 | TInt of (string * Data.clt)
b1b2de81 118 | TInitialize
113803cf 119 | TInitialiser
34e49164
C
120 | TIncludeNL of (string * Data.clt)
121 | TIncludeL of (string * Data.clt)
122 | TInc of (Data.clt)
123 | TIf of (Data.clt)
124 | TIdentifier
125 | TIdent of (string * Data.clt)
126 | TIdExpression
127 | TGoto of (Data.clt)
faf9a90c 128 | TGenerated
34e49164
C
129 | TFunction
130 | TFunDecl of (Data.clt)
131 | TFresh
132 | TForall
133 | TFor of (Data.clt)
134 | TFloat of (string * Data.clt)
b1b2de81 135 | TFinalize
34e49164
C
136 | TExtends
137 | TExpression
138 | TExists
139 | TEver
140 | TError
141 | TEqEq of (Data.clt)
142 | TEq of (Data.clt)
143 | TElse of (Data.clt)
144 | TEllipsis of (Data.clt)
145 | TDotDot of (Data.clt)
146 | TDot of (Data.clt)
147 | TDo of (Data.clt)
148 | TDmOp of (Ast_cocci.arithOp * Data.clt)
149 | TDisable
150 | TDepends
708f4980 151 | TDefineParam of (Data.clt * token * int * int)
34e49164
C
152 | TDefine of (Data.clt * token)
153 | TDefault of (Data.clt)
154 | TDeclarerId of (string * Data.clt)
155 | TDeclarer
156 | TDec of (Data.clt)
978fd7e5 157 | TCppConcatOp
34e49164
C
158 | TContinue of (Data.clt)
159 | TContext
160 | TConstant
161 | TComma of (Data.clt)
162 | TChar of (string * Data.clt)
163 | TCase of (Data.clt)
164 | TCPar0 of (Data.clt)
165 | TCPar of (Data.clt)
166 | TCEllipsis of (Data.clt)
167 | TCCro of (Data.clt)
168 | TCBrace of (Data.clt)
169 | TBreak of (Data.clt)
170 | TBang0
171 | TBang of (Data.clt)
172 | TAssign of (Ast_cocci.assignOp * Data.clt)
173 | TArobArob
174 | TArob
175 | TAny of (Data.clt)
176 | TAndLog of (Data.clt)
177 | TAnd of (Data.clt)
178 | EOF
179
180
ae4735db 181val script_meta_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (string * Ast_cocci.meta_name)
34e49164
C
182val rule_name: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Ast_cocci.rulename)
183val reinit: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (unit)
184val plus_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Ast0_cocci.rule)
185val plus_exp_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Ast0_cocci.rule)
186val never_used: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (unit)
187val minus_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Ast0_cocci.rule)
188val minus_exp_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Ast0_cocci.rule)
189val meta_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> ((Ast_cocci.metavar,Ast_cocci.metavar) Common.either list)
190val iso_rule_name: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Ast_cocci.rulename)
191val iso_meta_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> ((Ast_cocci.metavar,Ast_cocci.metavar) Common.either list)
192val iso_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Ast0_cocci.anything list list)
978fd7e5 193val include_main: (Lexing.lexbuf -> token) -> Lexing.lexbuf -> (Data.incl_iso list)