@maniascript/parser
Version:
Maniascript parser
1,476 lines • 56.1 kB
JavaScript
import { ErrorNode, ParserRuleContext, TerminalNode } from "antlr4ng";
import { ProgramContext } from "./ManiaScriptParser.js";
import { ProgramContentContext } from "./ManiaScriptParser.js";
import { DirectivesContext } from "./ManiaScriptParser.js";
import { DirectiveContext } from "./ManiaScriptParser.js";
import { RequireContextDirectiveContext } from "./ManiaScriptParser.js";
import { ExtendsDirectiveContext } from "./ManiaScriptParser.js";
import { ExtendsPathContext } from "./ManiaScriptParser.js";
import { IncludeDirectiveContext } from "./ManiaScriptParser.js";
import { IncludePathContext } from "./ManiaScriptParser.js";
import { IncludeAliasContext } from "./ManiaScriptParser.js";
import { NamespaceDefinitionContext } from "./ManiaScriptParser.js";
import { SettingDirectiveContext } from "./ManiaScriptParser.js";
import { SettingNameContext } from "./ManiaScriptParser.js";
import { CommandDirectiveContext } from "./ManiaScriptParser.js";
import { CommandNameContext } from "./ManiaScriptParser.js";
import { StructDirectiveContext } from "./ManiaScriptParser.js";
import { StructDeclarationContext } from "./ManiaScriptParser.js";
import { StructMembersContext } from "./ManiaScriptParser.js";
import { StructMemberContext } from "./ManiaScriptParser.js";
import { StructAliasingContext } from "./ManiaScriptParser.js";
import { NamespaceNameContext } from "./ManiaScriptParser.js";
import { StructNameContext } from "./ManiaScriptParser.js";
import { ConstDirectiveContext } from "./ManiaScriptParser.js";
import { ConstDeclarationContext } from "./ManiaScriptParser.js";
import { ConstAliasingContext } from "./ManiaScriptParser.js";
import { ConstNameContext } from "./ManiaScriptParser.js";
import { DeclarationsContext } from "./ManiaScriptParser.js";
import { DeclarationContext } from "./ManiaScriptParser.js";
import { VariableDeclarationWithTypeContext } from "./ManiaScriptParser.js";
import { VariableDeclarationWithoutTypeContext } from "./ManiaScriptParser.js";
import { VariableDeclarationLetContext } from "./ManiaScriptParser.js";
import { VariableNameContext } from "./ManiaScriptParser.js";
import { InitializerContext } from "./ManiaScriptParser.js";
import { FunctionDeclarationContext } from "./ManiaScriptParser.js";
import { FunctionNameContext } from "./ManiaScriptParser.js";
import { ParametersContext } from "./ManiaScriptParser.js";
import { ParameterContext } from "./ManiaScriptParser.js";
import { LabelDeclarationContext } from "./ManiaScriptParser.js";
import { LabelNameContext } from "./ManiaScriptParser.js";
import { MainStatementContext } from "./ManiaScriptParser.js";
import { BlockContext } from "./ManiaScriptParser.js";
import { StatementsContext } from "./ManiaScriptParser.js";
import { StatementContext } from "./ManiaScriptParser.js";
import { ExpressionStatementContext } from "./ManiaScriptParser.js";
import { AssignmentStatementContext } from "./ManiaScriptParser.js";
import { ReturnStatementContext } from "./ManiaScriptParser.js";
import { LabelStatementContext } from "./ManiaScriptParser.js";
import { LabelInsertContext } from "./ManiaScriptParser.js";
import { LabelOverwriteContext } from "./ManiaScriptParser.js";
import { AssertStatementContext } from "./ManiaScriptParser.js";
import { ForeachStatementContext } from "./ManiaScriptParser.js";
import { ForStatementContext } from "./ManiaScriptParser.js";
import { WhileStatementContext } from "./ManiaScriptParser.js";
import { MeanwhileStatementContext } from "./ManiaScriptParser.js";
import { BreakStatementContext } from "./ManiaScriptParser.js";
import { ContinueStatementContext } from "./ManiaScriptParser.js";
import { SwitchStatementContext } from "./ManiaScriptParser.js";
import { SwitchClauseListContext } from "./ManiaScriptParser.js";
import { SwitchCaseContext } from "./ManiaScriptParser.js";
import { SwitchDefaultContext } from "./ManiaScriptParser.js";
import { SwitchtypeStatementContext } from "./ManiaScriptParser.js";
import { SwitchtypeClauseListContext } from "./ManiaScriptParser.js";
import { SwitchtypeCaseContext } from "./ManiaScriptParser.js";
import { SwitchtypeDefaultContext } from "./ManiaScriptParser.js";
import { ConditionalStatementContext } from "./ManiaScriptParser.js";
import { IfBranchContext } from "./ManiaScriptParser.js";
import { ElseIfBranchContext } from "./ManiaScriptParser.js";
import { ElseBranchContext } from "./ManiaScriptParser.js";
import { LogStatementContext } from "./ManiaScriptParser.js";
import { SleepStatementContext } from "./ManiaScriptParser.js";
import { TuningstartStatementContext } from "./ManiaScriptParser.js";
import { TuningendStatementContext } from "./ManiaScriptParser.js";
import { TuningmarkStatementContext } from "./ManiaScriptParser.js";
import { WaitStatementContext } from "./ManiaScriptParser.js";
import { YieldStatementContext } from "./ManiaScriptParser.js";
import { FunctionCallExpressionContext } from "./ManiaScriptParser.js";
import { UnaryMinusExpressionContext } from "./ManiaScriptParser.js";
import { NotExpressionContext } from "./ManiaScriptParser.js";
import { DumptypeExpressionContext } from "./ManiaScriptParser.js";
import { DumpExpressionContext } from "./ManiaScriptParser.js";
import { CastExpressionContext } from "./ManiaScriptParser.js";
import { StructureExpressionContext } from "./ManiaScriptParser.js";
import { ArrayExpressionContext } from "./ManiaScriptParser.js";
import { IdentifierExpressionContext } from "./ManiaScriptParser.js";
import { LiteralExpressionContext } from "./ManiaScriptParser.js";
import { VectorExpressionContext } from "./ManiaScriptParser.js";
import { TextInterpolationExpressionContext } from "./ManiaScriptParser.js";
import { ThisExpressionContext } from "./ManiaScriptParser.js";
import { NowExpressionContext } from "./ManiaScriptParser.js";
import { ParenthesisExpressionContext } from "./ManiaScriptParser.js";
import { MultiplicativeExpressionContext } from "./ManiaScriptParser.js";
import { AdditiveExpressionContext } from "./ManiaScriptParser.js";
import { ConcatenationExpressionContext } from "./ManiaScriptParser.js";
import { RelationalExpressionContext } from "./ManiaScriptParser.js";
import { EqualityExpressionContext } from "./ManiaScriptParser.js";
import { AndExpressionContext } from "./ManiaScriptParser.js";
import { OrExpressionContext } from "./ManiaScriptParser.js";
import { AsExpressionContext } from "./ManiaScriptParser.js";
import { DotAccessExpressionContext } from "./ManiaScriptParser.js";
import { IndexAccessExpressionContext } from "./ManiaScriptParser.js";
import { IsExpressionContext } from "./ManiaScriptParser.js";
import { FunctionCallContext } from "./ManiaScriptParser.js";
import { ArgumentsContext } from "./ManiaScriptParser.js";
import { ArgumentContext } from "./ManiaScriptParser.js";
import { TextInterpolationContext } from "./ManiaScriptParser.js";
import { StructureContext } from "./ManiaScriptParser.js";
import { StructureMemberInitializationListContext } from "./ManiaScriptParser.js";
import { StructureMemberInitializationContext } from "./ManiaScriptParser.js";
import { StructMemberNameContext } from "./ManiaScriptParser.js";
import { StructIdentifierContext } from "./ManiaScriptParser.js";
import { ArrayContext } from "./ManiaScriptParser.js";
import { AssociativeArrayContext } from "./ManiaScriptParser.js";
import { SimpleArrayContext } from "./ManiaScriptParser.js";
import { EmptyArrayContext } from "./ManiaScriptParser.js";
import { IdentifierContext } from "./ManiaScriptParser.js";
import { RealContext } from "./ManiaScriptParser.js";
import { IntegerContext } from "./ManiaScriptParser.js";
import { BooleanContext } from "./ManiaScriptParser.js";
import { NullContext } from "./ManiaScriptParser.js";
import { NullIdContext } from "./ManiaScriptParser.js";
import { TextContext } from "./ManiaScriptParser.js";
import { EnumContext } from "./ManiaScriptParser.js";
import { TextLiteralContext } from "./ManiaScriptParser.js";
import { TextTranslatedLiteralContext } from "./ManiaScriptParser.js";
import { TextBaseLiteralContext } from "./ManiaScriptParser.js";
import { TextSingleQuoteLiteralContext } from "./ManiaScriptParser.js";
import { TextTripleQuoteLiteralContext } from "./ManiaScriptParser.js";
import { EnumLiteralContext } from "./ManiaScriptParser.js";
import { VectorContext } from "./ManiaScriptParser.js";
import { ParenthesisContext } from "./ManiaScriptParser.js";
import { TypeContext } from "./ManiaScriptParser.js";
import { InitializerTypeContext } from "./ManiaScriptParser.js";
import { BaseTypeContext } from "./ManiaScriptParser.js";
import { SimpleTypeContext } from "./ManiaScriptParser.js";
import { EnumTypeContext } from "./ManiaScriptParser.js";
import { CustomTypeContext } from "./ManiaScriptParser.js";
import { ArrayTypeContext } from "./ManiaScriptParser.js";
import { ArrayTypeDimensionContext } from "./ManiaScriptParser.js";
import { AssignmentOperatorContext } from "./ManiaScriptParser.js";
import { StorageSpecifierContext } from "./ManiaScriptParser.js";
import { IdentifierAliasContext } from "./ManiaScriptParser.js";
import { TextAliasContext } from "./ManiaScriptParser.js";
import { ClassNameContext } from "./ManiaScriptParser.js";
import { ObjectMemberNameContext } from "./ManiaScriptParser.js";
import { EnumNameContext } from "./ManiaScriptParser.js";
import { EnumValueContext } from "./ManiaScriptParser.js";
/**
* This interface defines a complete listener for a parse tree produced by
* `ManiaScriptParser`.
*/
export class ManiaScriptParserListener {
/**
* Enter a parse tree produced by `ManiaScriptParser.program`.
* @param ctx the parse tree
*/
enterProgram;
/**
* Exit a parse tree produced by `ManiaScriptParser.program`.
* @param ctx the parse tree
*/
exitProgram;
/**
* Enter a parse tree produced by `ManiaScriptParser.programContent`.
* @param ctx the parse tree
*/
enterProgramContent;
/**
* Exit a parse tree produced by `ManiaScriptParser.programContent`.
* @param ctx the parse tree
*/
exitProgramContent;
/**
* Enter a parse tree produced by `ManiaScriptParser.directives`.
* @param ctx the parse tree
*/
enterDirectives;
/**
* Exit a parse tree produced by `ManiaScriptParser.directives`.
* @param ctx the parse tree
*/
exitDirectives;
/**
* Enter a parse tree produced by `ManiaScriptParser.directive`.
* @param ctx the parse tree
*/
enterDirective;
/**
* Exit a parse tree produced by `ManiaScriptParser.directive`.
* @param ctx the parse tree
*/
exitDirective;
/**
* Enter a parse tree produced by `ManiaScriptParser.requireContextDirective`.
* @param ctx the parse tree
*/
enterRequireContextDirective;
/**
* Exit a parse tree produced by `ManiaScriptParser.requireContextDirective`.
* @param ctx the parse tree
*/
exitRequireContextDirective;
/**
* Enter a parse tree produced by `ManiaScriptParser.extendsDirective`.
* @param ctx the parse tree
*/
enterExtendsDirective;
/**
* Exit a parse tree produced by `ManiaScriptParser.extendsDirective`.
* @param ctx the parse tree
*/
exitExtendsDirective;
/**
* Enter a parse tree produced by `ManiaScriptParser.extendsPath`.
* @param ctx the parse tree
*/
enterExtendsPath;
/**
* Exit a parse tree produced by `ManiaScriptParser.extendsPath`.
* @param ctx the parse tree
*/
exitExtendsPath;
/**
* Enter a parse tree produced by `ManiaScriptParser.includeDirective`.
* @param ctx the parse tree
*/
enterIncludeDirective;
/**
* Exit a parse tree produced by `ManiaScriptParser.includeDirective`.
* @param ctx the parse tree
*/
exitIncludeDirective;
/**
* Enter a parse tree produced by `ManiaScriptParser.includePath`.
* @param ctx the parse tree
*/
enterIncludePath;
/**
* Exit a parse tree produced by `ManiaScriptParser.includePath`.
* @param ctx the parse tree
*/
exitIncludePath;
/**
* Enter a parse tree produced by `ManiaScriptParser.includeAlias`.
* @param ctx the parse tree
*/
enterIncludeAlias;
/**
* Exit a parse tree produced by `ManiaScriptParser.includeAlias`.
* @param ctx the parse tree
*/
exitIncludeAlias;
/**
* Enter a parse tree produced by `ManiaScriptParser.namespaceDefinition`.
* @param ctx the parse tree
*/
enterNamespaceDefinition;
/**
* Exit a parse tree produced by `ManiaScriptParser.namespaceDefinition`.
* @param ctx the parse tree
*/
exitNamespaceDefinition;
/**
* Enter a parse tree produced by `ManiaScriptParser.settingDirective`.
* @param ctx the parse tree
*/
enterSettingDirective;
/**
* Exit a parse tree produced by `ManiaScriptParser.settingDirective`.
* @param ctx the parse tree
*/
exitSettingDirective;
/**
* Enter a parse tree produced by `ManiaScriptParser.settingName`.
* @param ctx the parse tree
*/
enterSettingName;
/**
* Exit a parse tree produced by `ManiaScriptParser.settingName`.
* @param ctx the parse tree
*/
exitSettingName;
/**
* Enter a parse tree produced by `ManiaScriptParser.commandDirective`.
* @param ctx the parse tree
*/
enterCommandDirective;
/**
* Exit a parse tree produced by `ManiaScriptParser.commandDirective`.
* @param ctx the parse tree
*/
exitCommandDirective;
/**
* Enter a parse tree produced by `ManiaScriptParser.commandName`.
* @param ctx the parse tree
*/
enterCommandName;
/**
* Exit a parse tree produced by `ManiaScriptParser.commandName`.
* @param ctx the parse tree
*/
exitCommandName;
/**
* Enter a parse tree produced by `ManiaScriptParser.structDirective`.
* @param ctx the parse tree
*/
enterStructDirective;
/**
* Exit a parse tree produced by `ManiaScriptParser.structDirective`.
* @param ctx the parse tree
*/
exitStructDirective;
/**
* Enter a parse tree produced by `ManiaScriptParser.structDeclaration`.
* @param ctx the parse tree
*/
enterStructDeclaration;
/**
* Exit a parse tree produced by `ManiaScriptParser.structDeclaration`.
* @param ctx the parse tree
*/
exitStructDeclaration;
/**
* Enter a parse tree produced by `ManiaScriptParser.structMembers`.
* @param ctx the parse tree
*/
enterStructMembers;
/**
* Exit a parse tree produced by `ManiaScriptParser.structMembers`.
* @param ctx the parse tree
*/
exitStructMembers;
/**
* Enter a parse tree produced by `ManiaScriptParser.structMember`.
* @param ctx the parse tree
*/
enterStructMember;
/**
* Exit a parse tree produced by `ManiaScriptParser.structMember`.
* @param ctx the parse tree
*/
exitStructMember;
/**
* Enter a parse tree produced by `ManiaScriptParser.structAliasing`.
* @param ctx the parse tree
*/
enterStructAliasing;
/**
* Exit a parse tree produced by `ManiaScriptParser.structAliasing`.
* @param ctx the parse tree
*/
exitStructAliasing;
/**
* Enter a parse tree produced by `ManiaScriptParser.namespaceName`.
* @param ctx the parse tree
*/
enterNamespaceName;
/**
* Exit a parse tree produced by `ManiaScriptParser.namespaceName`.
* @param ctx the parse tree
*/
exitNamespaceName;
/**
* Enter a parse tree produced by `ManiaScriptParser.structName`.
* @param ctx the parse tree
*/
enterStructName;
/**
* Exit a parse tree produced by `ManiaScriptParser.structName`.
* @param ctx the parse tree
*/
exitStructName;
/**
* Enter a parse tree produced by `ManiaScriptParser.constDirective`.
* @param ctx the parse tree
*/
enterConstDirective;
/**
* Exit a parse tree produced by `ManiaScriptParser.constDirective`.
* @param ctx the parse tree
*/
exitConstDirective;
/**
* Enter a parse tree produced by `ManiaScriptParser.constDeclaration`.
* @param ctx the parse tree
*/
enterConstDeclaration;
/**
* Exit a parse tree produced by `ManiaScriptParser.constDeclaration`.
* @param ctx the parse tree
*/
exitConstDeclaration;
/**
* Enter a parse tree produced by `ManiaScriptParser.constAliasing`.
* @param ctx the parse tree
*/
enterConstAliasing;
/**
* Exit a parse tree produced by `ManiaScriptParser.constAliasing`.
* @param ctx the parse tree
*/
exitConstAliasing;
/**
* Enter a parse tree produced by `ManiaScriptParser.constName`.
* @param ctx the parse tree
*/
enterConstName;
/**
* Exit a parse tree produced by `ManiaScriptParser.constName`.
* @param ctx the parse tree
*/
exitConstName;
/**
* Enter a parse tree produced by `ManiaScriptParser.declarations`.
* @param ctx the parse tree
*/
enterDeclarations;
/**
* Exit a parse tree produced by `ManiaScriptParser.declarations`.
* @param ctx the parse tree
*/
exitDeclarations;
/**
* Enter a parse tree produced by `ManiaScriptParser.declaration`.
* @param ctx the parse tree
*/
enterDeclaration;
/**
* Exit a parse tree produced by `ManiaScriptParser.declaration`.
* @param ctx the parse tree
*/
exitDeclaration;
/**
* Enter a parse tree produced by the `variableDeclarationWithType`
* labeled alternative in `ManiaScriptParser.variableDeclaration`.
* @param ctx the parse tree
*/
enterVariableDeclarationWithType;
/**
* Exit a parse tree produced by the `variableDeclarationWithType`
* labeled alternative in `ManiaScriptParser.variableDeclaration`.
* @param ctx the parse tree
*/
exitVariableDeclarationWithType;
/**
* Enter a parse tree produced by the `variableDeclarationWithoutType`
* labeled alternative in `ManiaScriptParser.variableDeclaration`.
* @param ctx the parse tree
*/
enterVariableDeclarationWithoutType;
/**
* Exit a parse tree produced by the `variableDeclarationWithoutType`
* labeled alternative in `ManiaScriptParser.variableDeclaration`.
* @param ctx the parse tree
*/
exitVariableDeclarationWithoutType;
/**
* Enter a parse tree produced by the `variableDeclarationLet`
* labeled alternative in `ManiaScriptParser.variableDeclaration`.
* @param ctx the parse tree
*/
enterVariableDeclarationLet;
/**
* Exit a parse tree produced by the `variableDeclarationLet`
* labeled alternative in `ManiaScriptParser.variableDeclaration`.
* @param ctx the parse tree
*/
exitVariableDeclarationLet;
/**
* Enter a parse tree produced by `ManiaScriptParser.variableName`.
* @param ctx the parse tree
*/
enterVariableName;
/**
* Exit a parse tree produced by `ManiaScriptParser.variableName`.
* @param ctx the parse tree
*/
exitVariableName;
/**
* Enter a parse tree produced by `ManiaScriptParser.initializer`.
* @param ctx the parse tree
*/
enterInitializer;
/**
* Exit a parse tree produced by `ManiaScriptParser.initializer`.
* @param ctx the parse tree
*/
exitInitializer;
/**
* Enter a parse tree produced by `ManiaScriptParser.functionDeclaration`.
* @param ctx the parse tree
*/
enterFunctionDeclaration;
/**
* Exit a parse tree produced by `ManiaScriptParser.functionDeclaration`.
* @param ctx the parse tree
*/
exitFunctionDeclaration;
/**
* Enter a parse tree produced by `ManiaScriptParser.functionName`.
* @param ctx the parse tree
*/
enterFunctionName;
/**
* Exit a parse tree produced by `ManiaScriptParser.functionName`.
* @param ctx the parse tree
*/
exitFunctionName;
/**
* Enter a parse tree produced by `ManiaScriptParser.parameters`.
* @param ctx the parse tree
*/
enterParameters;
/**
* Exit a parse tree produced by `ManiaScriptParser.parameters`.
* @param ctx the parse tree
*/
exitParameters;
/**
* Enter a parse tree produced by `ManiaScriptParser.parameter`.
* @param ctx the parse tree
*/
enterParameter;
/**
* Exit a parse tree produced by `ManiaScriptParser.parameter`.
* @param ctx the parse tree
*/
exitParameter;
/**
* Enter a parse tree produced by `ManiaScriptParser.labelDeclaration`.
* @param ctx the parse tree
*/
enterLabelDeclaration;
/**
* Exit a parse tree produced by `ManiaScriptParser.labelDeclaration`.
* @param ctx the parse tree
*/
exitLabelDeclaration;
/**
* Enter a parse tree produced by `ManiaScriptParser.labelName`.
* @param ctx the parse tree
*/
enterLabelName;
/**
* Exit a parse tree produced by `ManiaScriptParser.labelName`.
* @param ctx the parse tree
*/
exitLabelName;
/**
* Enter a parse tree produced by `ManiaScriptParser.mainStatement`.
* @param ctx the parse tree
*/
enterMainStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.mainStatement`.
* @param ctx the parse tree
*/
exitMainStatement;
/**
* Enter a parse tree produced by `ManiaScriptParser.block`.
* @param ctx the parse tree
*/
enterBlock;
/**
* Exit a parse tree produced by `ManiaScriptParser.block`.
* @param ctx the parse tree
*/
exitBlock;
/**
* Enter a parse tree produced by `ManiaScriptParser.statements`.
* @param ctx the parse tree
*/
enterStatements;
/**
* Exit a parse tree produced by `ManiaScriptParser.statements`.
* @param ctx the parse tree
*/
exitStatements;
/**
* Enter a parse tree produced by `ManiaScriptParser.statement`.
* @param ctx the parse tree
*/
enterStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.statement`.
* @param ctx the parse tree
*/
exitStatement;
/**
* Enter a parse tree produced by `ManiaScriptParser.expressionStatement`.
* @param ctx the parse tree
*/
enterExpressionStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.expressionStatement`.
* @param ctx the parse tree
*/
exitExpressionStatement;
/**
* Enter a parse tree produced by `ManiaScriptParser.assignmentStatement`.
* @param ctx the parse tree
*/
enterAssignmentStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.assignmentStatement`.
* @param ctx the parse tree
*/
exitAssignmentStatement;
/**
* Enter a parse tree produced by `ManiaScriptParser.returnStatement`.
* @param ctx the parse tree
*/
enterReturnStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.returnStatement`.
* @param ctx the parse tree
*/
exitReturnStatement;
/**
* Enter a parse tree produced by `ManiaScriptParser.labelStatement`.
* @param ctx the parse tree
*/
enterLabelStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.labelStatement`.
* @param ctx the parse tree
*/
exitLabelStatement;
/**
* Enter a parse tree produced by `ManiaScriptParser.labelInsert`.
* @param ctx the parse tree
*/
enterLabelInsert;
/**
* Exit a parse tree produced by `ManiaScriptParser.labelInsert`.
* @param ctx the parse tree
*/
exitLabelInsert;
/**
* Enter a parse tree produced by `ManiaScriptParser.labelOverwrite`.
* @param ctx the parse tree
*/
enterLabelOverwrite;
/**
* Exit a parse tree produced by `ManiaScriptParser.labelOverwrite`.
* @param ctx the parse tree
*/
exitLabelOverwrite;
/**
* Enter a parse tree produced by `ManiaScriptParser.assertStatement`.
* @param ctx the parse tree
*/
enterAssertStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.assertStatement`.
* @param ctx the parse tree
*/
exitAssertStatement;
/**
* Enter a parse tree produced by `ManiaScriptParser.foreachStatement`.
* @param ctx the parse tree
*/
enterForeachStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.foreachStatement`.
* @param ctx the parse tree
*/
exitForeachStatement;
/**
* Enter a parse tree produced by `ManiaScriptParser.forStatement`.
* @param ctx the parse tree
*/
enterForStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.forStatement`.
* @param ctx the parse tree
*/
exitForStatement;
/**
* Enter a parse tree produced by `ManiaScriptParser.whileStatement`.
* @param ctx the parse tree
*/
enterWhileStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.whileStatement`.
* @param ctx the parse tree
*/
exitWhileStatement;
/**
* Enter a parse tree produced by `ManiaScriptParser.meanwhileStatement`.
* @param ctx the parse tree
*/
enterMeanwhileStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.meanwhileStatement`.
* @param ctx the parse tree
*/
exitMeanwhileStatement;
/**
* Enter a parse tree produced by `ManiaScriptParser.breakStatement`.
* @param ctx the parse tree
*/
enterBreakStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.breakStatement`.
* @param ctx the parse tree
*/
exitBreakStatement;
/**
* Enter a parse tree produced by `ManiaScriptParser.continueStatement`.
* @param ctx the parse tree
*/
enterContinueStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.continueStatement`.
* @param ctx the parse tree
*/
exitContinueStatement;
/**
* Enter a parse tree produced by `ManiaScriptParser.switchStatement`.
* @param ctx the parse tree
*/
enterSwitchStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.switchStatement`.
* @param ctx the parse tree
*/
exitSwitchStatement;
/**
* Enter a parse tree produced by `ManiaScriptParser.switchClauseList`.
* @param ctx the parse tree
*/
enterSwitchClauseList;
/**
* Exit a parse tree produced by `ManiaScriptParser.switchClauseList`.
* @param ctx the parse tree
*/
exitSwitchClauseList;
/**
* Enter a parse tree produced by `ManiaScriptParser.switchCase`.
* @param ctx the parse tree
*/
enterSwitchCase;
/**
* Exit a parse tree produced by `ManiaScriptParser.switchCase`.
* @param ctx the parse tree
*/
exitSwitchCase;
/**
* Enter a parse tree produced by `ManiaScriptParser.switchDefault`.
* @param ctx the parse tree
*/
enterSwitchDefault;
/**
* Exit a parse tree produced by `ManiaScriptParser.switchDefault`.
* @param ctx the parse tree
*/
exitSwitchDefault;
/**
* Enter a parse tree produced by `ManiaScriptParser.switchtypeStatement`.
* @param ctx the parse tree
*/
enterSwitchtypeStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.switchtypeStatement`.
* @param ctx the parse tree
*/
exitSwitchtypeStatement;
/**
* Enter a parse tree produced by `ManiaScriptParser.switchtypeClauseList`.
* @param ctx the parse tree
*/
enterSwitchtypeClauseList;
/**
* Exit a parse tree produced by `ManiaScriptParser.switchtypeClauseList`.
* @param ctx the parse tree
*/
exitSwitchtypeClauseList;
/**
* Enter a parse tree produced by `ManiaScriptParser.switchtypeCase`.
* @param ctx the parse tree
*/
enterSwitchtypeCase;
/**
* Exit a parse tree produced by `ManiaScriptParser.switchtypeCase`.
* @param ctx the parse tree
*/
exitSwitchtypeCase;
/**
* Enter a parse tree produced by `ManiaScriptParser.switchtypeDefault`.
* @param ctx the parse tree
*/
enterSwitchtypeDefault;
/**
* Exit a parse tree produced by `ManiaScriptParser.switchtypeDefault`.
* @param ctx the parse tree
*/
exitSwitchtypeDefault;
/**
* Enter a parse tree produced by `ManiaScriptParser.conditionalStatement`.
* @param ctx the parse tree
*/
enterConditionalStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.conditionalStatement`.
* @param ctx the parse tree
*/
exitConditionalStatement;
/**
* Enter a parse tree produced by `ManiaScriptParser.ifBranch`.
* @param ctx the parse tree
*/
enterIfBranch;
/**
* Exit a parse tree produced by `ManiaScriptParser.ifBranch`.
* @param ctx the parse tree
*/
exitIfBranch;
/**
* Enter a parse tree produced by `ManiaScriptParser.elseIfBranch`.
* @param ctx the parse tree
*/
enterElseIfBranch;
/**
* Exit a parse tree produced by `ManiaScriptParser.elseIfBranch`.
* @param ctx the parse tree
*/
exitElseIfBranch;
/**
* Enter a parse tree produced by `ManiaScriptParser.elseBranch`.
* @param ctx the parse tree
*/
enterElseBranch;
/**
* Exit a parse tree produced by `ManiaScriptParser.elseBranch`.
* @param ctx the parse tree
*/
exitElseBranch;
/**
* Enter a parse tree produced by `ManiaScriptParser.logStatement`.
* @param ctx the parse tree
*/
enterLogStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.logStatement`.
* @param ctx the parse tree
*/
exitLogStatement;
/**
* Enter a parse tree produced by `ManiaScriptParser.sleepStatement`.
* @param ctx the parse tree
*/
enterSleepStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.sleepStatement`.
* @param ctx the parse tree
*/
exitSleepStatement;
/**
* Enter a parse tree produced by `ManiaScriptParser.tuningstartStatement`.
* @param ctx the parse tree
*/
enterTuningstartStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.tuningstartStatement`.
* @param ctx the parse tree
*/
exitTuningstartStatement;
/**
* Enter a parse tree produced by `ManiaScriptParser.tuningendStatement`.
* @param ctx the parse tree
*/
enterTuningendStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.tuningendStatement`.
* @param ctx the parse tree
*/
exitTuningendStatement;
/**
* Enter a parse tree produced by `ManiaScriptParser.tuningmarkStatement`.
* @param ctx the parse tree
*/
enterTuningmarkStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.tuningmarkStatement`.
* @param ctx the parse tree
*/
exitTuningmarkStatement;
/**
* Enter a parse tree produced by `ManiaScriptParser.waitStatement`.
* @param ctx the parse tree
*/
enterWaitStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.waitStatement`.
* @param ctx the parse tree
*/
exitWaitStatement;
/**
* Enter a parse tree produced by `ManiaScriptParser.yieldStatement`.
* @param ctx the parse tree
*/
enterYieldStatement;
/**
* Exit a parse tree produced by `ManiaScriptParser.yieldStatement`.
* @param ctx the parse tree
*/
exitYieldStatement;
/**
* Enter a parse tree produced by the `functionCallExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterFunctionCallExpression;
/**
* Exit a parse tree produced by the `functionCallExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitFunctionCallExpression;
/**
* Enter a parse tree produced by the `unaryMinusExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterUnaryMinusExpression;
/**
* Exit a parse tree produced by the `unaryMinusExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitUnaryMinusExpression;
/**
* Enter a parse tree produced by the `notExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterNotExpression;
/**
* Exit a parse tree produced by the `notExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitNotExpression;
/**
* Enter a parse tree produced by the `dumptypeExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterDumptypeExpression;
/**
* Exit a parse tree produced by the `dumptypeExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitDumptypeExpression;
/**
* Enter a parse tree produced by the `dumpExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterDumpExpression;
/**
* Exit a parse tree produced by the `dumpExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitDumpExpression;
/**
* Enter a parse tree produced by the `castExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterCastExpression;
/**
* Exit a parse tree produced by the `castExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitCastExpression;
/**
* Enter a parse tree produced by the `structureExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterStructureExpression;
/**
* Exit a parse tree produced by the `structureExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitStructureExpression;
/**
* Enter a parse tree produced by the `arrayExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterArrayExpression;
/**
* Exit a parse tree produced by the `arrayExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitArrayExpression;
/**
* Enter a parse tree produced by the `identifierExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterIdentifierExpression;
/**
* Exit a parse tree produced by the `identifierExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitIdentifierExpression;
/**
* Enter a parse tree produced by the `literalExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterLiteralExpression;
/**
* Exit a parse tree produced by the `literalExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitLiteralExpression;
/**
* Enter a parse tree produced by the `vectorExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterVectorExpression;
/**
* Exit a parse tree produced by the `vectorExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitVectorExpression;
/**
* Enter a parse tree produced by the `textInterpolationExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterTextInterpolationExpression;
/**
* Exit a parse tree produced by the `textInterpolationExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitTextInterpolationExpression;
/**
* Enter a parse tree produced by the `thisExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterThisExpression;
/**
* Exit a parse tree produced by the `thisExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitThisExpression;
/**
* Enter a parse tree produced by the `nowExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterNowExpression;
/**
* Exit a parse tree produced by the `nowExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitNowExpression;
/**
* Enter a parse tree produced by the `parenthesisExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterParenthesisExpression;
/**
* Exit a parse tree produced by the `parenthesisExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitParenthesisExpression;
/**
* Enter a parse tree produced by the `multiplicativeExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterMultiplicativeExpression;
/**
* Exit a parse tree produced by the `multiplicativeExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitMultiplicativeExpression;
/**
* Enter a parse tree produced by the `additiveExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterAdditiveExpression;
/**
* Exit a parse tree produced by the `additiveExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitAdditiveExpression;
/**
* Enter a parse tree produced by the `concatenationExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterConcatenationExpression;
/**
* Exit a parse tree produced by the `concatenationExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitConcatenationExpression;
/**
* Enter a parse tree produced by the `relationalExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterRelationalExpression;
/**
* Exit a parse tree produced by the `relationalExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitRelationalExpression;
/**
* Enter a parse tree produced by the `equalityExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterEqualityExpression;
/**
* Exit a parse tree produced by the `equalityExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitEqualityExpression;
/**
* Enter a parse tree produced by the `andExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterAndExpression;
/**
* Exit a parse tree produced by the `andExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitAndExpression;
/**
* Enter a parse tree produced by the `orExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterOrExpression;
/**
* Exit a parse tree produced by the `orExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitOrExpression;
/**
* Enter a parse tree produced by the `asExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterAsExpression;
/**
* Exit a parse tree produced by the `asExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitAsExpression;
/**
* Enter a parse tree produced by the `dotAccessExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterDotAccessExpression;
/**
* Exit a parse tree produced by the `dotAccessExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitDotAccessExpression;
/**
* Enter a parse tree produced by the `indexAccessExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterIndexAccessExpression;
/**
* Exit a parse tree produced by the `indexAccessExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitIndexAccessExpression;
/**
* Enter a parse tree produced by the `isExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
enterIsExpression;
/**
* Exit a parse tree produced by the `isExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
*/
exitIsExpression;
/**
* Enter a parse tree produced by `ManiaScriptParser.functionCall`.
* @param ctx the parse tree
*/
enterFunctionCall;
/**
* Exit a parse tree produced by `ManiaScriptParser.functionCall`.
* @param ctx the parse tree
*/
exitFunctionCall;
/**
* Enter a parse tree produced by `ManiaScriptParser.arguments`.
* @param ctx the parse tree
*/
enterArguments;
/**
* Exit a parse tree produced by `ManiaScriptParser.arguments`.
* @param ctx the parse tree
*/
exitArguments;
/**
* Enter a parse tree produced by `ManiaScriptParser.argument`.
* @param ctx the parse tree
*/
enterArgument;
/**
* Exit a parse tree produced by `ManiaScriptParser.argument`.
* @param ctx the parse tree
*/
exitArgument;
/**
* Enter a parse tree produced by `ManiaScriptParser.textInterpolation`.
* @param ctx the parse tree
*/
enterTextInterpolation;
/**
* Exit a parse tree produced by `ManiaScriptParser.textInterpolation`.
* @param ctx the parse tree
*/
exitTextInterpolation;
/**
* Enter a parse tree produced by `ManiaScriptParser.structure`.
* @param ctx the parse tree
*/
enterStructure;
/**
* Exit a parse tree produced by `ManiaScriptParser.structure`.
* @param ctx the parse tree
*/
exitStructure;
/**
* Enter a parse tree produced by `ManiaScriptParser.structureMemberInitializationList`.
* @param ctx the parse tree
*/
enterStructureMemberInitializationList;
/**
* Exit a parse tree produced by `ManiaScriptParser.structureMemberInitializationList`.
* @param ctx the parse tree
*/
exitStructureMemberInitializationList;
/**
* Enter a parse tree produced by `ManiaScriptParser.structureMemberInitialization`.
* @param ctx the parse tree
*/
enterStructureMemberInitialization;
/**
* Exit a parse tree produced by `ManiaScriptParser.structureMemberInitialization`.
* @param ctx the parse tree
*/
exitStructureMemberInitialization;
/**
* Enter a parse tree produced by `ManiaScriptParser.structMemberName`.
* @param ctx the parse tree
*/
enterStructMemberName;
/**
* Exit a parse tree produced by `ManiaScriptParser.structMemberName`.
* @param ctx the parse tree
*/
exitStructMemberName;
/**
* Enter a parse tree produced by `ManiaScriptParser.structIdentifier`.
* @param ctx the parse tree
*/
enterStructIdentifier;
/**
* Exit a parse tree produced by `ManiaScriptParser.structIdentifier`.
* @param ctx the parse tree
*/
exitStructIdentifier;
/**
* Enter a parse tree produced by `ManiaScriptParser.array`.
* @param ctx the parse tree
*/
enterArray;
/**
* Exit a parse tree produced by `ManiaScriptParser.array`.
* @param ctx the parse tree
*/
exitArray;
/**
* Enter a parse tree produced by `ManiaScriptParser.associativeArray`.
* @param ctx the parse tree
*/
enterAssociativeArray;
/**
* Exit a parse tree produced by `ManiaScriptParser.associativeArray`.
* @param ctx the parse tree
*/
exitAssociativeArray;
/**
* Enter a parse tree produced by `ManiaScriptParser.simpleArray`.
* @param ctx the parse tree
*/
enterSimpleArray;
/**
* Exit a parse tree produced by `ManiaScriptParser.simpleArray`.
* @param ctx the parse tree
*/
exitSimpleArray;
/**
* Enter a parse tree produced by `ManiaScriptParser.emptyArray`.
* @param ctx the parse tree
*/
enterEmptyArray;
/**
* Exit a parse tree produced by `ManiaScriptParser.emptyArray`.
* @param ctx the parse tree
*/
exitEmptyArray;
/**
* Enter a parse tree produced by `ManiaScriptParser.identifier`.
* @param ctx the parse tree
*/
enterIdentifier;
/**
* Exit a parse tree produced by `ManiaScriptParser.identifier`.
* @param ctx the parse tree
*/
exitIdentifier;
/**
* Enter a parse tree produced by the `real`
* labeled alternative in `ManiaScriptParser.literal`.
* @param ctx the parse tree
*/
enterReal;
/**
* Exit a parse tree produced by the `real`
* labeled alternative in `ManiaScriptParser.literal`.
* @param ctx the parse tree
*/
exitReal;
/**
* Enter a parse tree produced by the `integer`
* labeled alternative in `ManiaScriptParser.literal`.
* @param ctx the parse tree
*/
enterInteger;
/**
* Exit a parse tree produced by the `integer`
* labeled alternative in `ManiaScriptParser.literal`.
* @param ctx the parse tree
*/
exitInteger;
/**
* Enter a parse tree produced by the `boolean`
* labeled alternative in `ManiaScriptParser.literal`.
* @param ctx the parse tree
*/
enterBoolean;
/**
* Exit a parse tree produced by the `boolean`
* labeled alternative in `ManiaScriptParser.literal`.
* @param ctx the parse tree
*/
exitBoolean;
/**
* Enter a parse tree produced by the `null`
* labeled alternative in `ManiaScriptParser.literal`.
* @param ctx the parse tree
*/
enterNull;
/**
* Exit a parse tree produced by the `null`
* labeled alternative in `ManiaScriptParser.literal`.
* @param ctx the parse tree
*/
exitNull;
/**
* Enter a parse tree produced by the `nullId`
* labeled alternative in `ManiaScriptParser.literal`.
* @param ctx the parse tree
*/
enterNullId;
/**
* Exit a parse tree produced by the `nullId`
* labeled alternative in `ManiaScriptParser.literal`.
* @param ctx the parse tree
*/
exitNullId;
/**
* Enter a parse tree produced by the `text`
* labeled alternative in `ManiaScriptParser.literal`.
* @param ctx the parse tree
*/
enterText;
/**
* Exit a parse tree produced by the `text`
* labeled alternative in `ManiaScriptParser.literal`.
* @param ctx the parse tree
*/
exitText;
/**
* Enter a parse tree produced by the `enum`
* labeled alternative in `ManiaScriptParser.literal`.
* @param ctx the parse tree
*/
enterEnum;
/**
* Exit a parse tree produced by the `enum`
* labeled alternative in `ManiaScriptParser.literal`.
* @param ctx the parse tree
*/
exitEnum;
/**
* Enter a parse tree produced by `ManiaScriptParser.textLiteral`.
* @param ctx the parse tree
*/
enterTextLiteral;
/**
* Exit a parse tree produced by `ManiaScriptParser.textLiteral`.
* @param ctx the parse tree
*/
exitTextLiteral;
/**
* Enter a parse tree produced by `ManiaScriptParser.textTranslatedLiteral`.
* @param ctx the parse tree
*/
enterTextTranslatedLiteral;
/**
* Exit a parse tree produced by `ManiaScriptParser.textTranslatedLiteral`.
* @param ctx the parse tree
*/
exitTextTranslatedLiteral;
/**
* Enter a parse tree produced by `ManiaScriptParser.textBaseLiteral`.
* @param ctx the parse tree
*/
enterTextBaseLiteral;
/**
* Exit a parse tree produced by `ManiaScriptParser.textBaseLiteral`.
* @param ctx the parse tree
*/
exitTextBaseLiteral;
/**
* Enter a parse tree produced by `Mani