66 lines
1.9 KiB
Python
66 lines
1.9 KiB
Python
# Generated from ./ptml.g4 by ANTLR 4.13.0
|
|
from antlr4 import *
|
|
if "." in __name__:
|
|
from .ptmlParser import ptmlParser
|
|
else:
|
|
from ptmlParser import ptmlParser
|
|
|
|
# This class defines a complete listener for a parse tree produced by ptmlParser.
|
|
class ptmlListener(ParseTreeListener):
|
|
|
|
# Enter a parse tree produced by ptmlParser#root.
|
|
def enterRoot(self, ctx:ptmlParser.RootContext):
|
|
pass
|
|
|
|
# Exit a parse tree produced by ptmlParser#root.
|
|
def exitRoot(self, ctx:ptmlParser.RootContext):
|
|
pass
|
|
|
|
|
|
# Enter a parse tree produced by ptmlParser#tree.
|
|
def enterTree(self, ctx:ptmlParser.TreeContext):
|
|
pass
|
|
|
|
# Exit a parse tree produced by ptmlParser#tree.
|
|
def exitTree(self, ctx:ptmlParser.TreeContext):
|
|
pass
|
|
|
|
|
|
# Enter a parse tree produced by ptmlParser#internal_node.
|
|
def enterInternal_node(self, ctx:ptmlParser.Internal_nodeContext):
|
|
pass
|
|
|
|
# Exit a parse tree produced by ptmlParser#internal_node.
|
|
def exitInternal_node(self, ctx:ptmlParser.Internal_nodeContext):
|
|
pass
|
|
|
|
|
|
# Enter a parse tree produced by ptmlParser#action_sign.
|
|
def enterAction_sign(self, ctx:ptmlParser.Action_signContext):
|
|
pass
|
|
|
|
# Exit a parse tree produced by ptmlParser#action_sign.
|
|
def exitAction_sign(self, ctx:ptmlParser.Action_signContext):
|
|
pass
|
|
|
|
|
|
# Enter a parse tree produced by ptmlParser#action_parm.
|
|
def enterAction_parm(self, ctx:ptmlParser.Action_parmContext):
|
|
pass
|
|
|
|
# Exit a parse tree produced by ptmlParser#action_parm.
|
|
def exitAction_parm(self, ctx:ptmlParser.Action_parmContext):
|
|
pass
|
|
|
|
|
|
# Enter a parse tree produced by ptmlParser#boolean.
|
|
def enterBoolean(self, ctx:ptmlParser.BooleanContext):
|
|
pass
|
|
|
|
# Exit a parse tree produced by ptmlParser#boolean.
|
|
def exitBoolean(self, ctx:ptmlParser.BooleanContext):
|
|
pass
|
|
|
|
|
|
|
|
del ptmlParser |