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

206 statements  

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 

7 

8# This class defines a complete listener for a parse tree produced by PigParser. 

9 

10 

11class PigListener(ParseTreeListener): 

12 

13 # Enter a parse tree produced by PigParser#parse. 

14 def enterParse(self, ctx: PigParser.ParseContext): 

15 pass 

16 

17 # Exit a parse tree produced by PigParser#parse. 

18 def exitParse(self, ctx: PigParser.ParseContext): 

19 pass 

20 

21 # Enter a parse tree produced by PigParser#query. 

22 def enterQuery(self, ctx: PigParser.QueryContext): 

23 pass 

24 

25 # Exit a parse tree produced by PigParser#query. 

26 def exitQuery(self, ctx: PigParser.QueryContext): 

27 pass 

28 

29 # Enter a parse tree produced by PigParser#statement. 

30 def enterStatement(self, ctx: PigParser.StatementContext): 

31 pass 

32 

33 # Exit a parse tree produced by PigParser#statement. 

34 def exitStatement(self, ctx: PigParser.StatementContext): 

35 pass 

36 

37 # Enter a parse tree produced by PigParser#alias. 

38 def enterAlias(self, ctx: PigParser.AliasContext): 

39 pass 

40 

41 # Exit a parse tree produced by PigParser#alias. 

42 def exitAlias(self, ctx: PigParser.AliasContext): 

43 pass 

44 

45 # Enter a parse tree produced by PigParser#op_clause. 

46 def enterOp_clause(self, ctx: PigParser.Op_clauseContext): 

47 pass 

48 

49 # Exit a parse tree produced by PigParser#op_clause. 

50 def exitOp_clause(self, ctx: PigParser.Op_clauseContext): 

51 pass 

52 

53 # Enter a parse tree produced by PigParser#load_clause. 

54 def enterLoad_clause(self, ctx: PigParser.Load_clauseContext): 

55 pass 

56 

57 # Exit a parse tree produced by PigParser#load_clause. 

58 def exitLoad_clause(self, ctx: PigParser.Load_clauseContext): 

59 pass 

60 

61 # Enter a parse tree produced by PigParser#filename. 

62 def enterFilename(self, ctx: PigParser.FilenameContext): 

63 pass 

64 

65 # Exit a parse tree produced by PigParser#filename. 

66 def exitFilename(self, ctx: PigParser.FilenameContext): 

67 pass 

68 

69 # Enter a parse tree produced by PigParser#as_clause. 

70 def enterAs_clause(self, ctx: PigParser.As_clauseContext): 

71 pass 

72 

73 # Exit a parse tree produced by PigParser#as_clause. 

74 def exitAs_clause(self, ctx: PigParser.As_clauseContext): 

75 pass 

76 

77 # Enter a parse tree produced by PigParser#tuple_def. 

78 def enterTuple_def(self, ctx: PigParser.Tuple_defContext): 

79 pass 

80 

81 # Exit a parse tree produced by PigParser#tuple_def. 

82 def exitTuple_def(self, ctx: PigParser.Tuple_defContext): 

83 pass 

84 

85 # Enter a parse tree produced by PigParser#field. 

86 def enterField(self, ctx: PigParser.FieldContext): 

87 pass 

88 

89 # Exit a parse tree produced by PigParser#field. 

90 def exitField(self, ctx: PigParser.FieldContext): 

91 pass 

92 

93 # Enter a parse tree produced by PigParser#type_. 

94 def enterType_(self, ctx: PigParser.Type_Context): 

95 pass 

96 

97 # Exit a parse tree produced by PigParser#type_. 

98 def exitType_(self, ctx: PigParser.Type_Context): 

99 pass 

100 

101 # Enter a parse tree produced by PigParser#simple_type. 

102 def enterSimple_type(self, ctx: PigParser.Simple_typeContext): 

103 pass 

104 

105 # Exit a parse tree produced by PigParser#simple_type. 

106 def exitSimple_type(self, ctx: PigParser.Simple_typeContext): 

107 pass 

108 

109 # Enter a parse tree produced by PigParser#tuple_type. 

110 def enterTuple_type(self, ctx: PigParser.Tuple_typeContext): 

111 pass 

112 

113 # Exit a parse tree produced by PigParser#tuple_type. 

