@maniascript/parser
Version:
Maniascript parser
1,069 lines (1,068 loc) • 44 kB
TypeScript
import { AbstractParseTreeVisitor } 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 generic visitor for a parse tree produced
* by `ManiaScriptParser`.
*
* @param <Result> The return type of the visit operation. Use `void` for
* operations with no return type.
*/
export declare class ManiaScriptParserVisitor<Result> extends AbstractParseTreeVisitor<Result> {
/**
* Visit a parse tree produced by `ManiaScriptParser.program`.
* @param ctx the parse tree
* @return the visitor result
*/
visitProgram?: (ctx: ProgramContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.programContent`.
* @param ctx the parse tree
* @return the visitor result
*/
visitProgramContent?: (ctx: ProgramContentContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.directives`.
* @param ctx the parse tree
* @return the visitor result
*/
visitDirectives?: (ctx: DirectivesContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.directive`.
* @param ctx the parse tree
* @return the visitor result
*/
visitDirective?: (ctx: DirectiveContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.requireContextDirective`.
* @param ctx the parse tree
* @return the visitor result
*/
visitRequireContextDirective?: (ctx: RequireContextDirectiveContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.extendsDirective`.
* @param ctx the parse tree
* @return the visitor result
*/
visitExtendsDirective?: (ctx: ExtendsDirectiveContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.extendsPath`.
* @param ctx the parse tree
* @return the visitor result
*/
visitExtendsPath?: (ctx: ExtendsPathContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.includeDirective`.
* @param ctx the parse tree
* @return the visitor result
*/
visitIncludeDirective?: (ctx: IncludeDirectiveContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.includePath`.
* @param ctx the parse tree
* @return the visitor result
*/
visitIncludePath?: (ctx: IncludePathContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.includeAlias`.
* @param ctx the parse tree
* @return the visitor result
*/
visitIncludeAlias?: (ctx: IncludeAliasContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.namespaceDefinition`.
* @param ctx the parse tree
* @return the visitor result
*/
visitNamespaceDefinition?: (ctx: NamespaceDefinitionContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.settingDirective`.
* @param ctx the parse tree
* @return the visitor result
*/
visitSettingDirective?: (ctx: SettingDirectiveContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.settingName`.
* @param ctx the parse tree
* @return the visitor result
*/
visitSettingName?: (ctx: SettingNameContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.commandDirective`.
* @param ctx the parse tree
* @return the visitor result
*/
visitCommandDirective?: (ctx: CommandDirectiveContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.commandName`.
* @param ctx the parse tree
* @return the visitor result
*/
visitCommandName?: (ctx: CommandNameContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.structDirective`.
* @param ctx the parse tree
* @return the visitor result
*/
visitStructDirective?: (ctx: StructDirectiveContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.structDeclaration`.
* @param ctx the parse tree
* @return the visitor result
*/
visitStructDeclaration?: (ctx: StructDeclarationContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.structMembers`.
* @param ctx the parse tree
* @return the visitor result
*/
visitStructMembers?: (ctx: StructMembersContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.structMember`.
* @param ctx the parse tree
* @return the visitor result
*/
visitStructMember?: (ctx: StructMemberContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.structAliasing`.
* @param ctx the parse tree
* @return the visitor result
*/
visitStructAliasing?: (ctx: StructAliasingContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.namespaceName`.
* @param ctx the parse tree
* @return the visitor result
*/
visitNamespaceName?: (ctx: NamespaceNameContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.structName`.
* @param ctx the parse tree
* @return the visitor result
*/
visitStructName?: (ctx: StructNameContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.constDirective`.
* @param ctx the parse tree
* @return the visitor result
*/
visitConstDirective?: (ctx: ConstDirectiveContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.constDeclaration`.
* @param ctx the parse tree
* @return the visitor result
*/
visitConstDeclaration?: (ctx: ConstDeclarationContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.constAliasing`.
* @param ctx the parse tree
* @return the visitor result
*/
visitConstAliasing?: (ctx: ConstAliasingContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.constName`.
* @param ctx the parse tree
* @return the visitor result
*/
visitConstName?: (ctx: ConstNameContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.declarations`.
* @param ctx the parse tree
* @return the visitor result
*/
visitDeclarations?: (ctx: DeclarationsContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.declaration`.
* @param ctx the parse tree
* @return the visitor result
*/
visitDeclaration?: (ctx: DeclarationContext) => Result;
/**
* Visit a parse tree produced by the `variableDeclarationWithType`
* labeled alternative in `ManiaScriptParser.variableDeclaration`.
* @param ctx the parse tree
* @return the visitor result
*/
visitVariableDeclarationWithType?: (ctx: VariableDeclarationWithTypeContext) => Result;
/**
* Visit a parse tree produced by the `variableDeclarationWithoutType`
* labeled alternative in `ManiaScriptParser.variableDeclaration`.
* @param ctx the parse tree
* @return the visitor result
*/
visitVariableDeclarationWithoutType?: (ctx: VariableDeclarationWithoutTypeContext) => Result;
/**
* Visit a parse tree produced by the `variableDeclarationLet`
* labeled alternative in `ManiaScriptParser.variableDeclaration`.
* @param ctx the parse tree
* @return the visitor result
*/
visitVariableDeclarationLet?: (ctx: VariableDeclarationLetContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.variableName`.
* @param ctx the parse tree
* @return the visitor result
*/
visitVariableName?: (ctx: VariableNameContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.initializer`.
* @param ctx the parse tree
* @return the visitor result
*/
visitInitializer?: (ctx: InitializerContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.functionDeclaration`.
* @param ctx the parse tree
* @return the visitor result
*/
visitFunctionDeclaration?: (ctx: FunctionDeclarationContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.functionName`.
* @param ctx the parse tree
* @return the visitor result
*/
visitFunctionName?: (ctx: FunctionNameContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.parameters`.
* @param ctx the parse tree
* @return the visitor result
*/
visitParameters?: (ctx: ParametersContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.parameter`.
* @param ctx the parse tree
* @return the visitor result
*/
visitParameter?: (ctx: ParameterContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.labelDeclaration`.
* @param ctx the parse tree
* @return the visitor result
*/
visitLabelDeclaration?: (ctx: LabelDeclarationContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.labelName`.
* @param ctx the parse tree
* @return the visitor result
*/
visitLabelName?: (ctx: LabelNameContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.mainStatement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitMainStatement?: (ctx: MainStatementContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.block`.
* @param ctx the parse tree
* @return the visitor result
*/
visitBlock?: (ctx: BlockContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.statements`.
* @param ctx the parse tree
* @return the visitor result
*/
visitStatements?: (ctx: StatementsContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.statement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitStatement?: (ctx: StatementContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.expressionStatement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitExpressionStatement?: (ctx: ExpressionStatementContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.assignmentStatement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitAssignmentStatement?: (ctx: AssignmentStatementContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.returnStatement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitReturnStatement?: (ctx: ReturnStatementContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.labelStatement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitLabelStatement?: (ctx: LabelStatementContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.labelInsert`.
* @param ctx the parse tree
* @return the visitor result
*/
visitLabelInsert?: (ctx: LabelInsertContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.labelOverwrite`.
* @param ctx the parse tree
* @return the visitor result
*/
visitLabelOverwrite?: (ctx: LabelOverwriteContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.assertStatement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitAssertStatement?: (ctx: AssertStatementContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.foreachStatement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitForeachStatement?: (ctx: ForeachStatementContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.forStatement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitForStatement?: (ctx: ForStatementContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.whileStatement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitWhileStatement?: (ctx: WhileStatementContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.meanwhileStatement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitMeanwhileStatement?: (ctx: MeanwhileStatementContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.breakStatement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitBreakStatement?: (ctx: BreakStatementContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.continueStatement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitContinueStatement?: (ctx: ContinueStatementContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.switchStatement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitSwitchStatement?: (ctx: SwitchStatementContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.switchClauseList`.
* @param ctx the parse tree
* @return the visitor result
*/
visitSwitchClauseList?: (ctx: SwitchClauseListContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.switchCase`.
* @param ctx the parse tree
* @return the visitor result
*/
visitSwitchCase?: (ctx: SwitchCaseContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.switchDefault`.
* @param ctx the parse tree
* @return the visitor result
*/
visitSwitchDefault?: (ctx: SwitchDefaultContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.switchtypeStatement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitSwitchtypeStatement?: (ctx: SwitchtypeStatementContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.switchtypeClauseList`.
* @param ctx the parse tree
* @return the visitor result
*/
visitSwitchtypeClauseList?: (ctx: SwitchtypeClauseListContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.switchtypeCase`.
* @param ctx the parse tree
* @return the visitor result
*/
visitSwitchtypeCase?: (ctx: SwitchtypeCaseContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.switchtypeDefault`.
* @param ctx the parse tree
* @return the visitor result
*/
visitSwitchtypeDefault?: (ctx: SwitchtypeDefaultContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.conditionalStatement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitConditionalStatement?: (ctx: ConditionalStatementContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.ifBranch`.
* @param ctx the parse tree
* @return the visitor result
*/
visitIfBranch?: (ctx: IfBranchContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.elseIfBranch`.
* @param ctx the parse tree
* @return the visitor result
*/
visitElseIfBranch?: (ctx: ElseIfBranchContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.elseBranch`.
* @param ctx the parse tree
* @return the visitor result
*/
visitElseBranch?: (ctx: ElseBranchContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.logStatement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitLogStatement?: (ctx: LogStatementContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.sleepStatement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitSleepStatement?: (ctx: SleepStatementContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.tuningstartStatement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitTuningstartStatement?: (ctx: TuningstartStatementContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.tuningendStatement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitTuningendStatement?: (ctx: TuningendStatementContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.tuningmarkStatement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitTuningmarkStatement?: (ctx: TuningmarkStatementContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.waitStatement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitWaitStatement?: (ctx: WaitStatementContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.yieldStatement`.
* @param ctx the parse tree
* @return the visitor result
*/
visitYieldStatement?: (ctx: YieldStatementContext) => Result;
/**
* Visit a parse tree produced by the `functionCallExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitFunctionCallExpression?: (ctx: FunctionCallExpressionContext) => Result;
/**
* Visit a parse tree produced by the `unaryMinusExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitUnaryMinusExpression?: (ctx: UnaryMinusExpressionContext) => Result;
/**
* Visit a parse tree produced by the `notExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitNotExpression?: (ctx: NotExpressionContext) => Result;
/**
* Visit a parse tree produced by the `dumptypeExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitDumptypeExpression?: (ctx: DumptypeExpressionContext) => Result;
/**
* Visit a parse tree produced by the `dumpExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitDumpExpression?: (ctx: DumpExpressionContext) => Result;
/**
* Visit a parse tree produced by the `castExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitCastExpression?: (ctx: CastExpressionContext) => Result;
/**
* Visit a parse tree produced by the `structureExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitStructureExpression?: (ctx: StructureExpressionContext) => Result;
/**
* Visit a parse tree produced by the `arrayExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitArrayExpression?: (ctx: ArrayExpressionContext) => Result;
/**
* Visit a parse tree produced by the `identifierExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitIdentifierExpression?: (ctx: IdentifierExpressionContext) => Result;
/**
* Visit a parse tree produced by the `literalExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitLiteralExpression?: (ctx: LiteralExpressionContext) => Result;
/**
* Visit a parse tree produced by the `vectorExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitVectorExpression?: (ctx: VectorExpressionContext) => Result;
/**
* Visit a parse tree produced by the `textInterpolationExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitTextInterpolationExpression?: (ctx: TextInterpolationExpressionContext) => Result;
/**
* Visit a parse tree produced by the `thisExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitThisExpression?: (ctx: ThisExpressionContext) => Result;
/**
* Visit a parse tree produced by the `nowExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitNowExpression?: (ctx: NowExpressionContext) => Result;
/**
* Visit a parse tree produced by the `parenthesisExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitParenthesisExpression?: (ctx: ParenthesisExpressionContext) => Result;
/**
* Visit a parse tree produced by the `multiplicativeExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitMultiplicativeExpression?: (ctx: MultiplicativeExpressionContext) => Result;
/**
* Visit a parse tree produced by the `additiveExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitAdditiveExpression?: (ctx: AdditiveExpressionContext) => Result;
/**
* Visit a parse tree produced by the `concatenationExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitConcatenationExpression?: (ctx: ConcatenationExpressionContext) => Result;
/**
* Visit a parse tree produced by the `relationalExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitRelationalExpression?: (ctx: RelationalExpressionContext) => Result;
/**
* Visit a parse tree produced by the `equalityExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitEqualityExpression?: (ctx: EqualityExpressionContext) => Result;
/**
* Visit a parse tree produced by the `andExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitAndExpression?: (ctx: AndExpressionContext) => Result;
/**
* Visit a parse tree produced by the `orExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitOrExpression?: (ctx: OrExpressionContext) => Result;
/**
* Visit a parse tree produced by the `asExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitAsExpression?: (ctx: AsExpressionContext) => Result;
/**
* Visit a parse tree produced by the `dotAccessExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitDotAccessExpression?: (ctx: DotAccessExpressionContext) => Result;
/**
* Visit a parse tree produced by the `indexAccessExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitIndexAccessExpression?: (ctx: IndexAccessExpressionContext) => Result;
/**
* Visit a parse tree produced by the `isExpression`
* labeled alternative in `ManiaScriptParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitIsExpression?: (ctx: IsExpressionContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.functionCall`.
* @param ctx the parse tree
* @return the visitor result
*/
visitFunctionCall?: (ctx: FunctionCallContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.arguments`.
* @param ctx the parse tree
* @return the visitor result
*/
visitArguments?: (ctx: ArgumentsContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.argument`.
* @param ctx the parse tree
* @return the visitor result
*/
visitArgument?: (ctx: ArgumentContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.textInterpolation`.
* @param ctx the parse tree
* @return the visitor result
*/
visitTextInterpolation?: (ctx: TextInterpolationContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.structure`.
* @param ctx the parse tree
* @return the visitor result
*/
visitStructure?: (ctx: StructureContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.structureMemberInitializationList`.
* @param ctx the parse tree
* @return the visitor result
*/
visitStructureMemberInitializationList?: (ctx: StructureMemberInitializationListContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.structureMemberInitialization`.
* @param ctx the parse tree
* @return the visitor result
*/
visitStructureMemberInitialization?: (ctx: StructureMemberInitializationContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.structMemberName`.
* @param ctx the parse tree
* @return the visitor result
*/
visitStructMemberName?: (ctx: StructMemberNameContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.structIdentifier`.
* @param ctx the parse tree
* @return the visitor result
*/
visitStructIdentifier?: (ctx: StructIdentifierContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.array`.
* @param ctx the parse tree
* @return the visitor result
*/
visitArray?: (ctx: ArrayContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.associativeArray`.
* @param ctx the parse tree
* @return the visitor result
*/
visitAssociativeArray?: (ctx: AssociativeArrayContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.simpleArray`.
* @param ctx the parse tree
* @return the visitor result
*/
visitSimpleArray?: (ctx: SimpleArrayContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.emptyArray`.
* @param ctx the parse tree
* @return the visitor result
*/
visitEmptyArray?: (ctx: EmptyArrayContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.identifier`.
* @param ctx the parse tree
* @return the visitor result
*/
visitIdentifier?: (ctx: IdentifierContext) => Result;
/**
* Visit a parse tree produced by the `real`
* labeled alternative in `ManiaScriptParser.literal`.
* @param ctx the parse tree
* @return the visitor result
*/
visitReal?: (ctx: RealContext) => Result;
/**
* Visit a parse tree produced by the `integer`
* labeled alternative in `ManiaScriptParser.literal`.
* @param ctx the parse tree
* @return the visitor result
*/
visitInteger?: (ctx: IntegerContext) => Result;
/**
* Visit a parse tree produced by the `boolean`
* labeled alternative in `ManiaScriptParser.literal`.
* @param ctx the parse tree
* @return the visitor result
*/
visitBoolean?: (ctx: BooleanContext) => Result;
/**
* Visit a parse tree produced by the `null`
* labeled alternative in `ManiaScriptParser.literal`.
* @param ctx the parse tree
* @return the visitor result
*/
visitNull?: (ctx: NullContext) => Result;
/**
* Visit a parse tree produced by the `nullId`
* labeled alternative in `ManiaScriptParser.literal`.
* @param ctx the parse tree
* @return the visitor result
*/
visitNullId?: (ctx: NullIdContext) => Result;
/**
* Visit a parse tree produced by the `text`
* labeled alternative in `ManiaScriptParser.literal`.
* @param ctx the parse tree
* @return the visitor result
*/
visitText?: (ctx: TextContext) => Result;
/**
* Visit a parse tree produced by the `enum`
* labeled alternative in `ManiaScriptParser.literal`.
* @param ctx the parse tree
* @return the visitor result
*/
visitEnum?: (ctx: EnumContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.textLiteral`.
* @param ctx the parse tree
* @return the visitor result
*/
visitTextLiteral?: (ctx: TextLiteralContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.textTranslatedLiteral`.
* @param ctx the parse tree
* @return the visitor result
*/
visitTextTranslatedLiteral?: (ctx: TextTranslatedLiteralContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.textBaseLiteral`.
* @param ctx the parse tree
* @return the visitor result
*/
visitTextBaseLiteral?: (ctx: TextBaseLiteralContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.textSingleQuoteLiteral`.
* @param ctx the parse tree
* @return the visitor result
*/
visitTextSingleQuoteLiteral?: (ctx: TextSingleQuoteLiteralContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.textTripleQuoteLiteral`.
* @param ctx the parse tree
* @return the visitor result
*/
visitTextTripleQuoteLiteral?: (ctx: TextTripleQuoteLiteralContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.enumLiteral`.
* @param ctx the parse tree
* @return the visitor result
*/
visitEnumLiteral?: (ctx: EnumLiteralContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.vector`.
* @param ctx the parse tree
* @return the visitor result
*/
visitVector?: (ctx: VectorContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.parenthesis`.
* @param ctx the parse tree
* @return the visitor result
*/
visitParenthesis?: (ctx: ParenthesisContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.type`.
* @param ctx the parse tree
* @return the visitor result
*/
visitType?: (ctx: TypeContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.initializerType`.
* @param ctx the parse tree
* @return the visitor result
*/
visitInitializerType?: (ctx: InitializerTypeContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.baseType`.
* @param ctx the parse tree
* @return the visitor result
*/
visitBaseType?: (ctx: BaseTypeContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.simpleType`.
* @param ctx the parse tree
* @return the visitor result
*/
visitSimpleType?: (ctx: SimpleTypeContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.enumType`.
* @param ctx the parse tree
* @return the visitor result
*/
visitEnumType?: (ctx: EnumTypeContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.customType`.
* @param ctx the parse tree
* @return the visitor result
*/
visitCustomType?: (ctx: CustomTypeContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.arrayType`.
* @param ctx the parse tree
* @return the visitor result
*/
visitArrayType?: (ctx: ArrayTypeContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.arrayTypeDimension`.
* @param ctx the parse tree
* @return the visitor result
*/
visitArrayTypeDimension?: (ctx: ArrayTypeDimensionContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.assignmentOperator`.
* @param ctx the parse tree
* @return the visitor result
*/
visitAssignmentOperator?: (ctx: AssignmentOperatorContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.storageSpecifier`.
* @param ctx the parse tree
* @return the visitor result
*/
visitStorageSpecifier?: (ctx: StorageSpecifierContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.identifierAlias`.
* @param ctx the parse tree
* @return the visitor result
*/
visitIdentifierAlias?: (ctx: IdentifierAliasContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.textAlias`.
* @param ctx the parse tree
* @return the visitor result
*/
visitTextAlias?: (ctx: TextAliasContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.className`.
* @param ctx the parse tree
* @return the visitor result
*/
visitClassName?: (ctx: ClassNameContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.objectMemberName`.
* @param ctx the parse tree
* @return the visitor result
*/
visitObjectMemberName?: (ctx: ObjectMemberNameContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.enumName`.
* @param ctx the parse tree
* @return the visitor result
*/
visitEnumName?: (ctx: EnumNameContext) => Result;
/**
* Visit a parse tree produced by `ManiaScriptParser.enumValue`.
* @param ctx the parse tree
* @return the visitor result
*/
visitEnumValue?: (ctx: EnumValueContext) => Result;
}