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