import { AbstractParseTreeVisitor } from "antlr4ng"; import { DocumentContext } from "./QuixosLockParser.js"; import { QuixosEntryContext } from "./QuixosLockParser.js"; import { ResourceEntryContext } from "./QuixosLockParser.js"; import { ImportEntryContext } from "./QuixosLockParser.js"; import { ResourceKindContext } from "./QuixosLockParser.js"; import { SourceBlockContext } from "./QuixosLockParser.js"; import { QuixosSourceBlockContext } from "./QuixosLockParser.js"; import { SourcePolicyContext } from "./QuixosLockParser.js"; import { IdentifierContext } from "./QuixosLockParser.js"; import { StringLiteralContext } from "./QuixosLockParser.js"; /** * This interface defines a complete generic visitor for a parse tree produced * by `QuixosLockParser`. * * @param The return type of the visit operation. Use `void` for * operations with no return type. */ export class QuixosLockVisitor extends AbstractParseTreeVisitor { /** * Visit a parse tree produced by `QuixosLockParser.document`. * @param ctx the parse tree * @return the visitor result */ visitDocument?: (ctx: DocumentContext) => Result; /** * Visit a parse tree produced by `QuixosLockParser.quixosEntry`. * @param ctx the parse tree * @return the visitor result */ visitQuixosEntry?: (ctx: QuixosEntryContext) => Result; /** * Visit a parse tree produced by `QuixosLockParser.resourceEntry`. * @param ctx the parse tree * @return the visitor result */ visitResourceEntry?: (ctx: ResourceEntryContext) => Result; /** * Visit a parse tree produced by `QuixosLockParser.importEntry`. * @param ctx the parse tree * @return the visitor result */ visitImportEntry?: (ctx: ImportEntryContext) => Result; /** * Visit a parse tree produced by `QuixosLockParser.resourceKind`. * @param ctx the parse tree * @return the visitor result */ visitResourceKind?: (ctx: ResourceKindContext) => Result; /** * Visit a parse tree produced by `QuixosLockParser.sourceBlock`. * @param ctx the parse tree * @return the visitor result */ visitSourceBlock?: (ctx: SourceBlockContext) => Result; /** * Visit a parse tree produced by `QuixosLockParser.quixosSourceBlock`. * @param ctx the parse tree * @return the visitor result */ visitQuixosSourceBlock?: (ctx: QuixosSourceBlockContext) => Result; /** * Visit a parse tree produced by `QuixosLockParser.sourcePolicy`. * @param ctx the parse tree * @return the visitor result */ visitSourcePolicy?: (ctx: SourcePolicyContext) => Result; /** * Visit a parse tree produced by `QuixosLockParser.identifier`. * @param ctx the parse tree * @return the visitor result */ visitIdentifier?: (ctx: IdentifierContext) => Result; /** * Visit a parse tree produced by `QuixosLockParser.stringLiteral`. * @param ctx the parse tree * @return the visitor result */ visitStringLiteral?: (ctx: StringLiteralContext) => Result; }