| 1 | // Code generated from ./repl/parser/Commands.g4 by ANTLR 4.13.1. DO NOT EDIT. |
| 2 | |
| 3 | package parser // Commands |
| 4 | import "github.com/antlr4-go/antlr/v4" |
| 5 | |
| 6 | // CommandsListener is a complete listener for a parse tree produced by CommandsParser. |
| 7 | type CommandsListener interface { |
| 8 | antlr.ParseTreeListener |
| 9 | |
| 10 | // EnterStartCommand is called when entering the startCommand production. |
| 11 | EnterStartCommand(c *StartCommandContext) |
| 12 | |
| 13 | // EnterCommand is called when entering the command production. |
| 14 | EnterCommand(c *CommandContext) |
| 15 | |
| 16 | // EnterHelp is called when entering the help production. |
| 17 | EnterHelp(c *HelpContext) |
| 18 | |
| 19 | // EnterLet is called when entering the let production. |
| 20 | EnterLet(c *LetContext) |
| 21 | |
| 22 | // EnterDeclare is called when entering the declare production. |
| 23 | EnterDeclare(c *DeclareContext) |
| 24 | |
| 25 | // EnterVarDecl is called when entering the varDecl production. |
| 26 | EnterVarDecl(c *VarDeclContext) |
| 27 | |
| 28 | // EnterFnDecl is called when entering the fnDecl production. |
| 29 | EnterFnDecl(c *FnDeclContext) |
| 30 | |
| 31 | // EnterParam is called when entering the param production. |
| 32 | EnterParam(c *ParamContext) |
| 33 | |
| 34 | // EnterDelete is called when entering the delete production. |
| 35 | EnterDelete(c *DeleteContext) |
| 36 | |
| 37 | // EnterSimple is called when entering the simple production. |
| 38 | EnterSimple(c *SimpleContext) |
| 39 | |
| 40 | // EnterEmpty is called when entering the empty production. |
| 41 | EnterEmpty(c *EmptyContext) |
| 42 | |
| 43 | // EnterCompile is called when entering the compile production. |
| 44 | EnterCompile(c *CompileContext) |
| 45 | |
| 46 | // EnterParse is called when entering the parse production. |
| 47 | EnterParse(c *ParseContext) |
| 48 | |
| 49 | // EnterExprCmd is called when entering the exprCmd production. |
| 50 | EnterExprCmd(c *ExprCmdContext) |
| 51 | |
| 52 | // EnterQualId is called when entering the qualId production. |
| 53 | EnterQualId(c *QualIdContext) |
| 54 | |
| 55 | // EnterStartType is called when entering the startType production. |
| 56 | EnterStartType(c *StartTypeContext) |
| 57 | |
| 58 | // EnterType is called when entering the type production. |
| 59 | EnterType(c *TypeContext) |
| 60 | |
| 61 | // EnterTypeId is called when entering the typeId production. |
| 62 | EnterTypeId(c *TypeIdContext) |
| 63 | |
| 64 | // EnterTypeParamList is called when entering the typeParamList production. |
| 65 | EnterTypeParamList(c *TypeParamListContext) |
| 66 | |
| 67 | // EnterStart is called when entering the start production. |
| 68 | EnterStart(c *StartContext) |
| 69 | |
| 70 | // EnterExpr is called when entering the expr production. |
| 71 | EnterExpr(c *ExprContext) |
| 72 | |
| 73 | // EnterConditionalOr is called when entering the conditionalOr production. |
| 74 | EnterConditionalOr(c *ConditionalOrContext) |
| 75 | |
| 76 | // EnterConditionalAnd is called when entering the conditionalAnd production. |
| 77 | EnterConditionalAnd(c *ConditionalAndContext) |
| 78 | |
| 79 | // EnterRelation is called when entering the relation production. |
| 80 | EnterRelation(c *RelationContext) |
| 81 | |
| 82 | // EnterCalc is called when entering the calc production. |
| 83 | EnterCalc(c *CalcContext) |
| 84 | |
| 85 | // EnterMemberExpr is called when entering the MemberExpr production. |
| 86 | EnterMemberExpr(c *MemberExprContext) |
| 87 | |
| 88 | // EnterLogicalNot is called when entering the LogicalNot production. |
| 89 | EnterLogicalNot(c *LogicalNotContext) |
| 90 | |
| 91 | // EnterNegate is called when entering the Negate production. |
| 92 | EnterNegate(c *NegateContext) |
| 93 | |
| 94 | // EnterMemberCall is called when entering the MemberCall production. |
| 95 | EnterMemberCall(c *MemberCallContext) |
| 96 | |
| 97 | // EnterSelect is called when entering the Select production. |
| 98 | EnterSelect(c *SelectContext) |
| 99 | |
| 100 | // EnterPrimaryExpr is called when entering the PrimaryExpr production. |
| 101 | EnterPrimaryExpr(c *PrimaryExprContext) |
| 102 | |
| 103 | // EnterIndex is called when entering the Index production. |
| 104 | EnterIndex(c *IndexContext) |
| 105 | |
| 106 | // EnterIdent is called when entering the Ident production. |
| 107 | EnterIdent(c *IdentContext) |
| 108 | |
| 109 | // EnterGlobalCall is called when entering the GlobalCall production. |
| 110 | EnterGlobalCall(c *GlobalCallContext) |
| 111 | |
| 112 | // EnterNested is called when entering the Nested production. |
| 113 | EnterNested(c *NestedContext) |
| 114 | |
| 115 | // EnterCreateList is called when entering the CreateList production. |
| 116 | EnterCreateList(c *CreateListContext) |
| 117 | |
| 118 | // EnterCreateStruct is called when entering the CreateStruct production. |
| 119 | EnterCreateStruct(c *CreateStructContext) |
| 120 | |
| 121 | // EnterCreateMessage is called when entering the CreateMessage production. |
| 122 | EnterCreateMessage(c *CreateMessageContext) |
| 123 | |
| 124 | // EnterConstantLiteral is called when entering the ConstantLiteral production. |
| 125 | EnterConstantLiteral(c *ConstantLiteralContext) |
| 126 | |
| 127 | // EnterExprList is called when entering the exprList production. |
| 128 | EnterExprList(c *ExprListContext) |
| 129 | |
| 130 | // EnterListInit is called when entering the listInit production. |
| 131 | EnterListInit(c *ListInitContext) |
| 132 | |
| 133 | // EnterFieldInitializerList is called when entering the fieldInitializerList production. |
| 134 | EnterFieldInitializerList(c *FieldInitializerListContext) |
| 135 | |
| 136 | // EnterOptField is called when entering the optField production. |
| 137 | EnterOptField(c *OptFieldContext) |
| 138 | |
| 139 | // EnterMapInitializerList is called when entering the mapInitializerList production. |
| 140 | EnterMapInitializerList(c *MapInitializerListContext) |
| 141 | |
| 142 | // EnterSimpleIdentifier is called when entering the SimpleIdentifier production. |
| 143 | EnterSimpleIdentifier(c *SimpleIdentifierContext) |
| 144 | |
| 145 | // EnterEscapedIdentifier is called when entering the EscapedIdentifier production. |
| 146 | EnterEscapedIdentifier(c *EscapedIdentifierContext) |
| 147 | |
| 148 | // EnterOptExpr is called when entering the optExpr production. |
| 149 | EnterOptExpr(c *OptExprContext) |
| 150 | |
| 151 | // EnterInt is called when entering the Int production. |
| 152 | EnterInt(c *IntContext) |
| 153 | |
| 154 | // EnterUint is called when entering the Uint production. |
| 155 | EnterUint(c *UintContext) |
| 156 | |
| 157 | // EnterDouble is called when entering the Double production. |
| 158 | EnterDouble(c *DoubleContext) |
| 159 | |
| 160 | // EnterString is called when entering the String production. |
| 161 | EnterString(c *StringContext) |
| 162 | |
| 163 | // EnterBytes is called when entering the Bytes production. |
| 164 | EnterBytes(c *BytesContext) |
| 165 | |
| 166 | // EnterBoolTrue is called when entering the BoolTrue production. |
| 167 | EnterBoolTrue(c *BoolTrueContext) |
| 168 | |
| 169 | // EnterBoolFalse is called when entering the BoolFalse production. |
| 170 | EnterBoolFalse(c *BoolFalseContext) |
| 171 | |
| 172 | // EnterNull is called when entering the Null production. |
| 173 | EnterNull(c *NullContext) |
| 174 | |
| 175 | // ExitStartCommand is called when exiting the startCommand production. |
| 176 | ExitStartCommand(c *StartCommandContext) |
| 177 | |
| 178 | // ExitCommand is called when exiting the command production. |
| 179 | ExitCommand(c *CommandContext) |
| 180 | |
| 181 | // ExitHelp is called when exiting the help production. |
| 182 | ExitHelp(c *HelpContext) |
| 183 | |
| 184 | // ExitLet is called when exiting the let production. |
| 185 | ExitLet(c *LetContext) |
| 186 | |
| 187 | // ExitDeclare is called when exiting the declare production. |
| 188 | ExitDeclare(c *DeclareContext) |
| 189 | |
| 190 | // ExitVarDecl is called when exiting the varDecl production. |
| 191 | ExitVarDecl(c *VarDeclContext) |
| 192 | |
| 193 | // ExitFnDecl is called when exiting the fnDecl production. |
| 194 | ExitFnDecl(c *FnDeclContext) |
| 195 | |
| 196 | // ExitParam is called when exiting the param production. |
| 197 | ExitParam(c *ParamContext) |
| 198 | |
| 199 | // ExitDelete is called when exiting the delete production. |
| 200 | ExitDelete(c *DeleteContext) |
| 201 | |
| 202 | // ExitSimple is called when exiting the simple production. |
| 203 | ExitSimple(c *SimpleContext) |
| 204 | |
| 205 | // ExitEmpty is called when exiting the empty production. |
| 206 | ExitEmpty(c *EmptyContext) |
| 207 | |
| 208 | // ExitCompile is called when exiting the compile production. |
| 209 | ExitCompile(c *CompileContext) |
| 210 | |
| 211 | // ExitParse is called when exiting the parse production. |
| 212 | ExitParse(c *ParseContext) |
| 213 | |
| 214 | // ExitExprCmd is called when exiting the exprCmd production. |
| 215 | ExitExprCmd(c *ExprCmdContext) |
| 216 | |
| 217 | // ExitQualId is called when exiting the qualId production. |
| 218 | ExitQualId(c *QualIdContext) |
| 219 | |
| 220 | // ExitStartType is called when exiting the startType production. |
| 221 | ExitStartType(c *StartTypeContext) |
| 222 | |
| 223 | // ExitType is called when exiting the type production. |
| 224 | ExitType(c *TypeContext) |
| 225 | |
| 226 | // ExitTypeId is called when exiting the typeId production. |
| 227 | ExitTypeId(c *TypeIdContext) |
| 228 | |
| 229 | // ExitTypeParamList is called when exiting the typeParamList production. |
| 230 | ExitTypeParamList(c *TypeParamListContext) |
| 231 | |
| 232 | // ExitStart is called when exiting the start production. |
| 233 | ExitStart(c *StartContext) |
| 234 | |
| 235 | // ExitExpr is called when exiting the expr production. |
| 236 | ExitExpr(c *ExprContext) |
| 237 | |
| 238 | // ExitConditionalOr is called when exiting the conditionalOr production. |
| 239 | ExitConditionalOr(c *ConditionalOrContext) |
| 240 | |
| 241 | // ExitConditionalAnd is called when exiting the conditionalAnd production. |
| 242 | ExitConditionalAnd(c *ConditionalAndContext) |
| 243 | |
| 244 | // ExitRelation is called when exiting the relation production. |
| 245 | ExitRelation(c *RelationContext) |
| 246 | |
| 247 | // ExitCalc is called when exiting the calc production. |
| 248 | ExitCalc(c *CalcContext) |
| 249 | |
| 250 | // ExitMemberExpr is called when exiting the MemberExpr production. |
| 251 | ExitMemberExpr(c *MemberExprContext) |
| 252 | |
| 253 | // ExitLogicalNot is called when exiting the LogicalNot production. |
| 254 | ExitLogicalNot(c *LogicalNotContext) |
| 255 | |
| 256 | // ExitNegate is called when exiting the Negate production. |
| 257 | ExitNegate(c *NegateContext) |
| 258 | |
| 259 | // ExitMemberCall is called when exiting the MemberCall production. |
| 260 | ExitMemberCall(c *MemberCallContext) |
| 261 | |
| 262 | // ExitSelect is called when exiting the Select production. |
| 263 | ExitSelect(c *SelectContext) |
| 264 | |
| 265 | // ExitPrimaryExpr is called when exiting the PrimaryExpr production. |
| 266 | ExitPrimaryExpr(c *PrimaryExprContext) |
| 267 | |
| 268 | // ExitIndex is called when exiting the Index production. |
| 269 | ExitIndex(c *IndexContext) |
| 270 | |
| 271 | // ExitIdent is called when exiting the Ident production. |
| 272 | ExitIdent(c *IdentContext) |
| 273 | |
| 274 | // ExitGlobalCall is called when exiting the GlobalCall production. |
| 275 | ExitGlobalCall(c *GlobalCallContext) |
| 276 | |
| 277 | // ExitNested is called when exiting the Nested production. |
| 278 | ExitNested(c *NestedContext) |
| 279 | |
| 280 | // ExitCreateList is called when exiting the CreateList production. |
| 281 | ExitCreateList(c *CreateListContext) |
| 282 | |
| 283 | // ExitCreateStruct is called when exiting the CreateStruct production. |
| 284 | ExitCreateStruct(c *CreateStructContext) |
| 285 | |
| 286 | // ExitCreateMessage is called when exiting the CreateMessage production. |
| 287 | ExitCreateMessage(c *CreateMessageContext) |
| 288 | |
| 289 | // ExitConstantLiteral is called when exiting the ConstantLiteral production. |
| 290 | ExitConstantLiteral(c *ConstantLiteralContext) |
| 291 | |
| 292 | // ExitExprList is called when exiting the exprList production. |
| 293 | ExitExprList(c *ExprListContext) |
| 294 | |
| 295 | // ExitListInit is called when exiting the listInit production. |
| 296 | ExitListInit(c *ListInitContext) |
| 297 | |
| 298 | // ExitFieldInitializerList is called when exiting the fieldInitializerList production. |
| 299 | ExitFieldInitializerList(c *FieldInitializerListContext) |
| 300 | |
| 301 | // ExitOptField is called when exiting the optField production. |
| 302 | ExitOptField(c *OptFieldContext) |
| 303 | |
| 304 | // ExitMapInitializerList is called when exiting the mapInitializerList production. |
| 305 | ExitMapInitializerList(c *MapInitializerListContext) |
| 306 | |
| 307 | // ExitSimpleIdentifier is called when exiting the SimpleIdentifier production. |
| 308 | ExitSimpleIdentifier(c *SimpleIdentifierContext) |
| 309 | |
| 310 | // ExitEscapedIdentifier is called when exiting the EscapedIdentifier production. |
| 311 | ExitEscapedIdentifier(c *EscapedIdentifierContext) |
| 312 | |
| 313 | // ExitOptExpr is called when exiting the optExpr production. |
| 314 | ExitOptExpr(c *OptExprContext) |
| 315 | |
| 316 | // ExitInt is called when exiting the Int production. |
| 317 | ExitInt(c *IntContext) |
| 318 | |
| 319 | // ExitUint is called when exiting the Uint production. |
| 320 | ExitUint(c *UintContext) |
| 321 | |
| 322 | // ExitDouble is called when exiting the Double production. |
| 323 | ExitDouble(c *DoubleContext) |
| 324 | |
| 325 | // ExitString is called when exiting the String production. |
| 326 | ExitString(c *StringContext) |
| 327 | |
| 328 | // ExitBytes is called when exiting the Bytes production. |
| 329 | ExitBytes(c *BytesContext) |
| 330 | |
| 331 | // ExitBoolTrue is called when exiting the BoolTrue production. |
| 332 | ExitBoolTrue(c *BoolTrueContext) |
| 333 | |
| 334 | // ExitBoolFalse is called when exiting the BoolFalse production. |
| 335 | ExitBoolFalse(c *BoolFalseContext) |
| 336 | |
| 337 | // ExitNull is called when exiting the Null production. |
| 338 | ExitNull(c *NullContext) |
| 339 | } |