1 # Generated from gn.g4 by ANTLR 4.7.1 2 from antlr4 import * 3 4 # This class defines a complete listener for a parse tree produced by gnParser. 5 class gnListener(ParseTreeListener): 6 7 # Enter a parse tree produced by gnParser#r. 8 def enterR(self, ctx): 9 pass 10 11 # Exit a parse tree produced by gnParser#r. 12 def exitR(self, ctx): 13 pass 14 15 16 # Enter a parse tree produced by gnParser#statement. 17 def enterStatement(self, ctx): 18 pass 19 20 # Exit a parse tree produced by gnParser#statement. 21 def exitStatement(self, ctx): 22 pass 23 24 25 # Enter a parse tree produced by gnParser#lvalue. 26 def enterLvalue(self, ctx): 27 pass 28 29 # Exit a parse tree produced by gnParser#lvalue. 30 def exitLvalue(self, ctx): 31 pass 32 33 34 # Enter a parse tree produced by gnParser#assignment. 35 def enterAssignment(self, ctx): 36 pass 37 38 # Exit a parse tree produced by gnParser#assignment. 39 def exitAssignment(self, ctx): 40 pass 41 42 43 # Enter a parse tree produced by gnParser#call. 44 def enterCall(self, ctx): 45 pass 46 47 # Exit a parse tree produced by gnParser#call. 48 def exitCall(self, ctx): 49 pass 50 51 52 # Enter a parse tree produced by gnParser#condition. 53 def enterCondition(self, ctx): 54 pass 55 56 # Exit a parse tree produced by gnParser#condition. 57 def exitCondition(self, ctx): 58 pass 59 60 61 # Enter a parse tree produced by gnParser#block. 62 def enterBlock(self, ctx): 63 pass 64 65 # Exit a parse tree produced by gnParser#block. 66 def exitBlock(self, ctx): 67 pass 68 69 70 # Enter a parse tree produced by gnParser#statementlist. 71 def enterStatementlist(self, ctx): 72 pass 73 74 # Exit a parse tree produced by gnParser#statementlist. 75 def exitStatementlist(self, ctx): 76 pass 77 78 79 # Enter a parse tree produced by gnParser#arrayaccess. 80 def enterArrayaccess(self, ctx): 81 pass 82 83 # Exit a parse tree produced by gnParser#arrayaccess. 84 def exitArrayaccess(self, ctx): 85 pass 86 87 88 # Enter a parse tree produced by gnParser#scopeaccess. 89 def enterScopeaccess(self, ctx): 90 pass 91 92 # Exit a parse tree produced by gnParser#scopeaccess. 93 def exitScopeaccess(self, ctx): 94 pass 95 96 97 # Enter a parse tree produced by gnParser#expr. 98 def enterExpr(self, ctx): 99 pass 100 101 # Exit a parse tree produced by gnParser#expr. 102 def exitExpr(self, ctx): 103 pass 104 105 106 # Enter a parse tree produced by gnParser#unaryexpr. 107 def enterUnaryexpr(self, ctx): 108 pass 109 110 # Exit a parse tree produced by gnParser#unaryexpr. 111 def exitUnaryexpr(self, ctx): 112 pass 113 114 115 # Enter a parse tree produced by gnParser#primaryexpr. 116 def enterPrimaryexpr(self, ctx): 117 pass 118 119 # Exit a parse tree produced by gnParser#primaryexpr. 120 def exitPrimaryexpr(self, ctx): 121 pass 122 123 124 # Enter a parse tree produced by gnParser#exprlist. 125 def enterExprlist(self, ctx): 126 pass 127 128 # Exit a parse tree produced by gnParser#exprlist. 129 def exitExprlist(self, ctx): 130 pass 131 132 133 # Enter a parse tree produced by gnParser#elsec. 134 def enterElsec(self, ctx): 135 pass 136 137 # Exit a parse tree produced by gnParser#elsec. 138 def exitElsec(self, ctx): 139 pass 140 141 142 # Enter a parse tree produced by gnParser#comment. 143 def enterComment(self, ctx): 144 pass 145 146 # Exit a parse tree produced by gnParser#comment. 147 def exitComment(self, ctx): 148 pass 149 150 151