Coverage for src/pyensae/languages/PigListener.py: 0%
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1# Generated from \Pig.g4 by ANTLR 4.9
2from antlr4 import *
3if __name__ is not None and "." in __name__:
4 from .PigParser import PigParser
5else:
6 from PigParser import PigParser
8# This class defines a complete listener for a parse tree produced by PigParser.
11class PigListener(ParseTreeListener):
13 # Enter a parse tree produced by PigParser#parse.
14 def enterParse(self, ctx: PigParser.ParseContext):
15 pass
17 # Exit a parse tree produced by PigParser#parse.
18 def exitParse(self, ctx: PigParser.ParseContext):
19 pass
21 # Enter a parse tree produced by PigParser#query.
22 def enterQuery(self, ctx: PigParser.QueryContext):
23 pass
25 # Exit a parse tree produced by PigParser#query.
26 def exitQuery(self, ctx: PigParser.QueryContext):
27 pass
29 # Enter a parse tree produced by PigParser#statement.
30 def enterStatement(self, ctx: PigParser.StatementContext):
31 pass
33 # Exit a parse tree produced by PigParser#statement.
34 def exitStatement(self, ctx: PigParser.StatementContext):
35 pass
37 # Enter a parse tree produced by PigParser#alias.
38 def enterAlias(self, ctx: PigParser.AliasContext):
39 pass
41 # Exit a parse tree produced by PigParser#alias.
42 def exitAlias(self, ctx: PigParser.AliasContext):
43 pass
45 # Enter a parse tree produced by PigParser#op_clause.
46 def enterOp_clause(self, ctx: PigParser.Op_clauseContext):
47 pass
49 # Exit a parse tree produced by PigParser#op_clause.
50 def exitOp_clause(self, ctx: PigParser.Op_clauseContext):
51 pass
53 # Enter a parse tree produced by PigParser#load_clause.
54 def enterLoad_clause(self, ctx: PigParser.Load_clauseContext):
55 pass
57 # Exit a parse tree produced by PigParser#load_clause.
58 def exitLoad_clause(self, ctx: PigParser.Load_clauseContext):
59 pass
61 # Enter a parse tree produced by PigParser#filename.
62 def enterFilename(self, ctx: PigParser.FilenameContext):
63 pass
65 # Exit a parse tree produced by PigParser#filename.
66 def exitFilename(self, ctx: PigParser.FilenameContext):
67 pass
69 # Enter a parse tree produced by PigParser#as_clause.
70 def enterAs_clause(self, ctx: PigParser.As_clauseContext):
71 pass
73 # Exit a parse tree produced by PigParser#as_clause.
74 def exitAs_clause(self, ctx: PigParser.As_clauseContext):
75 pass
77 # Enter a parse tree produced by PigParser#tuple_def.
78 def enterTuple_def(self, ctx: PigParser.Tuple_defContext):
79 pass
81 # Exit a parse tree produced by PigParser#tuple_def.
82 def exitTuple_def(self, ctx: PigParser.Tuple_defContext):
83 pass
85 # Enter a parse tree produced by PigParser#field.
86 def enterField(self, ctx: PigParser.FieldContext):
87 pass
89 # Exit a parse tree produced by PigParser#field.
90 def exitField(self, ctx: PigParser.FieldContext):
91 pass
93 # Enter a parse tree produced by PigParser#type_.
94 def enterType_(self, ctx: PigParser.Type_Context):
95 pass
97 # Exit a parse tree produced by PigParser#type_.
98 def exitType_(self, ctx: PigParser.Type_Context):
99 pass
101 # Enter a parse tree produced by PigParser#simple_type.
102 def enterSimple_type(self, ctx: PigParser.Simple_typeContext):
103 pass
105 # Exit a parse tree produced by PigParser#simple_type.
106 def exitSimple_type(self, ctx: PigParser.Simple_typeContext):
107 pass
109 # Enter a parse tree produced by PigParser#tuple_type.
110 def enterTuple_type(self, ctx: PigParser.Tuple_typeContext):
111 pass
113 # Exit a parse tree produced by PigParser#tuple_type.
114 def exitTuple_type(self, ctx: PigParser.Tuple_typeContext):
115 pass
117 # Enter a parse tree produced by PigParser#bag_type.
118 def enterBag_type(self, ctx: PigParser.Bag_typeContext):
119 pass
121 # Exit a parse tree produced by PigParser#bag_type.
122 def exitBag_type(self, ctx: PigParser.Bag_typeContext):
123 pass
125 # Enter a parse tree produced by PigParser#map_type.
126 def enterMap_type(self, ctx: PigParser.Map_typeContext):
127 pass
129 # Exit a parse tree produced by PigParser#map_type.
130 def exitMap_type(self, ctx: PigParser.Map_typeContext):
131 pass
133 # Enter a parse tree produced by PigParser#func_clause.
134 def enterFunc_clause(self, ctx: PigParser.Func_clauseContext):
135 pass
137 # Exit a parse tree produced by PigParser#func_clause.
138 def exitFunc_clause(self, ctx: PigParser.Func_clauseContext):
139 pass
141 # Enter a parse tree produced by PigParser#func_name.
142 def enterFunc_name(self, ctx: PigParser.Func_nameContext):
143 pass
145 # Exit a parse tree produced by PigParser#func_name.
146 def exitFunc_name(self, ctx: PigParser.Func_nameContext):
147 pass
149 # Enter a parse tree produced by PigParser#func_args.
150 def enterFunc_args(self, ctx: PigParser.Func_argsContext):
151 pass
153 # Exit a parse tree produced by PigParser#func_args.
154 def exitFunc_args(self, ctx: PigParser.Func_argsContext):
155 pass
157 # Enter a parse tree produced by PigParser#store_clause.
158 def enterStore_clause(self, ctx: PigParser.Store_clauseContext):
159 pass
161 # Exit a parse tree produced by PigParser#store_clause.
162 def exitStore_clause(self, ctx: PigParser.Store_clauseContext):
163 pass
165 # Enter a parse tree produced by PigParser#filter_clause.
166 def enterFilter_clause(self, ctx: PigParser.Filter_clauseContext):
167 pass
169 # Exit a parse tree produced by PigParser#filter_clause.
170 def exitFilter_clause(self, ctx: PigParser.Filter_clauseContext):
171 pass
173 # Enter a parse tree produced by PigParser#cond.
174 def enterCond(self, ctx: PigParser.CondContext):
175 pass
177 # Exit a parse tree produced by PigParser#cond.
178 def exitCond(self, ctx: PigParser.CondContext):
179 pass
181 # Enter a parse tree produced by PigParser#or_cond.
182 def enterOr_cond(self, ctx: PigParser.Or_condContext):
183 pass
185 # Exit a parse tree produced by PigParser#or_cond.
186 def exitOr_cond(self, ctx: PigParser.Or_condContext):
187 pass
189 # Enter a parse tree produced by PigParser#and_cond.
190 def enterAnd_cond(self, ctx: PigParser.And_condContext):
191 pass
193 # Exit a parse tree produced by PigParser#and_cond.
194 def exitAnd_cond(self, ctx: PigParser.And_condContext):
195 pass
197 # Enter a parse tree produced by PigParser#unary_cond.
198 def enterUnary_cond(self, ctx: PigParser.Unary_condContext):
199 pass
201 # Exit a parse tree produced by PigParser#unary_cond.
202 def exitUnary_cond(self, ctx: PigParser.Unary_condContext):
203 pass
205 # Enter a parse tree produced by PigParser#not_cond.
206 def enterNot_cond(self, ctx: PigParser.Not_condContext):
207 pass
209 # Exit a parse tree produced by PigParser#not_cond.
210 def exitNot_cond(self, ctx: PigParser.Not_condContext):
211 pass
213 # Enter a parse tree produced by PigParser#null_check_cond.
214 def enterNull_check_cond(self, ctx: PigParser.Null_check_condContext):
215 pass
217 # Exit a parse tree produced by PigParser#null_check_cond.
218 def exitNull_check_cond(self, ctx: PigParser.Null_check_condContext):
219 pass
221 # Enter a parse tree produced by PigParser#expr.
222 def enterExpr(self, ctx: PigParser.ExprContext):
223 pass
225 # Exit a parse tree produced by PigParser#expr.
226 def exitExpr(self, ctx: PigParser.ExprContext):
227 pass
229 # Enter a parse tree produced by PigParser#add_expr.
230 def enterAdd_expr(self, ctx: PigParser.Add_exprContext):
231 pass
233 # Exit a parse tree produced by PigParser#add_expr.
234 def exitAdd_expr(self, ctx: PigParser.Add_exprContext):
235 pass
237 # Enter a parse tree produced by PigParser#multi_expr.
238 def enterMulti_expr(self, ctx: PigParser.Multi_exprContext):
239 pass
241 # Exit a parse tree produced by PigParser#multi_expr.
242 def exitMulti_expr(self, ctx: PigParser.Multi_exprContext):
243 pass
245 # Enter a parse tree produced by PigParser#cast_expr.
246 def enterCast_expr(self, ctx: PigParser.Cast_exprContext):
247 pass
249 # Exit a parse tree produced by PigParser#cast_expr.
250 def exitCast_expr(self, ctx: PigParser.Cast_exprContext):
251 pass
253 # Enter a parse tree produced by PigParser#unary_expr.
254 def enterUnary_expr(self, ctx: PigParser.Unary_exprContext):
255 pass
257 # Exit a parse tree produced by PigParser#unary_expr.
258 def exitUnary_expr(self, ctx: PigParser.Unary_exprContext):
259 pass
261 # Enter a parse tree produced by PigParser#eval_expr.
262 def enterEval_expr(self, ctx: PigParser.Eval_exprContext):
263 pass
265 # Exit a parse tree produced by PigParser#eval_expr.
266 def exitEval_expr(self, ctx: PigParser.Eval_exprContext):
267 pass
269 # Enter a parse tree produced by PigParser#var_expr.
270 def enterVar_expr(self, ctx: PigParser.Var_exprContext):
271 pass
273 # Exit a parse tree produced by PigParser#var_expr.
274 def exitVar_expr(self, ctx: PigParser.Var_exprContext):
275 pass
277 # Enter a parse tree produced by PigParser#projectable_expr.
278 def enterProjectable_expr(self, ctx: PigParser.Projectable_exprContext):
279 pass
281 # Exit a parse tree produced by PigParser#projectable_expr.
282 def exitProjectable_expr(self, ctx: PigParser.Projectable_exprContext):
283 pass
285 # Enter a parse tree produced by PigParser#dot_proj.
286 def enterDot_proj(self, ctx: PigParser.Dot_projContext):
287 pass
289 # Exit a parse tree produced by PigParser#dot_proj.
290 def exitDot_proj(self, ctx: PigParser.Dot_projContext):
291 pass
293 # Enter a parse tree produced by PigParser#pound_proj.
294 def enterPound_proj(self, ctx: PigParser.Pound_projContext):
295 pass
297 # Exit a parse tree produced by PigParser#pound_proj.
298 def exitPound_proj(self, ctx: PigParser.Pound_projContext):
299 pass
301 # Enter a parse tree produced by PigParser#bin_expr.
302 def enterBin_expr(self, ctx: PigParser.Bin_exprContext):
303 pass
305 # Exit a parse tree produced by PigParser#bin_expr.
306 def exitBin_expr(self, ctx: PigParser.Bin_exprContext):
307 pass
309 # Enter a parse tree produced by PigParser#neg_expr.
310 def enterNeg_expr(self, ctx: PigParser.Neg_exprContext):
311 pass
313 # Exit a parse tree produced by PigParser#neg_expr.
314 def exitNeg_expr(self, ctx: PigParser.Neg_exprContext):
315 pass
317 # Enter a parse tree produced by PigParser#distinct_clause.
318 def enterDistinct_clause(self, ctx: PigParser.Distinct_clauseContext):
319 pass
321 # Exit a parse tree produced by PigParser#distinct_clause.
322 def exitDistinct_clause(self, ctx: PigParser.Distinct_clauseContext):
323 pass
325 # Enter a parse tree produced by PigParser#col_ref.
326 def enterCol_ref(self, ctx: PigParser.Col_refContext):
327 pass
329 # Exit a parse tree produced by PigParser#col_ref.
330 def exitCol_ref(self, ctx: PigParser.Col_refContext):
331 pass
333 # Enter a parse tree produced by PigParser#alias_col_ref.
334 def enterAlias_col_ref(self, ctx: PigParser.Alias_col_refContext):
335 pass
337 # Exit a parse tree produced by PigParser#alias_col_ref.
338 def exitAlias_col_ref(self, ctx: PigParser.Alias_col_refContext):
339 pass
341 # Enter a parse tree produced by PigParser#dollar_col_ref.
342 def enterDollar_col_ref(self, ctx: PigParser.Dollar_col_refContext):
343 pass
345 # Exit a parse tree produced by PigParser#dollar_col_ref.
346 def exitDollar_col_ref(self, ctx: PigParser.Dollar_col_refContext):
347 pass
349 # Enter a parse tree produced by PigParser#infix_expr.
350 def enterInfix_expr(self, ctx: PigParser.Infix_exprContext):
351 pass
353 # Exit a parse tree produced by PigParser#infix_expr.
354 def exitInfix_expr(self, ctx: PigParser.Infix_exprContext):
355 pass
357 # Enter a parse tree produced by PigParser#const_expr.
358 def enterConst_expr(self, ctx: PigParser.Const_exprContext):
359 pass
361 # Exit a parse tree produced by PigParser#const_expr.
362 def exitConst_expr(self, ctx: PigParser.Const_exprContext):
363 pass
365 # Enter a parse tree produced by PigParser#scalar.
366 def enterScalar(self, ctx: PigParser.ScalarContext):
367 pass
369 # Exit a parse tree produced by PigParser#scalar.
370 def exitScalar(self, ctx: PigParser.ScalarContext):
371 pass
373 # Enter a parse tree produced by PigParser#map_.
374 def enterMap_(self, ctx: PigParser.Map_Context):
375 pass
377 # Exit a parse tree produced by PigParser#map_.
378 def exitMap_(self, ctx: PigParser.Map_Context):
379 pass
381 # Enter a parse tree produced by PigParser#keyvalue.
382 def enterKeyvalue(self, ctx: PigParser.KeyvalueContext):
383 pass
385 # Exit a parse tree produced by PigParser#keyvalue.
386 def exitKeyvalue(self, ctx: PigParser.KeyvalueContext):
387 pass
389 # Enter a parse tree produced by PigParser#string_val.
390 def enterString_val(self, ctx: PigParser.String_valContext):
391 pass
393 # Exit a parse tree produced by PigParser#string_val.
394 def exitString_val(self, ctx: PigParser.String_valContext):
395 pass
397 # Enter a parse tree produced by PigParser#bag.
398 def enterBag(self, ctx: PigParser.BagContext):
399 pass
401 # Exit a parse tree produced by PigParser#bag.
402 def exitBag(self, ctx: PigParser.BagContext):
403 pass
405 # Enter a parse tree produced by PigParser#tuple_.
406 def enterTuple_(self, ctx: PigParser.Tuple_Context):
407 pass
409 # Exit a parse tree produced by PigParser#tuple_.
410 def exitTuple_(self, ctx: PigParser.Tuple_Context):
411 pass
414del PigParser