import { ParseTreeVisitor } from "antlr4ts/tree/ParseTreeVisitor"; import { DistanceStatementContext } from "./MapParser"; import { VarAssignStatementContext } from "./MapParser"; import { SimpleStatementContext } from "./MapParser"; import { KeyStatementContext } from "./MapParser"; import { KeyWithSubelementStatementContext } from "./MapParser"; import { ParensExprContext } from "./MapParser"; import { UnaryExprContext } from "./MapParser"; import { InfixExprContext } from "./MapParser"; import { AbsExprContext } from "./MapParser"; import { Atan2ExprContext } from "./MapParser"; import { CeilExprContext } from "./MapParser"; import { CosExprContext } from "./MapParser"; import { ExpExprContext } from "./MapParser"; import { FloorExprContext } from "./MapParser"; import { LogExprContext } from "./MapParser"; import { PowExprContext } from "./MapParser"; import { RandExprContext } from "./MapParser"; import { SinExprContext } from "./MapParser"; import { SqrtExprContext } from "./MapParser"; import { VarExprContext } from "./MapParser"; import { NumberExprContext } from "./MapParser"; import { StringExprContext } from "./MapParser"; import { DistanceExprContext } from "./MapParser"; import { RootContext } from "./MapParser"; import { StatementContext } from "./MapParser"; import { ElementContext } from "./MapParser"; import { SubelementContext } from "./MapParser"; import { FunctionContext } from "./MapParser"; import { ArgsContext } from "./MapParser"; import { NullableExprContext } from "./MapParser"; import { ExprContext } from "./MapParser"; import { VarContext } from "./MapParser"; import { StringContext } from "./MapParser"; import { String_textContext } from "./MapParser"; import { Error_tokensContext } from "./MapParser"; /** * This interface defines a complete generic visitor for a parse tree produced * by `MapParser`. * * @param The return type of the visit operation. Use `void` for * operations with no return type. */ export interface MapParserVisitor extends ParseTreeVisitor { /** * Visit a parse tree produced by the `distanceStatement` * labeled alternative in `MapParser.statement`. * @param ctx the parse tree * @return the visitor result */ visitDistanceStatement?: (ctx: DistanceStatementContext) => Result; /** * Visit a parse tree produced by the `varAssignStatement` * labeled alternative in `MapParser.statement`. * @param ctx the parse tree * @return the visitor result */ visitVarAssignStatement?: (ctx: VarAssignStatementContext) => Result; /** * Visit a parse tree produced by the `simpleStatement` * labeled alternative in `MapParser.statement`. * @param ctx the parse tree * @return the visitor result */ visitSimpleStatement?: (ctx: SimpleStatementContext) => Result; /** * Visit a parse tree produced by the `keyStatement` * labeled alternative in `MapParser.statement`. * @param ctx the parse tree * @return the visitor result */ visitKeyStatement?: (ctx: KeyStatementContext) => Result; /** * Visit a parse tree produced by the `keyWithSubelementStatement` * labeled alternative in `MapParser.statement`. * @param ctx the parse tree * @return the visitor result */ visitKeyWithSubelementStatement?: (ctx: KeyWithSubelementStatementContext) => Result; /** * Visit a parse tree produced by the `parensExpr` * labeled alternative in `MapParser.expr`. * @param ctx the parse tree * @return the visitor result */ visitParensExpr?: (ctx: ParensExprContext) => Result; /** * Visit a parse tree produced by the `unaryExpr` * labeled alternative in `MapParser.expr`. * @param ctx the parse tree * @return the visitor result */ visitUnaryExpr?: (ctx: UnaryExprContext) => Result; /** * Visit a parse tree produced by the `infixExpr` * labeled alternative in `MapParser.expr`. * @param ctx the parse tree * @return the visitor result */ visitInfixExpr?: (ctx: InfixExprContext) => Result; /** * Visit a parse tree produced by the `absExpr` * labeled alternative in `MapParser.expr`. * @param ctx the parse tree * @return the visitor result */ visitAbsExpr?: (ctx: AbsExprContext) => Result; /** * Visit a parse tree produced by the `atan2Expr` * labeled alternative in `MapParser.expr`. * @param ctx the parse tree * @return the visitor result */ visitAtan2Expr?: (ctx: Atan2ExprContext) => Result; /** * Visit a parse tree produced by the `ceilExpr` * labeled alternative in `MapParser.expr`. * @param ctx the parse tree * @return the visitor result */ visitCeilExpr?: (ctx: CeilExprContext) => Result; /** * Visit a parse tree produced by the `cosExpr` * labeled alternative in `MapParser.expr`. * @param ctx the parse tree * @return the visitor result */ visitCosExpr?: (ctx: CosExprContext) => Result; /** * Visit a parse tree produced by the `expExpr` * labeled alternative in `MapParser.expr`. * @param ctx the parse tree * @return the visitor result */ visitExpExpr?: (ctx: ExpExprContext) => Result; /** * Visit a parse tree produced by the `floorExpr` * labeled alternative in `MapParser.expr`. * @param ctx the parse tree * @return the visitor result */ visitFloorExpr?: (ctx: FloorExprContext) => Result; /** * Visit a parse tree produced by the `logExpr` * labeled alternative in `MapParser.expr`. * @param ctx the parse tree * @return the visitor result */ visitLogExpr?: (ctx: LogExprContext) => Result; /** * Visit a parse tree produced by the `powExpr` * labeled alternative in `MapParser.expr`. * @param ctx the parse tree * @return the visitor result */ visitPowExpr?: (ctx: PowExprContext) => Result; /** * Visit a parse tree produced by the `randExpr` * labeled alternative in `MapParser.expr`. * @param ctx the parse tree * @return the visitor result */ visitRandExpr?: (ctx: RandExprContext) => Result; /** * Visit a parse tree produced by the `sinExpr` * labeled alternative in `MapParser.expr`. * @param ctx the parse tree * @return the visitor result */ visitSinExpr?: (ctx: SinExprContext) => Result; /** * Visit a parse tree produced by the `sqrtExpr` * labeled alternative in `MapParser.expr`. * @param ctx the parse tree * @return the visitor result */ visitSqrtExpr?: (ctx: SqrtExprContext) => Result; /** * Visit a parse tree produced by the `varExpr` * labeled alternative in `MapParser.expr`. * @param ctx the parse tree * @return the visitor result */ visitVarExpr?: (ctx: VarExprContext) => Result; /** * Visit a parse tree produced by the `numberExpr` * labeled alternative in `MapParser.expr`. * @param ctx the parse tree * @return the visitor result */ visitNumberExpr?: (ctx: NumberExprContext) => Result; /** * Visit a parse tree produced by the `stringExpr` * labeled alternative in `MapParser.expr`. * @param ctx the parse tree * @return the visitor result */ visitStringExpr?: (ctx: StringExprContext) => Result; /** * Visit a parse tree produced by the `distanceExpr` * labeled alternative in `MapParser.expr`. * @param ctx the parse tree * @return the visitor result */ visitDistanceExpr?: (ctx: DistanceExprContext) => Result; /** * Visit a parse tree produced by `MapParser.root`. * @param ctx the parse tree * @return the visitor result */ visitRoot?: (ctx: RootContext) => Result; /** * Visit a parse tree produced by `MapParser.statement`. * @param ctx the parse tree * @return the visitor result */ visitStatement?: (ctx: StatementContext) => Result; /** * Visit a parse tree produced by `MapParser.element`. * @param ctx the parse tree * @return the visitor result */ visitElement?: (ctx: ElementContext) => Result; /** * Visit a parse tree produced by `MapParser.subelement`. * @param ctx the parse tree * @return the visitor result */ visitSubelement?: (ctx: SubelementContext) => Result; /** * Visit a parse tree produced by `MapParser.function`. * @param ctx the parse tree * @return the visitor result */ visitFunction?: (ctx: FunctionContext) => Result; /** * Visit a parse tree produced by `MapParser.args`. * @param ctx the parse tree * @return the visitor result */ visitArgs?: (ctx: ArgsContext) => Result; /** * Visit a parse tree produced by `MapParser.nullableExpr`. * @param ctx the parse tree * @return the visitor result */ visitNullableExpr?: (ctx: NullableExprContext) => Result; /** * Visit a parse tree produced by `MapParser.expr`. * @param ctx the parse tree * @return the visitor result */ visitExpr?: (ctx: ExprContext) => Result; /** * Visit a parse tree produced by `MapParser.var`. * @param ctx the parse tree * @return the visitor result */ visitVar?: (ctx: VarContext) => Result; /** * Visit a parse tree produced by `MapParser.string`. * @param ctx the parse tree * @return the visitor result */ visitString?: (ctx: StringContext) => Result; /** * Visit a parse tree produced by `MapParser.string_text`. * @param ctx the parse tree * @return the visitor result */ visitString_text?: (ctx: String_textContext) => Result; /** * Visit a parse tree produced by `MapParser.error_tokens`. * @param ctx the parse tree * @return the visitor result */ visitError_tokens?: (ctx: Error_tokensContext) => Result; }