普通文本  |  151行  |  3.39 KB

# Generated from gn.g4 by ANTLR 4.7.1
from antlr4 import *

# This class defines a complete listener for a parse tree produced by gnParser.
class gnListener(ParseTreeListener):

    # Enter a parse tree produced by gnParser#r.
    def enterR(self, ctx):
        pass

    # Exit a parse tree produced by gnParser#r.
    def exitR(self, ctx):
        pass


    # Enter a parse tree produced by gnParser#statement.
    def enterStatement(self, ctx):
        pass

    # Exit a parse tree produced by gnParser#statement.
    def exitStatement(self, ctx):
        pass


    # Enter a parse tree produced by gnParser#lvalue.
    def enterLvalue(self, ctx):
        pass

    # Exit a parse tree produced by gnParser#lvalue.
    def exitLvalue(self, ctx):
        pass


    # Enter a parse tree produced by gnParser#assignment.
    def enterAssignment(self, ctx):
        pass

    # Exit a parse tree produced by gnParser#assignment.
    def exitAssignment(self, ctx):
        pass


    # Enter a parse tree produced by gnParser#call.
    def enterCall(self, ctx):
        pass

    # Exit a parse tree produced by gnParser#call.
    def exitCall(self, ctx):
        pass


    # Enter a parse tree produced by gnParser#condition.
    def enterCondition(self, ctx):
        pass

    # Exit a parse tree produced by gnParser#condition.
    def exitCondition(self, ctx):
        pass


    # Enter a parse tree produced by gnParser#block.
    def enterBlock(self, ctx):
        pass

    # Exit a parse tree produced by gnParser#block.
    def exitBlock(self, ctx):
        pass


    # Enter a parse tree produced by gnParser#statementlist.
    def enterStatementlist(self, ctx):
        pass

    # Exit a parse tree produced by gnParser#statementlist.
    def exitStatementlist(self, ctx):
        pass


    # Enter a parse tree produced by gnParser#arrayaccess.
    def enterArrayaccess(self, ctx):
        pass

    # Exit a parse tree produced by gnParser#arrayaccess.
    def exitArrayaccess(self, ctx):
        pass


    # Enter a parse tree produced by gnParser#scopeaccess.
    def enterScopeaccess(self, ctx):
        pass

    # Exit a parse tree produced by gnParser#scopeaccess.
    def exitScopeaccess(self, ctx):
        pass


    # Enter a parse tree produced by gnParser#expr.
    def enterExpr(self, ctx):
        pass

    # Exit a parse tree produced by gnParser#expr.
    def exitExpr(self, ctx):
        pass


    # Enter a parse tree produced by gnParser#unaryexpr.
    def enterUnaryexpr(self, ctx):
        pass

    # Exit a parse tree produced by gnParser#unaryexpr.
    def exitUnaryexpr(self, ctx):
        pass


    # Enter a parse tree produced by gnParser#primaryexpr.
    def enterPrimaryexpr(self, ctx):
        pass

    # Exit a parse tree produced by gnParser#primaryexpr.
    def exitPrimaryexpr(self, ctx):
        pass


    # Enter a parse tree produced by gnParser#exprlist.
    def enterExprlist(self, ctx):
        pass

    # Exit a parse tree produced by gnParser#exprlist.
    def exitExprlist(self, ctx):
        pass


    # Enter a parse tree produced by gnParser#elsec.
    def enterElsec(self, ctx):
        pass

    # Exit a parse tree produced by gnParser#elsec.
    def exitElsec(self, ctx):
        pass


    # Enter a parse tree produced by gnParser#comment.
    def enterComment(self, ctx):
        pass

    # Exit a parse tree produced by gnParser#comment.
    def exitComment(self, ctx):
        pass