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