mirror of
https://github.com/mudabbir-ahmad/MYOL-TB2-prog3-Py.git
synced 2026-10-07 19:40:21 +00:00
57 lines
1.5 KiB
Python
57 lines
1.5 KiB
Python
# Generated from ./Hello.g4 by ANTLR 4.13.2
|
|
from antlr4 import *
|
|
if "." in __name__:
|
|
from .HelloParser import HelloParser
|
|
else:
|
|
from HelloParser import HelloParser
|
|
|
|
# This class defines a complete listener for a parse tree produced by HelloParser.
|
|
class HelloListener(ParseTreeListener):
|
|
|
|
# Enter a parse tree produced by HelloParser#greeting.
|
|
def enterGreeting(self, ctx:HelloParser.GreetingContext):
|
|
pass
|
|
|
|
# Exit a parse tree produced by HelloParser#greeting.
|
|
def exitGreeting(self, ctx:HelloParser.GreetingContext):
|
|
pass
|
|
|
|
|
|
# Enter a parse tree produced by HelloParser#leaving.
|
|
def enterLeaving(self, ctx:HelloParser.LeavingContext):
|
|
pass
|
|
|
|
# Exit a parse tree produced by HelloParser#leaving.
|
|
def exitLeaving(self, ctx:HelloParser.LeavingContext):
|
|
pass
|
|
|
|
|
|
# Enter a parse tree produced by HelloParser#greet.
|
|
def enterGreet(self, ctx:HelloParser.GreetContext):
|
|
pass
|
|
|
|
# Exit a parse tree produced by HelloParser#greet.
|
|
def exitGreet(self, ctx:HelloParser.GreetContext):
|
|
pass
|
|
|
|
|
|
# Enter a parse tree produced by HelloParser#start.
|
|
def enterStart(self, ctx:HelloParser.StartContext):
|
|
pass
|
|
|
|
# Exit a parse tree produced by HelloParser#start.
|
|
def exitStart(self, ctx:HelloParser.StartContext):
|
|
pass
|
|
|
|
|
|
# Enter a parse tree produced by HelloParser#bye.
|
|
def enterBye(self, ctx:HelloParser.ByeContext):
|
|
pass
|
|
|
|
# Exit a parse tree produced by HelloParser#bye.
|
|
def exitBye(self, ctx:HelloParser.ByeContext):
|
|
pass
|
|
|
|
|
|
|
|
del HelloParser |