import { ParseTreeListener } from "antlr4"; import { StartContext } from "./TASONParser.js"; import { ObjectValueContext } from "./TASONParser.js"; import { ArrayValueContext } from "./TASONParser.js"; import { StringValueContext } from "./TASONParser.js"; import { NumberValueContext } from "./TASONParser.js"; import { BooleanValueContext } from "./TASONParser.js"; import { NullValueContext } from "./TASONParser.js"; import { TypeInstanceValueContext } from "./TASONParser.js"; import { BooleanContext } from "./TASONParser.js"; import { ScalarTypeInstanceContext } from "./TASONParser.js"; import { ObjectTypeInstanceContext } from "./TASONParser.js"; import { ObjectContext } from "./TASONParser.js"; import { PairContext } from "./TASONParser.js"; import { StringKeyContext } from "./TASONParser.js"; import { IdentifierContext } from "./TASONParser.js"; import { ArrayContext } from "./TASONParser.js"; import { NumberContext } from "./TASONParser.js"; /** * This interface defines a complete listener for a parse tree produced by * `TASONParser`. */ export default class TASONListener extends ParseTreeListener { /** * Enter a parse tree produced by `TASONParser.start`. * @param ctx the parse tree */ enterStart?: (ctx: StartContext) => void; /** * Exit a parse tree produced by `TASONParser.start`. * @param ctx the parse tree */ exitStart?: (ctx: StartContext) => void; /** * Enter a parse tree produced by the `ObjectValue` * labeled alternative in `TASONParser.value`. * @param ctx the parse tree */ enterObjectValue?: (ctx: ObjectValueContext) => void; /** * Exit a parse tree produced by the `ObjectValue` * labeled alternative in `TASONParser.value`. * @param ctx the parse tree */ exitObjectValue?: (ctx: ObjectValueContext) => void; /** * Enter a parse tree produced by the `ArrayValue` * labeled alternative in `TASONParser.value`. * @param ctx the parse tree */ enterArrayValue?: (ctx: ArrayValueContext) => void; /** * Exit a parse tree produced by the `ArrayValue` * labeled alternative in `TASONParser.value`. * @param ctx the parse tree */ exitArrayValue?: (ctx: ArrayValueContext) => void; /** * Enter a parse tree produced by the `StringValue` * labeled alternative in `TASONParser.value`. * @param ctx the parse tree */ enterStringValue?: (ctx: StringValueContext) => void; /** * Exit a parse tree produced by the `StringValue` * labeled alternative in `TASONParser.value`. * @param ctx the parse tree */ exitStringValue?: (ctx: StringValueContext) => void; /** * Enter a parse tree produced by the `NumberValue` * labeled alternative in `TASONParser.value`. * @param ctx the parse tree */ enterNumberValue?: (ctx: NumberValueContext) => void; /** * Exit a parse tree produced by the `NumberValue` * labeled alternative in `TASONParser.value`. * @param ctx the parse tree */ exitNumberValue?: (ctx: NumberValueContext) => void; /** * Enter a parse tree produced by the `BooleanValue` * labeled alternative in `TASONParser.value`. * @param ctx the parse tree */ enterBooleanValue?: (ctx: BooleanValueContext) => void; /** * Exit a parse tree produced by the `BooleanValue` * labeled alternative in `TASONParser.value`. * @param ctx the parse tree */ exitBooleanValue?: (ctx: BooleanValueContext) => void; /** * Enter a parse tree produced by the `NullValue` * labeled alternative in `TASONParser.value`. * @param ctx the parse tree */ enterNullValue?: (ctx: NullValueContext) => void; /** * Exit a parse tree produced by the `NullValue` * labeled alternative in `TASONParser.value`. * @param ctx the parse tree */ exitNullValue?: (ctx: NullValueContext) => void; /** * Enter a parse tree produced by the `TypeInstanceValue` * labeled alternative in `TASONParser.value`. * @param ctx the parse tree */ enterTypeInstanceValue?: (ctx: TypeInstanceValueContext) => void; /** * Exit a parse tree produced by the `TypeInstanceValue` * labeled alternative in `TASONParser.value`. * @param ctx the parse tree */ exitTypeInstanceValue?: (ctx: TypeInstanceValueContext) => void; /** * Enter a parse tree produced by `TASONParser.boolean`. * @param ctx the parse tree */ enterBoolean?: (ctx: BooleanContext) => void; /** * Exit a parse tree produced by `TASONParser.boolean`. * @param ctx the parse tree */ exitBoolean?: (ctx: BooleanContext) => void; /** * Enter a parse tree produced by the `ScalarTypeInstance` * labeled alternative in `TASONParser.typeInstance`. * @param ctx the parse tree */ enterScalarTypeInstance?: (ctx: ScalarTypeInstanceContext) => void; /** * Exit a parse tree produced by the `ScalarTypeInstance` * labeled alternative in `TASONParser.typeInstance`. * @param ctx the parse tree */ exitScalarTypeInstance?: (ctx: ScalarTypeInstanceContext) => void; /** * Enter a parse tree produced by the `ObjectTypeInstance` * labeled alternative in `TASONParser.typeInstance`. * @param ctx the parse tree */ enterObjectTypeInstance?: (ctx: ObjectTypeInstanceContext) => void; /** * Exit a parse tree produced by the `ObjectTypeInstance` * labeled alternative in `TASONParser.typeInstance`. * @param ctx the parse tree */ exitObjectTypeInstance?: (ctx: ObjectTypeInstanceContext) => void; /** * Enter a parse tree produced by `TASONParser.object`. * @param ctx the parse tree */ enterObject?: (ctx: ObjectContext) => void; /** * Exit a parse tree produced by `TASONParser.object`. * @param ctx the parse tree */ exitObject?: (ctx: ObjectContext) => void; /** * Enter a parse tree produced by `TASONParser.pair`. * @param ctx the parse tree */ enterPair?: (ctx: PairContext) => void; /** * Exit a parse tree produced by `TASONParser.pair`. * @param ctx the parse tree */ exitPair?: (ctx: PairContext) => void; /** * Enter a parse tree produced by the `StringKey` * labeled alternative in `TASONParser.key`. * @param ctx the parse tree */ enterStringKey?: (ctx: StringKeyContext) => void; /** * Exit a parse tree produced by the `StringKey` * labeled alternative in `TASONParser.key`. * @param ctx the parse tree */ exitStringKey?: (ctx: StringKeyContext) => void; /** * Enter a parse tree produced by the `Identifier` * labeled alternative in `TASONParser.key`. * @param ctx the parse tree */ enterIdentifier?: (ctx: IdentifierContext) => void; /** * Exit a parse tree produced by the `Identifier` * labeled alternative in `TASONParser.key`. * @param ctx the parse tree */ exitIdentifier?: (ctx: IdentifierContext) => void; /** * Enter a parse tree produced by `TASONParser.array`. * @param ctx the parse tree */ enterArray?: (ctx: ArrayContext) => void; /** * Exit a parse tree produced by `TASONParser.array`. * @param ctx the parse tree */ exitArray?: (ctx: ArrayContext) => void; /** * Enter a parse tree produced by `TASONParser.number`. * @param ctx the parse tree */ enterNumber?: (ctx: NumberContext) => void; /** * Exit a parse tree produced by `TASONParser.number`. * @param ctx the parse tree */ exitNumber?: (ctx: NumberContext) => void; }