UNPKG

@maniascript/parser

Version:
1,204 lines 67.6 kB
import { ErrorNode, type ParseTreeListener, 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 declare class ManiaScriptParserListener implements ParseTreeListener { /** * Enter a parse tree produced by `ManiaScriptParser.program`. * @param ctx the parse tree */ enterProgram?: (ctx: ProgramContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.program`. * @param ctx the parse tree */ exitProgram?: (ctx: ProgramContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.programContent`. * @param ctx the parse tree */ enterProgramContent?: (ctx: ProgramContentContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.programContent`. * @param ctx the parse tree */ exitProgramContent?: (ctx: ProgramContentContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.directives`. * @param ctx the parse tree */ enterDirectives?: (ctx: DirectivesContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.directives`. * @param ctx the parse tree */ exitDirectives?: (ctx: DirectivesContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.directive`. * @param ctx the parse tree */ enterDirective?: (ctx: DirectiveContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.directive`. * @param ctx the parse tree */ exitDirective?: (ctx: DirectiveContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.requireContextDirective`. * @param ctx the parse tree */ enterRequireContextDirective?: (ctx: RequireContextDirectiveContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.requireContextDirective`. * @param ctx the parse tree */ exitRequireContextDirective?: (ctx: RequireContextDirectiveContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.extendsDirective`. * @param ctx the parse tree */ enterExtendsDirective?: (ctx: ExtendsDirectiveContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.extendsDirective`. * @param ctx the parse tree */ exitExtendsDirective?: (ctx: ExtendsDirectiveContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.extendsPath`. * @param ctx the parse tree */ enterExtendsPath?: (ctx: ExtendsPathContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.extendsPath`. * @param ctx the parse tree */ exitExtendsPath?: (ctx: ExtendsPathContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.includeDirective`. * @param ctx the parse tree */ enterIncludeDirective?: (ctx: IncludeDirectiveContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.includeDirective`. * @param ctx the parse tree */ exitIncludeDirective?: (ctx: IncludeDirectiveContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.includePath`. * @param ctx the parse tree */ enterIncludePath?: (ctx: IncludePathContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.includePath`. * @param ctx the parse tree */ exitIncludePath?: (ctx: IncludePathContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.includeAlias`. * @param ctx the parse tree */ enterIncludeAlias?: (ctx: IncludeAliasContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.includeAlias`. * @param ctx the parse tree */ exitIncludeAlias?: (ctx: IncludeAliasContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.namespaceDefinition`. * @param ctx the parse tree */ enterNamespaceDefinition?: (ctx: NamespaceDefinitionContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.namespaceDefinition`. * @param ctx the parse tree */ exitNamespaceDefinition?: (ctx: NamespaceDefinitionContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.settingDirective`. * @param ctx the parse tree */ enterSettingDirective?: (ctx: SettingDirectiveContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.settingDirective`. * @param ctx the parse tree */ exitSettingDirective?: (ctx: SettingDirectiveContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.settingName`. * @param ctx the parse tree */ enterSettingName?: (ctx: SettingNameContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.settingName`. * @param ctx the parse tree */ exitSettingName?: (ctx: SettingNameContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.commandDirective`. * @param ctx the parse tree */ enterCommandDirective?: (ctx: CommandDirectiveContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.commandDirective`. * @param ctx the parse tree */ exitCommandDirective?: (ctx: CommandDirectiveContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.commandName`. * @param ctx the parse tree */ enterCommandName?: (ctx: CommandNameContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.commandName`. * @param ctx the parse tree */ exitCommandName?: (ctx: CommandNameContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.structDirective`. * @param ctx the parse tree */ enterStructDirective?: (ctx: StructDirectiveContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.structDirective`. * @param ctx the parse tree */ exitStructDirective?: (ctx: StructDirectiveContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.structDeclaration`. * @param ctx the parse tree */ enterStructDeclaration?: (ctx: StructDeclarationContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.structDeclaration`. * @param ctx the parse tree */ exitStructDeclaration?: (ctx: StructDeclarationContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.structMembers`. * @param ctx the parse tree */ enterStructMembers?: (ctx: StructMembersContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.structMembers`. * @param ctx the parse tree */ exitStructMembers?: (ctx: StructMembersContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.structMember`. * @param ctx the parse tree */ enterStructMember?: (ctx: StructMemberContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.structMember`. * @param ctx the parse tree */ exitStructMember?: (ctx: StructMemberContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.structAliasing`. * @param ctx the parse tree */ enterStructAliasing?: (ctx: StructAliasingContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.structAliasing`. * @param ctx the parse tree */ exitStructAliasing?: (ctx: StructAliasingContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.namespaceName`. * @param ctx the parse tree */ enterNamespaceName?: (ctx: NamespaceNameContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.namespaceName`. * @param ctx the parse tree */ exitNamespaceName?: (ctx: NamespaceNameContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.structName`. * @param ctx the parse tree */ enterStructName?: (ctx: StructNameContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.structName`. * @param ctx the parse tree */ exitStructName?: (ctx: StructNameContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.constDirective`. * @param ctx the parse tree */ enterConstDirective?: (ctx: ConstDirectiveContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.constDirective`. * @param ctx the parse tree */ exitConstDirective?: (ctx: ConstDirectiveContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.constDeclaration`. * @param ctx the parse tree */ enterConstDeclaration?: (ctx: ConstDeclarationContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.constDeclaration`. * @param ctx the parse tree */ exitConstDeclaration?: (ctx: ConstDeclarationContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.constAliasing`. * @param ctx the parse tree */ enterConstAliasing?: (ctx: ConstAliasingContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.constAliasing`. * @param ctx the parse tree */ exitConstAliasing?: (ctx: ConstAliasingContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.constName`. * @param ctx the parse tree */ enterConstName?: (ctx: ConstNameContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.constName`. * @param ctx the parse tree */ exitConstName?: (ctx: ConstNameContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.declarations`. * @param ctx the parse tree */ enterDeclarations?: (ctx: DeclarationsContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.declarations`. * @param ctx the parse tree */ exitDeclarations?: (ctx: DeclarationsContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.declaration`. * @param ctx the parse tree */ enterDeclaration?: (ctx: DeclarationContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.declaration`. * @param ctx the parse tree */ exitDeclaration?: (ctx: DeclarationContext) => void; /** * Enter a parse tree produced by the `variableDeclarationWithType` * labeled alternative in `ManiaScriptParser.variableDeclaration`. * @param ctx the parse tree */ enterVariableDeclarationWithType?: (ctx: VariableDeclarationWithTypeContext) => void; /** * Exit a parse tree produced by the `variableDeclarationWithType` * labeled alternative in `ManiaScriptParser.variableDeclaration`. * @param ctx the parse tree */ exitVariableDeclarationWithType?: (ctx: VariableDeclarationWithTypeContext) => void; /** * Enter a parse tree produced by the `variableDeclarationWithoutType` * labeled alternative in `ManiaScriptParser.variableDeclaration`. * @param ctx the parse tree */ enterVariableDeclarationWithoutType?: (ctx: VariableDeclarationWithoutTypeContext) => void; /** * Exit a parse tree produced by the `variableDeclarationWithoutType` * labeled alternative in `ManiaScriptParser.variableDeclaration`. * @param ctx the parse tree */ exitVariableDeclarationWithoutType?: (ctx: VariableDeclarationWithoutTypeContext) => void; /** * Enter a parse tree produced by the `variableDeclarationLet` * labeled alternative in `ManiaScriptParser.variableDeclaration`. * @param ctx the parse tree */ enterVariableDeclarationLet?: (ctx: VariableDeclarationLetContext) => void; /** * Exit a parse tree produced by the `variableDeclarationLet` * labeled alternative in `ManiaScriptParser.variableDeclaration`. * @param ctx the parse tree */ exitVariableDeclarationLet?: (ctx: VariableDeclarationLetContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.variableName`. * @param ctx the parse tree */ enterVariableName?: (ctx: VariableNameContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.variableName`. * @param ctx the parse tree */ exitVariableName?: (ctx: VariableNameContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.initializer`. * @param ctx the parse tree */ enterInitializer?: (ctx: InitializerContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.initializer`. * @param ctx the parse tree */ exitInitializer?: (ctx: InitializerContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.functionDeclaration`. * @param ctx the parse tree */ enterFunctionDeclaration?: (ctx: FunctionDeclarationContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.functionDeclaration`. * @param ctx the parse tree */ exitFunctionDeclaration?: (ctx: FunctionDeclarationContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.functionName`. * @param ctx the parse tree */ enterFunctionName?: (ctx: FunctionNameContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.functionName`. * @param ctx the parse tree */ exitFunctionName?: (ctx: FunctionNameContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.parameters`. * @param ctx the parse tree */ enterParameters?: (ctx: ParametersContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.parameters`. * @param ctx the parse tree */ exitParameters?: (ctx: ParametersContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.parameter`. * @param ctx the parse tree */ enterParameter?: (ctx: ParameterContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.parameter`. * @param ctx the parse tree */ exitParameter?: (ctx: ParameterContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.labelDeclaration`. * @param ctx the parse tree */ enterLabelDeclaration?: (ctx: LabelDeclarationContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.labelDeclaration`. * @param ctx the parse tree */ exitLabelDeclaration?: (ctx: LabelDeclarationContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.labelName`. * @param ctx the parse tree */ enterLabelName?: (ctx: LabelNameContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.labelName`. * @param ctx the parse tree */ exitLabelName?: (ctx: LabelNameContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.mainStatement`. * @param ctx the parse tree */ enterMainStatement?: (ctx: MainStatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.mainStatement`. * @param ctx the parse tree */ exitMainStatement?: (ctx: MainStatementContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.block`. * @param ctx the parse tree */ enterBlock?: (ctx: BlockContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.block`. * @param ctx the parse tree */ exitBlock?: (ctx: BlockContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.statements`. * @param ctx the parse tree */ enterStatements?: (ctx: StatementsContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.statements`. * @param ctx the parse tree */ exitStatements?: (ctx: StatementsContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.statement`. * @param ctx the parse tree */ enterStatement?: (ctx: StatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.statement`. * @param ctx the parse tree */ exitStatement?: (ctx: StatementContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.expressionStatement`. * @param ctx the parse tree */ enterExpressionStatement?: (ctx: ExpressionStatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.expressionStatement`. * @param ctx the parse tree */ exitExpressionStatement?: (ctx: ExpressionStatementContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.assignmentStatement`. * @param ctx the parse tree */ enterAssignmentStatement?: (ctx: AssignmentStatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.assignmentStatement`. * @param ctx the parse tree */ exitAssignmentStatement?: (ctx: AssignmentStatementContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.returnStatement`. * @param ctx the parse tree */ enterReturnStatement?: (ctx: ReturnStatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.returnStatement`. * @param ctx the parse tree */ exitReturnStatement?: (ctx: ReturnStatementContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.labelStatement`. * @param ctx the parse tree */ enterLabelStatement?: (ctx: LabelStatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.labelStatement`. * @param ctx the parse tree */ exitLabelStatement?: (ctx: LabelStatementContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.labelInsert`. * @param ctx the parse tree */ enterLabelInsert?: (ctx: LabelInsertContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.labelInsert`. * @param ctx the parse tree */ exitLabelInsert?: (ctx: LabelInsertContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.labelOverwrite`. * @param ctx the parse tree */ enterLabelOverwrite?: (ctx: LabelOverwriteContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.labelOverwrite`. * @param ctx the parse tree */ exitLabelOverwrite?: (ctx: LabelOverwriteContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.assertStatement`. * @param ctx the parse tree */ enterAssertStatement?: (ctx: AssertStatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.assertStatement`. * @param ctx the parse tree */ exitAssertStatement?: (ctx: AssertStatementContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.foreachStatement`. * @param ctx the parse tree */ enterForeachStatement?: (ctx: ForeachStatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.foreachStatement`. * @param ctx the parse tree */ exitForeachStatement?: (ctx: ForeachStatementContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.forStatement`. * @param ctx the parse tree */ enterForStatement?: (ctx: ForStatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.forStatement`. * @param ctx the parse tree */ exitForStatement?: (ctx: ForStatementContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.whileStatement`. * @param ctx the parse tree */ enterWhileStatement?: (ctx: WhileStatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.whileStatement`. * @param ctx the parse tree */ exitWhileStatement?: (ctx: WhileStatementContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.meanwhileStatement`. * @param ctx the parse tree */ enterMeanwhileStatement?: (ctx: MeanwhileStatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.meanwhileStatement`. * @param ctx the parse tree */ exitMeanwhileStatement?: (ctx: MeanwhileStatementContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.breakStatement`. * @param ctx the parse tree */ enterBreakStatement?: (ctx: BreakStatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.breakStatement`. * @param ctx the parse tree */ exitBreakStatement?: (ctx: BreakStatementContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.continueStatement`. * @param ctx the parse tree */ enterContinueStatement?: (ctx: ContinueStatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.continueStatement`. * @param ctx the parse tree */ exitContinueStatement?: (ctx: ContinueStatementContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.switchStatement`. * @param ctx the parse tree */ enterSwitchStatement?: (ctx: SwitchStatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.switchStatement`. * @param ctx the parse tree */ exitSwitchStatement?: (ctx: SwitchStatementContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.switchClauseList`. * @param ctx the parse tree */ enterSwitchClauseList?: (ctx: SwitchClauseListContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.switchClauseList`. * @param ctx the parse tree */ exitSwitchClauseList?: (ctx: SwitchClauseListContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.switchCase`. * @param ctx the parse tree */ enterSwitchCase?: (ctx: SwitchCaseContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.switchCase`. * @param ctx the parse tree */ exitSwitchCase?: (ctx: SwitchCaseContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.switchDefault`. * @param ctx the parse tree */ enterSwitchDefault?: (ctx: SwitchDefaultContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.switchDefault`. * @param ctx the parse tree */ exitSwitchDefault?: (ctx: SwitchDefaultContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.switchtypeStatement`. * @param ctx the parse tree */ enterSwitchtypeStatement?: (ctx: SwitchtypeStatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.switchtypeStatement`. * @param ctx the parse tree */ exitSwitchtypeStatement?: (ctx: SwitchtypeStatementContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.switchtypeClauseList`. * @param ctx the parse tree */ enterSwitchtypeClauseList?: (ctx: SwitchtypeClauseListContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.switchtypeClauseList`. * @param ctx the parse tree */ exitSwitchtypeClauseList?: (ctx: SwitchtypeClauseListContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.switchtypeCase`. * @param ctx the parse tree */ enterSwitchtypeCase?: (ctx: SwitchtypeCaseContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.switchtypeCase`. * @param ctx the parse tree */ exitSwitchtypeCase?: (ctx: SwitchtypeCaseContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.switchtypeDefault`. * @param ctx the parse tree */ enterSwitchtypeDefault?: (ctx: SwitchtypeDefaultContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.switchtypeDefault`. * @param ctx the parse tree */ exitSwitchtypeDefault?: (ctx: SwitchtypeDefaultContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.conditionalStatement`. * @param ctx the parse tree */ enterConditionalStatement?: (ctx: ConditionalStatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.conditionalStatement`. * @param ctx the parse tree */ exitConditionalStatement?: (ctx: ConditionalStatementContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.ifBranch`. * @param ctx the parse tree */ enterIfBranch?: (ctx: IfBranchContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.ifBranch`. * @param ctx the parse tree */ exitIfBranch?: (ctx: IfBranchContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.elseIfBranch`. * @param ctx the parse tree */ enterElseIfBranch?: (ctx: ElseIfBranchContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.elseIfBranch`. * @param ctx the parse tree */ exitElseIfBranch?: (ctx: ElseIfBranchContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.elseBranch`. * @param ctx the parse tree */ enterElseBranch?: (ctx: ElseBranchContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.elseBranch`. * @param ctx the parse tree */ exitElseBranch?: (ctx: ElseBranchContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.logStatement`. * @param ctx the parse tree */ enterLogStatement?: (ctx: LogStatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.logStatement`. * @param ctx the parse tree */ exitLogStatement?: (ctx: LogStatementContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.sleepStatement`. * @param ctx the parse tree */ enterSleepStatement?: (ctx: SleepStatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.sleepStatement`. * @param ctx the parse tree */ exitSleepStatement?: (ctx: SleepStatementContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.tuningstartStatement`. * @param ctx the parse tree */ enterTuningstartStatement?: (ctx: TuningstartStatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.tuningstartStatement`. * @param ctx the parse tree */ exitTuningstartStatement?: (ctx: TuningstartStatementContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.tuningendStatement`. * @param ctx the parse tree */ enterTuningendStatement?: (ctx: TuningendStatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.tuningendStatement`. * @param ctx the parse tree */ exitTuningendStatement?: (ctx: TuningendStatementContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.tuningmarkStatement`. * @param ctx the parse tree */ enterTuningmarkStatement?: (ctx: TuningmarkStatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.tuningmarkStatement`. * @param ctx the parse tree */ exitTuningmarkStatement?: (ctx: TuningmarkStatementContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.waitStatement`. * @param ctx the parse tree */ enterWaitStatement?: (ctx: WaitStatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.waitStatement`. * @param ctx the parse tree */ exitWaitStatement?: (ctx: WaitStatementContext) => void; /** * Enter a parse tree produced by `ManiaScriptParser.yieldStatement`. * @param ctx the parse tree */ enterYieldStatement?: (ctx: YieldStatementContext) => void; /** * Exit a parse tree produced by `ManiaScriptParser.yieldStatement`. * @param ctx the parse tree */ exitYieldStatement?: (ctx: YieldStatementContext) => void; /** * Enter a parse tree produced by the `functionCallExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterFunctionCallExpression?: (ctx: FunctionCallExpressionContext) => void; /** * Exit a parse tree produced by the `functionCallExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitFunctionCallExpression?: (ctx: FunctionCallExpressionContext) => void; /** * Enter a parse tree produced by the `unaryMinusExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterUnaryMinusExpression?: (ctx: UnaryMinusExpressionContext) => void; /** * Exit a parse tree produced by the `unaryMinusExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitUnaryMinusExpression?: (ctx: UnaryMinusExpressionContext) => void; /** * Enter a parse tree produced by the `notExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterNotExpression?: (ctx: NotExpressionContext) => void; /** * Exit a parse tree produced by the `notExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitNotExpression?: (ctx: NotExpressionContext) => void; /** * Enter a parse tree produced by the `dumptypeExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterDumptypeExpression?: (ctx: DumptypeExpressionContext) => void; /** * Exit a parse tree produced by the `dumptypeExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitDumptypeExpression?: (ctx: DumptypeExpressionContext) => void; /** * Enter a parse tree produced by the `dumpExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterDumpExpression?: (ctx: DumpExpressionContext) => void; /** * Exit a parse tree produced by the `dumpExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitDumpExpression?: (ctx: DumpExpressionContext) => void; /** * Enter a parse tree produced by the `castExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterCastExpression?: (ctx: CastExpressionContext) => void; /** * Exit a parse tree produced by the `castExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitCastExpression?: (ctx: CastExpressionContext) => void; /** * Enter a parse tree produced by the `structureExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterStructureExpression?: (ctx: StructureExpressionContext) => void; /** * Exit a parse tree produced by the `structureExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitStructureExpression?: (ctx: StructureExpressionContext) => void; /** * Enter a parse tree produced by the `arrayExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterArrayExpression?: (ctx: ArrayExpressionContext) => void; /** * Exit a parse tree produced by the `arrayExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitArrayExpression?: (ctx: ArrayExpressionContext) => void; /** * Enter a parse tree produced by the `identifierExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterIdentifierExpression?: (ctx: IdentifierExpressionContext) => void; /** * Exit a parse tree produced by the `identifierExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitIdentifierExpression?: (ctx: IdentifierExpressionContext) => void; /** * Enter a parse tree produced by the `literalExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterLiteralExpression?: (ctx: LiteralExpressionContext) => void; /** * Exit a parse tree produced by the `literalExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitLiteralExpression?: (ctx: LiteralExpressionContext) => void; /** * Enter a parse tree produced by the `vectorExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterVectorExpression?: (ctx: VectorExpressionContext) => void; /** * Exit a parse tree produced by the `vectorExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitVectorExpression?: (ctx: VectorExpressionContext) => void; /** * Enter a parse tree produced by the `textInterpolationExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterTextInterpolationExpression?: (ctx: TextInterpolationExpressionContext) => void; /** * Exit a parse tree produced by the `textInterpolationExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitTextInterpolationExpression?: (ctx: TextInterpolationExpressionContext) => void; /** * Enter a parse tree produced by the `thisExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterThisExpression?: (ctx: ThisExpressionContext) => void; /** * Exit a parse tree produced by the `thisExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitThisExpression?: (ctx: ThisExpressionContext) => void; /** * Enter a parse tree produced by the `nowExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterNowExpression?: (ctx: NowExpressionContext) => void; /** * Exit a parse tree produced by the `nowExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitNowExpression?: (ctx: NowExpressionContext) => void; /** * Enter a parse tree produced by the `parenthesisExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterParenthesisExpression?: (ctx: ParenthesisExpressionContext) => void; /** * Exit a parse tree produced by the `parenthesisExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitParenthesisExpression?: (ctx: ParenthesisExpressionContext) => void; /** * Enter a parse tree produced by the `multiplicativeExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterMultiplicativeExpression?: (ctx: MultiplicativeExpressionContext) => void; /** * Exit a parse tree produced by the `multiplicativeExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitMultiplicativeExpression?: (ctx: MultiplicativeExpressionContext) => void; /** * Enter a parse tree produced by the `additiveExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterAdditiveExpression?: (ctx: AdditiveExpressionContext) => void; /** * Exit a parse tree produced by the `additiveExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitAdditiveExpression?: (ctx: AdditiveExpressionContext) => void; /** * Enter a parse tree produced by the `concatenationExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterConcatenationExpression?: (ctx: ConcatenationExpressionContext) => void; /** * Exit a parse tree produced by the `concatenationExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitConcatenationExpression?: (ctx: ConcatenationExpressionContext) => void; /** * Enter a parse tree produced by the `relationalExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterRelationalExpression?: (ctx: RelationalExpressionContext) => void; /** * Exit a parse tree produced by the `relationalExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitRelationalExpression?: (ctx: RelationalExpressionContext) => void; /** * Enter a parse tree produced by the `equalityExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterEqualityExpression?: (ctx: EqualityExpressionContext) => void; /** * Exit a parse tree produced by the `equalityExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitEqualityExpression?: (ctx: EqualityExpressionContext) => void; /** * Enter a parse tree produced by the `andExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterAndExpression?: (ctx: AndExpressionContext) => void; /** * Exit a parse tree produced by the `andExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitAndExpression?: (ctx: AndExpressionContext) => void; /** * Enter a parse tree produced by the `orExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterOrExpression?: (ctx: OrExpressionContext) => void; /** * Exit a parse tree produced by the `orExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitOrExpression?: (ctx: OrExpressionContext) => void; /** * Enter a parse tree produced by the `asExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterAsExpression?: (ctx: AsExpressionContext) => void; /** * Exit a parse tree produced by the `asExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitAsExpression?: (ctx: AsExpressionContext) => void; /** * Enter a parse tree produced by the `dotAccessExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterDotAccessExpression?: (ctx: DotAccessExpressionContext) => void; /** * Exit a parse tree produced by the `dotAccessExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ exitDotAccessExpression?: (ctx: DotAccessExpressionContext) => void; /** * Enter a parse tree produced by the `indexAccessExpression` * labeled alternative in `ManiaScriptParser.expression`. * @param ctx the parse tree */ enterIndexAccessExpression?: (ctx: IndexAccessExpressionContext) => void; /** * Exit a parse tree produced by the `indexAccessExpres