114 def exitTuple_type(self, ctx: PigParser.Tuple_typeContext): 

115 pass 

116 

117 # Enter a parse tree produced by PigParser#bag_type. 

118 def enterBag_type(self, ctx: PigParser.Bag_typeContext): 

119 pass 

120 

121 # Exit a parse tree produced by PigParser#bag_type. 

122 def exitBag_type(self, ctx: PigParser.Bag_typeContext): 

123 pass 

124 

125 # Enter a parse tree produced by PigParser#map_type. 

126 def enterMap_type(self, ctx: PigParser.Map_typeContext): 

127 pass 

128 

129 # Exit a parse tree produced by PigParser#map_type. 

130 def exitMap_type(self, ctx: PigParser.Map_typeContext): 

131 pass 

132 

133 # Enter a parse tree produced by PigParser#func_clause. 

134 def enterFunc_clause(self, ctx: PigParser.Func_clauseContext): 

135 pass 

136 

137 # Exit a parse tree produced by PigParser#func_clause. 

138 def exitFunc_clause(self, ctx: PigParser.Func_clauseContext): 

139 pass 

140 

141 # Enter a parse tree produced by PigParser#func_name. 

142 def enterFunc_name(self, ctx: PigParser.Func_nameContext): 

143 pass 

144 

145 # Exit a parse tree produced by PigParser#func_name. 

146 def exitFunc_name(self, ctx: PigParser.Func_nameContext): 

147 pass 

148 

149 # Enter a parse tree produced by PigParser#func_args. 

150 def enterFunc_args(self, ctx: PigParser.Func_argsContext): 

151 pass 

152 

153 # Exit a parse tree produced by PigParser#func_args. 

154 def exitFunc_args(self, ctx: PigParser.Func_argsContext): 

155 pass 

156 

157 # Enter a parse tree produced by PigParser#store_clause. 

158 def enterStore_clause(self, ctx: PigParser.Store_clauseContext): 

159 pass 

160 

161 # Exit a parse tree produced by PigParser#store_clause. 

162 def exitStore_clause(self, ctx: PigParser.Store_clauseContext): 

163 pass 

164 

165 # Enter a parse tree produced by PigParser#filter_clause. 

166 def enterFilter_clause(self, ctx: PigParser.Filter_clauseContext): 

167 pass 

168 

169 # Exit a parse tree produced by PigParser#filter_clause. 

170 def exitFilter_clause(self, ctx: PigParser.Filter_clauseContext): 

171 pass 

172 

173 # Enter a parse tree produced by PigParser#cond. 

174 def enterCond(self, ctx: PigParser.CondContext): 

175 pass 

176 

177 # Exit a parse tree produced by PigParser#cond. 

178 def exitCond(self, ctx: PigParser.CondContext): 

179 pass 

180 

181 # Enter a parse tree produced by PigParser#or_cond. 

182 def enterOr_cond(self, ctx: PigParser.Or_condContext): 

183 pass 

184 

185 # Exit a parse tree produced by PigParser#or_cond. 

186 def exitOr_cond(self, ctx: PigParser.Or_condContext): 

187 pass 

188 

189 # Enter a parse tree produced by PigParser#and_cond. 

190 def enterAnd_cond(self, ctx: PigParser.And_condContext): 

191 pass 

192 

193 # Exit a parse tree produced by PigParser#and_cond. 

194 def exitAnd_cond(self, ctx: PigParser.And_condContext): 

195 pass 

196 

197 # Enter a parse tree produced by PigParser#unary_cond. 

198 def enterUnary_cond(self, ctx: PigParser.Unary_condContext): 

199 pass 

200 

201 # Exit a parse tree produced by PigParser#unary_cond. 

202 def exitUnary_cond(self, ctx: PigParser.Unary_condContext): 

203 pass 

204 

205 # Enter a parse tree produced by PigParser#not_cond. 

206 def enterNot_cond(self, ctx: PigParser.Not_condContext): 

207 pass 

208 

209 # Exit a parse tree produced by PigParser#not_cond. 

210 def exitNot_cond(self, ctx: PigParser.Not_condContext): 

211 pass 

212 

213 # Enter a parse tree produced by PigParser#null_check_cond. 

