UNPKG

github-users-parser

Version:
25 lines 926 B
import { ParseTreeVisitor } from "antlr4ts/tree/ParseTreeVisitor"; import { FileContext } from "./GITHUBUSERSParser"; import { EntryContext } from "./GITHUBUSERSParser"; /** * This interface defines a complete generic visitor for a parse tree produced * by `GITHUBUSERSParser`. * * @param <Result> The return type of the visit operation. Use `void` for * operations with no return type. */ export interface GITHUBUSERSParserVisitor<Result> extends ParseTreeVisitor<Result> { /** * Visit a parse tree produced by `GITHUBUSERSParser.file`. * @param ctx the parse tree * @return the visitor result */ visitFile?: (ctx: FileContext) => Result; /** * Visit a parse tree produced by `GITHUBUSERSParser.entry`. * @param ctx the parse tree * @return the visitor result */ visitEntry?: (ctx: EntryContext) => Result; } //# sourceMappingURL=GITHUBUSERSParserVisitor.d.ts.map