101 lines
3.1 KiB
Python
101 lines
3.1 KiB
Python
|
# Generated from CommentMacro.g4 by ANTLR 4.7.1
|
||
|
from antlr4 import *
|
||
|
if __name__ is not None and "." in __name__:
|
||
|
from .CommentMacroParser import CommentMacroParser
|
||
|
else:
|
||
|
from CommentMacroParser import CommentMacroParser
|
||
|
|
||
|
# This class defines a complete listener for a parse tree produced by CommentMacroParser.
|
||
|
class CommentMacroListener(ParseTreeListener):
|
||
|
|
||
|
# Enter a parse tree produced by CommentMacroParser#prog.
|
||
|
def enterProg(self, ctx:CommentMacroParser.ProgContext):
|
||
|
pass
|
||
|
|
||
|
# Exit a parse tree produced by CommentMacroParser#prog.
|
||
|
def exitProg(self, ctx:CommentMacroParser.ProgContext):
|
||
|
pass
|
||
|
|
||
|
|
||
|
# Enter a parse tree produced by CommentMacroParser#statement.
|
||
|
def enterStatement(self, ctx:CommentMacroParser.StatementContext):
|
||
|
pass
|
||
|
|
||
|
# Exit a parse tree produced by CommentMacroParser#statement.
|
||
|
def exitStatement(self, ctx:CommentMacroParser.StatementContext):
|
||
|
pass
|
||
|
|
||
|
|
||
|
# Enter a parse tree produced by CommentMacroParser#macro.
|
||
|
def enterMacro(self, ctx:CommentMacroParser.MacroContext):
|
||
|
pass
|
||
|
|
||
|
# Exit a parse tree produced by CommentMacroParser#macro.
|
||
|
def exitMacro(self, ctx:CommentMacroParser.MacroContext):
|
||
|
pass
|
||
|
|
||
|
|
||
|
# Enter a parse tree produced by CommentMacroParser#master.
|
||
|
def enterMaster(self, ctx:CommentMacroParser.MasterContext):
|
||
|
pass
|
||
|
|
||
|
# Exit a parse tree produced by CommentMacroParser#master.
|
||
|
def exitMaster(self, ctx:CommentMacroParser.MasterContext):
|
||
|
pass
|
||
|
|
||
|
|
||
|
# Enter a parse tree produced by CommentMacroParser#time.
|
||
|
def enterTime(self, ctx:CommentMacroParser.TimeContext):
|
||
|
pass
|
||
|
|
||
|
# Exit a parse tree produced by CommentMacroParser#time.
|
||
|
def exitTime(self, ctx:CommentMacroParser.TimeContext):
|
||
|
pass
|
||
|
|
||
|
|
||
|
# Enter a parse tree produced by CommentMacroParser#device.
|
||
|
def enterDevice(self, ctx:CommentMacroParser.DeviceContext):
|
||
|
pass
|
||
|
|
||
|
# Exit a parse tree produced by CommentMacroParser#device.
|
||
|
def exitDevice(self, ctx:CommentMacroParser.DeviceContext):
|
||
|
pass
|
||
|
|
||
|
|
||
|
# Enter a parse tree produced by CommentMacroParser#nodeType.
|
||
|
def enterNodeType(self, ctx:CommentMacroParser.NodeTypeContext):
|
||
|
pass
|
||
|
|
||
|
# Exit a parse tree produced by CommentMacroParser#nodeType.
|
||
|
def exitNodeType(self, ctx:CommentMacroParser.NodeTypeContext):
|
||
|
pass
|
||
|
|
||
|
|
||
|
# Enter a parse tree produced by CommentMacroParser#target.
|
||
|
def enterTarget(self, ctx:CommentMacroParser.TargetContext):
|
||
|
pass
|
||
|
|
||
|
# Exit a parse tree produced by CommentMacroParser#target.
|
||
|
def exitTarget(self, ctx:CommentMacroParser.TargetContext):
|
||
|
pass
|
||
|
|
||
|
|
||
|
# Enter a parse tree produced by CommentMacroParser#span.
|
||
|
def enterSpan(self, ctx:CommentMacroParser.SpanContext):
|
||
|
pass
|
||
|
|
||
|
# Exit a parse tree produced by CommentMacroParser#span.
|
||
|
def exitSpan(self, ctx:CommentMacroParser.SpanContext):
|
||
|
pass
|
||
|
|
||
|
|
||
|
# Enter a parse tree produced by CommentMacroParser#number.
|
||
|
def enterNumber(self, ctx:CommentMacroParser.NumberContext):
|
||
|
pass
|
||
|
|
||
|
# Exit a parse tree produced by CommentMacroParser#number.
|
||
|
def exitNumber(self, ctx:CommentMacroParser.NumberContext):
|
||
|
pass
|
||
|
|
||
|
|