214 def enterNull_check_cond(self, ctx: PigParser.Null_check_condContext): 

215 pass 

216 

217 # Exit a parse tree produced by PigParser#null_check_cond. 

218 def exitNull_check_cond(self, ctx: PigParser.Null_check_condContext): 

219 pass 

220 

221 # Enter a parse tree produced by PigParser#expr. 

222 def enterExpr(self, ctx: PigParser.ExprContext): 

223 pass 

224 

225 # Exit a parse tree produced by PigParser#expr. 

226 def exitExpr(self, ctx: PigParser.ExprContext): 

227 pass 

228 

229 # Enter a parse tree produced by PigParser#add_expr. 

230 def enterAdd_expr(self, ctx: PigParser.Add_exprContext): 

231 pass 

232 

233 # Exit a parse tree produced by PigParser#add_expr. 

234 def exitAdd_expr(self, ctx: PigParser.Add_exprContext): 

235 pass 

236 

237 # Enter a parse tree produced by PigParser#multi_expr. 

238 def enterMulti_expr(self, ctx: PigParser.Multi_exprContext): 

239 pass 

240 

241 # Exit a parse tree produced by PigParser#multi_expr. 

242 def exitMulti_expr(self, ctx: PigParser.Multi_exprContext): 

243 pass 

244 

245 # Enter a parse tree produced by PigParser#cast_expr. 

246 def enterCast_expr(self, ctx: PigParser.Cast_exprContext): 

247 pass 

248 

249 # Exit a parse tree produced by PigParser#cast_expr. 

250 def exitCast_expr(self, ctx: PigParser.Cast_exprContext): 

251 pass 

252 

253 # Enter a parse tree produced by PigParser#unary_expr. 

254 def enterUnary_expr(self, ctx: PigParser.Unary_exprContext): 

255 pass 

256 

257 # Exit a parse tree produced by PigParser#unary_expr. 

258 def exitUnary_expr(self, ctx: PigParser.Unary_exprContext): 

259 pass 

260 

261 # Enter a parse tree produced by PigParser#eval_expr. 

262 def enterEval_expr(self, ctx: PigParser.Eval_exprContext): 

263 pass 

264 

265 # Exit a parse tree produced by PigParser#eval_expr. 

266 def exitEval_expr(self, ctx: PigParser.Eval_exprContext): 

267 pass 

268 

269 # Enter a parse tree produced by PigParser#var_expr. 

270 def enterVar_expr(self, ctx: PigParser.Var_exprContext): 

271 pass 

272 

273 # Exit a parse tree produced by PigParser#var_expr. 

274 def exitVar_expr(self, ctx: PigParser.Var_exprContext): 

275 pass 

276 

277 # Enter a parse tree produced by PigParser#projectable_expr. 

278 def enterProjectable_expr(self, ctx: PigParser.Projectable_exprContext): 

279 pass 

280 

281 # Exit a parse tree produced by PigParser#projectable_expr. 

282 def exitProjectable_expr(self, ctx: PigParser.Projectable_exprContext): 

283 pass 

284 

285 # Enter a parse tree produced by PigParser#dot_proj. 

286 def enterDot_proj(self, ctx: PigParser.Dot_projContext): 

287 pass 

288 

289 # Exit a parse tree produced by PigParser#dot_proj. 

290 def exitDot_proj(self, ctx: PigParser.Dot_projContext): 

291 pass 

292 

293 # Enter a parse tree produced by PigParser#pound_proj. 

294 def enterPound_proj(self, ctx: PigParser.Pound_projContext): 

295 pass 

296 

297 # Exit a parse tree produced by PigParser#pound_proj. 

298 def exitPound_proj(self, ctx: PigParser.Pound_projContext): 

299 pass 

300 

301 # Enter a parse tree produced by PigParser#bin_expr. 

302 def enterBin_expr(self, ctx: PigParser.Bin_exprContext): 

303 pass 

304 

305 # Exit a parse tree produced by PigParser#bin_expr. 

306 def exitBin_expr(self, ctx: PigParser.Bin_exprContext): 

307 pass 

308 

309 # Enter a parse tree produced by PigParser#neg_expr. 

310 def enterNeg_expr(self, ctx: PigParser.Neg_exprContext): 

311 pass 

312 

313 # Exit a parse tree produced by PigParser#neg_expr. 

314 def exitNeg_expr(self, ctx: PigParser.Neg_exprContext): 

315 pass 

316 

317 # Enter a parse tree produced by PigParser#distinct_clause. 

318 def enterDistinct_clause(self, ctx: PigParser.Distinct_clauseContext): 

319 pass 

320 

321 # Exit a parse tree produced by PigParser#distinct_clause. 

322 def exitDistinct_clause(self, ctx: PigParser.Distinct_clauseContext): 

323 pass 

324 

325 # Enter a parse tree produced by PigParser#col_ref. 

326 def enterCol_ref(self, ctx: PigParser.Col_refContext): 

327 pass 

328 

329 # Exit a parse tree produced by PigParser#col_ref. 

330 def exitCol_ref(self, ctx: PigParser.Col_refContext): 

331 pass 

332 

333 # Enter a parse tree produced by PigParser#alias_col_ref. 

334 def enterAlias_col_ref(self, ctx: PigParser.Alias_col_refContext): 

335 pass 

336 

337 # Exit a parse tree produced by PigParser#alias_col_ref. 

338 def exitAlias_col_ref(self, ctx: PigParser.Alias_col_refContext): 

339 pass 

340 

341 # Enter a parse tree produced by PigParser#dollar_col_ref. 

342 def enterDollar_col_ref(self, ctx: PigParser.Dollar_col_refContext): 

343 pass 

344 

345 # Exit a parse tree produced by PigParser#dollar_col_ref. 

346 def exitDollar_col_ref(self, ctx: PigParser.Dollar_col_refContext): 

347 pass 

348 

349 # Enter a parse tree produced by PigParser#infix_expr. 

350 def enterInfix_expr(self, ctx: PigParser.Infix_exprContext): 

351 pass 

352 

353 # Exit a parse tree produced by PigParser#infix_expr. 

354 def exitInfix_expr(self, ctx: PigParser.Infix_exprContext): 

355 pass 

356 

357 # Enter a parse tree produced by PigParser#const_expr. 

358 def enterConst_expr(self, ctx: PigParser.Const_exprContext): 

359 pass 

360 

361 # Exit a parse tree produced by PigParser#const_expr. 

362 def exitConst_expr(self, ctx: PigParser.Const_exprContext): 

363 pass 

364 

365 # Enter a parse tree produced by PigParser#scalar. 

366 def enterScalar(self, ctx: PigParser.ScalarContext): 

367 pass 

368 

369 # Exit a parse tree produced by PigParser#scalar. 

370 def exitScalar(self, ctx: PigParser.ScalarContext): 

371 pass 

372 

373 # Enter a parse tree produced by PigParser#map_. 

374 def enterMap_(self, ctx: PigParser.Map_Context): 

375 pass 

376 

377 # Exit a parse tree produced by PigParser#map_. 

378 def exitMap_(self, ctx: PigParser.Map_Context): 

379 pass 

380 

381 # Enter a parse tree produced by PigParser#keyvalue. 

382 def enterKeyvalue(self, ctx: PigParser.KeyvalueContext): 

383 pass 

384 

385 # Exit a parse tree produced by PigParser#keyvalue. 

386 def exitKeyvalue(self, ctx: PigParser.KeyvalueContext): 

387 pass 

388 

389 # Enter a parse tree produced by PigParser#string_val. 

390 def enterString_val(self, ctx: PigParser.String_valContext): 

391 pass 

392 

393 # Exit a parse tree produced by PigParser#string_val. 

394 def exitString_val(self, ctx: PigParser.String_valContext): 

395 pass 

396 

397 # Enter a parse tree produced by PigParser#bag. 

398 def enterBag(self, ctx: PigParser.BagContext): 

399 pass 

400 

401 # Exit a parse tree produced by PigParser#bag. 

402 def exitBag(self, ctx: PigParser.BagContext): 

403 pass 

404 

405 # Enter a parse tree produced by PigParser#tuple_. 

406 def enterTuple_(self, ctx: PigParser.Tuple_Context): 

407 pass 

408 

409 # Exit a parse tree produced by PigParser#tuple_. 

410 def exitTuple_(self, ctx: PigParser.Tuple_Context): 

411 pass 

412 

413 

414del PigParser