@apexdevtools/apex-parser 5.0.0-beta.5 → 5.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -1
- package/README.md +55 -4
- package/dist/browser/apex-parser.mjs +64579 -0
- package/dist/browser/apex-parser.mjs.map +1 -0
- package/dist/browser/apex-parser.umd.js +64784 -0
- package/dist/browser/apex-parser.umd.js.map +1 -0
- package/dist/cjs/ApexErrorListener.cjs +31 -0
- package/dist/cjs/ApexErrorListener.cjs.map +1 -0
- package/dist/cjs/ApexParserFactory.cjs +83 -0
- package/dist/cjs/ApexParserFactory.cjs.map +1 -0
- package/dist/cjs/CaseInsensitiveInputStream.cjs +30 -0
- package/dist/cjs/CaseInsensitiveInputStream.cjs.map +1 -0
- package/dist/cjs/Check.cjs +172 -0
- package/dist/cjs/Check.cjs.map +1 -0
- package/dist/cjs/antlr/ApexLexer.cjs +23244 -0
- package/dist/cjs/antlr/ApexLexer.cjs.map +1 -0
- package/dist/cjs/antlr/ApexParser.cjs +38369 -0
- package/dist/cjs/antlr/ApexParser.cjs.map +1 -0
- package/dist/cjs/antlr/ApexParserListener.cjs +1915 -0
- package/dist/cjs/antlr/ApexParserListener.cjs.map +1 -0
- package/dist/cjs/antlr/ApexParserVisitor.cjs +1147 -0
- package/dist/cjs/antlr/ApexParserVisitor.cjs.map +1 -0
- package/dist/cjs/index.cjs +214 -0
- package/dist/cjs/index.cjs.map +1 -0
- package/dist/esm/ApexErrorListener.js +27 -0
- package/dist/esm/ApexErrorListener.js.map +1 -0
- package/dist/esm/ApexParserFactory.js +78 -0
- package/dist/esm/ApexParserFactory.js.map +1 -0
- package/dist/esm/CaseInsensitiveInputStream.js +28 -0
- package/dist/esm/CaseInsensitiveInputStream.js.map +1 -0
- package/dist/esm/Check.js +169 -0
- package/dist/esm/Check.js.map +1 -0
- package/dist/esm/antlr/ApexLexer.js +23240 -0
- package/dist/esm/antlr/ApexLexer.js.map +1 -0
- package/dist/esm/antlr/ApexParser.js +38179 -0
- package/dist/esm/antlr/ApexParser.js.map +1 -0
- package/dist/esm/antlr/ApexParserListener.js +1911 -0
- package/dist/esm/antlr/ApexParserListener.js.map +1 -0
- package/dist/esm/antlr/ApexParserVisitor.js +1143 -0
- package/dist/esm/antlr/ApexParserVisitor.js.map +1 -0
- package/dist/esm/index.js +9 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/types/ApexErrorListener.d.cts +26 -0
- package/dist/{src → types}/ApexErrorListener.d.ts +4 -3
- package/dist/types/ApexParserFactory.d.cts +81 -0
- package/dist/{src → types}/ApexParserFactory.d.ts +12 -0
- package/dist/types/CaseInsensitiveInputStream.d.ts +14 -0
- package/dist/types/Check.d.ts +36 -0
- package/dist/types/antlr/ApexLexer.d.cts +275 -0
- package/dist/{src → types}/antlr/ApexLexer.d.ts +54 -53
- package/dist/types/antlr/ApexParser.d.cts +3126 -0
- package/dist/{src → types}/antlr/ApexParser.d.ts +113 -85
- package/dist/{src/antlr/ApexParserListener.js → types/antlr/ApexParserListener.d.cts} +568 -366
- package/dist/{src → types}/antlr/ApexParserListener.d.ts +22 -0
- package/dist/{src/antlr/ApexParserVisitor.js → types/antlr/ApexParserVisitor.d.cts} +379 -185
- package/dist/{src → types}/antlr/ApexParserVisitor.d.ts +14 -0
- package/dist/types/index.browser.d.cts +8 -0
- package/dist/types/index.browser.d.ts +8 -0
- package/dist/types/index.d.ts +9 -0
- package/package.json +89 -21
- package/dist/src/ApexErrorListener.js +0 -61
- package/dist/src/ApexErrorListener.js.map +0 -1
- package/dist/src/ApexParserFactory.js +0 -116
- package/dist/src/ApexParserFactory.js.map +0 -1
- package/dist/src/CaseInsensitiveInputStream.js +0 -64
- package/dist/src/CaseInsensitiveInputStream.js.map +0 -1
- package/dist/src/Check.js +0 -205
- package/dist/src/Check.js.map +0 -1
- package/dist/src/antlr/ApexLexer.js +0 -1573
- package/dist/src/antlr/ApexLexer.js.map +0 -1
- package/dist/src/antlr/ApexParser.js +0 -20786
- package/dist/src/antlr/ApexParser.js.map +0 -1
- package/dist/src/antlr/ApexParserListener.js.map +0 -1
- package/dist/src/antlr/ApexParserVisitor.js.map +0 -1
- package/dist/src/index.js +0 -37
- package/dist/src/index.js.map +0 -1
- /package/dist/{src/CaseInsensitiveInputStream.d.ts → types/CaseInsensitiveInputStream.d.cts} +0 -0
- /package/dist/{src/Check.d.ts → types/Check.d.cts} +0 -0
- /package/dist/{src/index.d.ts → types/index.d.cts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApexParserVisitor.cjs","sources":["../../../src/antlr/ApexParserVisitor.ts"],"sourcesContent":["// Generated from ApexParser.g4 by ANTLR 4.13.2\n\nimport {ParseTreeVisitor} from 'antlr4';\n\n\nimport { TriggerUnitContext } from \"./ApexParser.js\";\nimport { TriggerCaseContext } from \"./ApexParser.js\";\nimport { TriggerBlockContext } from \"./ApexParser.js\";\nimport { TriggerBlockMemberContext } from \"./ApexParser.js\";\nimport { AnonymousUnitContext } from \"./ApexParser.js\";\nimport { AnonymousBlockContext } from \"./ApexParser.js\";\nimport { AnonymousBlockMemberContext } from \"./ApexParser.js\";\nimport { CompilationUnitContext } from \"./ApexParser.js\";\nimport { TypeDeclarationContext } from \"./ApexParser.js\";\nimport { ClassDeclarationContext } from \"./ApexParser.js\";\nimport { EnumDeclarationContext } from \"./ApexParser.js\";\nimport { EnumConstantsContext } from \"./ApexParser.js\";\nimport { InterfaceDeclarationContext } from \"./ApexParser.js\";\nimport { TypeListContext } from \"./ApexParser.js\";\nimport { ClassBodyContext } from \"./ApexParser.js\";\nimport { InterfaceBodyContext } from \"./ApexParser.js\";\nimport { ClassBodyDeclarationContext } from \"./ApexParser.js\";\nimport { ModifierContext } from \"./ApexParser.js\";\nimport { MemberDeclarationContext } from \"./ApexParser.js\";\nimport { TriggerMemberDeclarationContext } from \"./ApexParser.js\";\nimport { AnonymousMemberDeclarationContext } from \"./ApexParser.js\";\nimport { MethodDeclarationContext } from \"./ApexParser.js\";\nimport { ConstructorDeclarationContext } from \"./ApexParser.js\";\nimport { FieldDeclarationContext } from \"./ApexParser.js\";\nimport { PropertyDeclarationContext } from \"./ApexParser.js\";\nimport { InterfaceMethodDeclarationContext } from \"./ApexParser.js\";\nimport { VariableDeclaratorsContext } from \"./ApexParser.js\";\nimport { VariableDeclaratorContext } from \"./ApexParser.js\";\nimport { ArrayInitializerContext } from \"./ApexParser.js\";\nimport { TypeRefContext } from \"./ApexParser.js\";\nimport { ArraySubscriptsContext } from \"./ApexParser.js\";\nimport { TypeNameContext } from \"./ApexParser.js\";\nimport { TypeArgumentsContext } from \"./ApexParser.js\";\nimport { FormalParametersContext } from \"./ApexParser.js\";\nimport { FormalParameterListContext } from \"./ApexParser.js\";\nimport { FormalParameterContext } from \"./ApexParser.js\";\nimport { QualifiedNameContext } from \"./ApexParser.js\";\nimport { LiteralContext } from \"./ApexParser.js\";\nimport { AnnotationContext } from \"./ApexParser.js\";\nimport { ElementValuePairsContext } from \"./ApexParser.js\";\nimport { ElementValuePairContext } from \"./ApexParser.js\";\nimport { ElementValueContext } from \"./ApexParser.js\";\nimport { ElementValueArrayInitializerContext } from \"./ApexParser.js\";\nimport { BlockContext } from \"./ApexParser.js\";\nimport { LocalVariableDeclarationStatementContext } from \"./ApexParser.js\";\nimport { LocalVariableDeclarationContext } from \"./ApexParser.js\";\nimport { StatementContext } from \"./ApexParser.js\";\nimport { IfStatementContext } from \"./ApexParser.js\";\nimport { SwitchStatementContext } from \"./ApexParser.js\";\nimport { WhenControlContext } from \"./ApexParser.js\";\nimport { WhenValueContext } from \"./ApexParser.js\";\nimport { WhenLiteralContext } from \"./ApexParser.js\";\nimport { ForStatementContext } from \"./ApexParser.js\";\nimport { WhileStatementContext } from \"./ApexParser.js\";\nimport { DoWhileStatementContext } from \"./ApexParser.js\";\nimport { TryStatementContext } from \"./ApexParser.js\";\nimport { ReturnStatementContext } from \"./ApexParser.js\";\nimport { ThrowStatementContext } from \"./ApexParser.js\";\nimport { BreakStatementContext } from \"./ApexParser.js\";\nimport { ContinueStatementContext } from \"./ApexParser.js\";\nimport { AccessLevelContext } from \"./ApexParser.js\";\nimport { InsertStatementContext } from \"./ApexParser.js\";\nimport { UpdateStatementContext } from \"./ApexParser.js\";\nimport { DeleteStatementContext } from \"./ApexParser.js\";\nimport { UndeleteStatementContext } from \"./ApexParser.js\";\nimport { UpsertStatementContext } from \"./ApexParser.js\";\nimport { MergeStatementContext } from \"./ApexParser.js\";\nimport { RunAsStatementContext } from \"./ApexParser.js\";\nimport { ExpressionStatementContext } from \"./ApexParser.js\";\nimport { PropertyBlockContext } from \"./ApexParser.js\";\nimport { GetterContext } from \"./ApexParser.js\";\nimport { SetterContext } from \"./ApexParser.js\";\nimport { CatchClauseContext } from \"./ApexParser.js\";\nimport { FinallyBlockContext } from \"./ApexParser.js\";\nimport { ForControlContext } from \"./ApexParser.js\";\nimport { ForInitContext } from \"./ApexParser.js\";\nimport { EnhancedForControlContext } from \"./ApexParser.js\";\nimport { ForUpdateContext } from \"./ApexParser.js\";\nimport { ParExpressionContext } from \"./ApexParser.js\";\nimport { ExpressionListContext } from \"./ApexParser.js\";\nimport { PrimaryExpressionContext } from \"./ApexParser.js\";\nimport { Arth1ExpressionContext } from \"./ApexParser.js\";\nimport { CoalExpressionContext } from \"./ApexParser.js\";\nimport { DotExpressionContext } from \"./ApexParser.js\";\nimport { BitOrExpressionContext } from \"./ApexParser.js\";\nimport { ArrayExpressionContext } from \"./ApexParser.js\";\nimport { NewExpressionContext } from \"./ApexParser.js\";\nimport { AssignExpressionContext } from \"./ApexParser.js\";\nimport { MethodCallExpressionContext } from \"./ApexParser.js\";\nimport { BitNotExpressionContext } from \"./ApexParser.js\";\nimport { Arth2ExpressionContext } from \"./ApexParser.js\";\nimport { LogAndExpressionContext } from \"./ApexParser.js\";\nimport { CastExpressionContext } from \"./ApexParser.js\";\nimport { BitAndExpressionContext } from \"./ApexParser.js\";\nimport { CmpExpressionContext } from \"./ApexParser.js\";\nimport { BitExpressionContext } from \"./ApexParser.js\";\nimport { LogOrExpressionContext } from \"./ApexParser.js\";\nimport { CondExpressionContext } from \"./ApexParser.js\";\nimport { EqualityExpressionContext } from \"./ApexParser.js\";\nimport { PostOpExpressionContext } from \"./ApexParser.js\";\nimport { NegExpressionContext } from \"./ApexParser.js\";\nimport { PreOpExpressionContext } from \"./ApexParser.js\";\nimport { SubExpressionContext } from \"./ApexParser.js\";\nimport { InstanceOfExpressionContext } from \"./ApexParser.js\";\nimport { ThisPrimaryContext } from \"./ApexParser.js\";\nimport { SuperPrimaryContext } from \"./ApexParser.js\";\nimport { LiteralPrimaryContext } from \"./ApexParser.js\";\nimport { TypeRefPrimaryContext } from \"./ApexParser.js\";\nimport { VoidPrimaryContext } from \"./ApexParser.js\";\nimport { IdPrimaryContext } from \"./ApexParser.js\";\nimport { SoqlPrimaryContext } from \"./ApexParser.js\";\nimport { SoslPrimaryContext } from \"./ApexParser.js\";\nimport { MethodCallContext } from \"./ApexParser.js\";\nimport { DotMethodCallContext } from \"./ApexParser.js\";\nimport { CreatorContext } from \"./ApexParser.js\";\nimport { CreatedNameContext } from \"./ApexParser.js\";\nimport { IdCreatedNamePairContext } from \"./ApexParser.js\";\nimport { NoRestContext } from \"./ApexParser.js\";\nimport { ClassCreatorRestContext } from \"./ApexParser.js\";\nimport { ArrayCreatorRestContext } from \"./ApexParser.js\";\nimport { MapCreatorRestContext } from \"./ApexParser.js\";\nimport { MapCreatorRestPairContext } from \"./ApexParser.js\";\nimport { SetCreatorRestContext } from \"./ApexParser.js\";\nimport { ArgumentsContext } from \"./ApexParser.js\";\nimport { SoqlLiteralContext } from \"./ApexParser.js\";\nimport { QueryContext } from \"./ApexParser.js\";\nimport { SubQueryContext } from \"./ApexParser.js\";\nimport { SelectListContext } from \"./ApexParser.js\";\nimport { SelectEntryContext } from \"./ApexParser.js\";\nimport { FieldNameContext } from \"./ApexParser.js\";\nimport { FromNameListContext } from \"./ApexParser.js\";\nimport { SubFieldListContext } from \"./ApexParser.js\";\nimport { SubFieldEntryContext } from \"./ApexParser.js\";\nimport { SoqlFieldsParameterContext } from \"./ApexParser.js\";\nimport { SoqlFunctionContext } from \"./ApexParser.js\";\nimport { DateFieldNameContext } from \"./ApexParser.js\";\nimport { LocationValueContext } from \"./ApexParser.js\";\nimport { CoordinateValueContext } from \"./ApexParser.js\";\nimport { TypeOfContext } from \"./ApexParser.js\";\nimport { WhenClauseContext } from \"./ApexParser.js\";\nimport { ElseClauseContext } from \"./ApexParser.js\";\nimport { FieldNameListContext } from \"./ApexParser.js\";\nimport { UsingScopeContext } from \"./ApexParser.js\";\nimport { WhereClauseContext } from \"./ApexParser.js\";\nimport { LogicalExpressionContext } from \"./ApexParser.js\";\nimport { ConditionalExpressionContext } from \"./ApexParser.js\";\nimport { FieldExpressionContext } from \"./ApexParser.js\";\nimport { ComparisonOperatorContext } from \"./ApexParser.js\";\nimport { ValueContext } from \"./ApexParser.js\";\nimport { ValueListContext } from \"./ApexParser.js\";\nimport { SignedNumberContext } from \"./ApexParser.js\";\nimport { WithClauseContext } from \"./ApexParser.js\";\nimport { FilteringExpressionContext } from \"./ApexParser.js\";\nimport { DataCategorySelectionContext } from \"./ApexParser.js\";\nimport { DataCategoryNameContext } from \"./ApexParser.js\";\nimport { FilteringSelectorContext } from \"./ApexParser.js\";\nimport { GroupByClauseContext } from \"./ApexParser.js\";\nimport { FieldGroupByListContext } from \"./ApexParser.js\";\nimport { FieldGroupByContext } from \"./ApexParser.js\";\nimport { OrderByClauseContext } from \"./ApexParser.js\";\nimport { FieldOrderListContext } from \"./ApexParser.js\";\nimport { FieldOrderContext } from \"./ApexParser.js\";\nimport { LimitClauseContext } from \"./ApexParser.js\";\nimport { OffsetClauseContext } from \"./ApexParser.js\";\nimport { AllRowsClauseContext } from \"./ApexParser.js\";\nimport { ForClausesContext } from \"./ApexParser.js\";\nimport { BoundExpressionContext } from \"./ApexParser.js\";\nimport { DateFormulaContext } from \"./ApexParser.js\";\nimport { SignedIntegerContext } from \"./ApexParser.js\";\nimport { SoqlIdContext } from \"./ApexParser.js\";\nimport { SoslLiteralContext } from \"./ApexParser.js\";\nimport { SoslLiteralAltContext } from \"./ApexParser.js\";\nimport { SoslClausesContext } from \"./ApexParser.js\";\nimport { SoslWithClauseContext } from \"./ApexParser.js\";\nimport { SearchGroupContext } from \"./ApexParser.js\";\nimport { FieldSpecListContext } from \"./ApexParser.js\";\nimport { FieldSpecContext } from \"./ApexParser.js\";\nimport { FieldListContext } from \"./ApexParser.js\";\nimport { UpdateListContext } from \"./ApexParser.js\";\nimport { UpdateTypeContext } from \"./ApexParser.js\";\nimport { NetworkListContext } from \"./ApexParser.js\";\nimport { SoslIdContext } from \"./ApexParser.js\";\nimport { IdContext } from \"./ApexParser.js\";\nimport { AnyIdContext } from \"./ApexParser.js\";\n\n\n/**\n * This interface defines a complete generic visitor for a parse tree produced\n * by `ApexParser`.\n *\n * @param <Result> The return type of the visit operation. Use `void` for\n * operations with no return type.\n */\nexport default class ApexParserVisitor<Result> extends ParseTreeVisitor<Result> {\n\t/**\n\t * Visit a parse tree produced by `ApexParser.triggerUnit`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitTriggerUnit?: (ctx: TriggerUnitContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.triggerCase`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitTriggerCase?: (ctx: TriggerCaseContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.triggerBlock`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitTriggerBlock?: (ctx: TriggerBlockContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.triggerBlockMember`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitTriggerBlockMember?: (ctx: TriggerBlockMemberContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.anonymousUnit`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitAnonymousUnit?: (ctx: AnonymousUnitContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.anonymousBlock`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitAnonymousBlock?: (ctx: AnonymousBlockContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.anonymousBlockMember`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitAnonymousBlockMember?: (ctx: AnonymousBlockMemberContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.compilationUnit`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitCompilationUnit?: (ctx: CompilationUnitContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.typeDeclaration`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitTypeDeclaration?: (ctx: TypeDeclarationContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.classDeclaration`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitClassDeclaration?: (ctx: ClassDeclarationContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.enumDeclaration`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitEnumDeclaration?: (ctx: EnumDeclarationContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.enumConstants`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitEnumConstants?: (ctx: EnumConstantsContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.interfaceDeclaration`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitInterfaceDeclaration?: (ctx: InterfaceDeclarationContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.typeList`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitTypeList?: (ctx: TypeListContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.classBody`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitClassBody?: (ctx: ClassBodyContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.interfaceBody`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitInterfaceBody?: (ctx: InterfaceBodyContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.classBodyDeclaration`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitClassBodyDeclaration?: (ctx: ClassBodyDeclarationContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.modifier`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitModifier?: (ctx: ModifierContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.memberDeclaration`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitMemberDeclaration?: (ctx: MemberDeclarationContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.triggerMemberDeclaration`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitTriggerMemberDeclaration?: (ctx: TriggerMemberDeclarationContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.anonymousMemberDeclaration`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitAnonymousMemberDeclaration?: (ctx: AnonymousMemberDeclarationContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.methodDeclaration`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitMethodDeclaration?: (ctx: MethodDeclarationContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.constructorDeclaration`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitConstructorDeclaration?: (ctx: ConstructorDeclarationContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.fieldDeclaration`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitFieldDeclaration?: (ctx: FieldDeclarationContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.propertyDeclaration`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitPropertyDeclaration?: (ctx: PropertyDeclarationContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.interfaceMethodDeclaration`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitInterfaceMethodDeclaration?: (ctx: InterfaceMethodDeclarationContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.variableDeclarators`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitVariableDeclarators?: (ctx: VariableDeclaratorsContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.variableDeclarator`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitVariableDeclarator?: (ctx: VariableDeclaratorContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.arrayInitializer`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitArrayInitializer?: (ctx: ArrayInitializerContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.typeRef`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitTypeRef?: (ctx: TypeRefContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.arraySubscripts`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitArraySubscripts?: (ctx: ArraySubscriptsContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.typeName`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitTypeName?: (ctx: TypeNameContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.typeArguments`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitTypeArguments?: (ctx: TypeArgumentsContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.formalParameters`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitFormalParameters?: (ctx: FormalParametersContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.formalParameterList`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitFormalParameterList?: (ctx: FormalParameterListContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.formalParameter`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitFormalParameter?: (ctx: FormalParameterContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.qualifiedName`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitQualifiedName?: (ctx: QualifiedNameContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.literal`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitLiteral?: (ctx: LiteralContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.annotation`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitAnnotation?: (ctx: AnnotationContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.elementValuePairs`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitElementValuePairs?: (ctx: ElementValuePairsContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.elementValuePair`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitElementValuePair?: (ctx: ElementValuePairContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.elementValue`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitElementValue?: (ctx: ElementValueContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.elementValueArrayInitializer`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitElementValueArrayInitializer?: (ctx: ElementValueArrayInitializerContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.block`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitBlock?: (ctx: BlockContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.localVariableDeclarationStatement`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitLocalVariableDeclarationStatement?: (ctx: LocalVariableDeclarationStatementContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.localVariableDeclaration`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitLocalVariableDeclaration?: (ctx: LocalVariableDeclarationContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.statement`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitStatement?: (ctx: StatementContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.ifStatement`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitIfStatement?: (ctx: IfStatementContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.switchStatement`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSwitchStatement?: (ctx: SwitchStatementContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.whenControl`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitWhenControl?: (ctx: WhenControlContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.whenValue`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitWhenValue?: (ctx: WhenValueContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.whenLiteral`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitWhenLiteral?: (ctx: WhenLiteralContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.forStatement`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitForStatement?: (ctx: ForStatementContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.whileStatement`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitWhileStatement?: (ctx: WhileStatementContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.doWhileStatement`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitDoWhileStatement?: (ctx: DoWhileStatementContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.tryStatement`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitTryStatement?: (ctx: TryStatementContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.returnStatement`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitReturnStatement?: (ctx: ReturnStatementContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.throwStatement`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitThrowStatement?: (ctx: ThrowStatementContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.breakStatement`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitBreakStatement?: (ctx: BreakStatementContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.continueStatement`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitContinueStatement?: (ctx: ContinueStatementContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.accessLevel`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitAccessLevel?: (ctx: AccessLevelContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.insertStatement`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitInsertStatement?: (ctx: InsertStatementContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.updateStatement`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitUpdateStatement?: (ctx: UpdateStatementContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.deleteStatement`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitDeleteStatement?: (ctx: DeleteStatementContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.undeleteStatement`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitUndeleteStatement?: (ctx: UndeleteStatementContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.upsertStatement`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitUpsertStatement?: (ctx: UpsertStatementContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.mergeStatement`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitMergeStatement?: (ctx: MergeStatementContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.runAsStatement`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitRunAsStatement?: (ctx: RunAsStatementContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.expressionStatement`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitExpressionStatement?: (ctx: ExpressionStatementContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.propertyBlock`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitPropertyBlock?: (ctx: PropertyBlockContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.getter`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitGetter?: (ctx: GetterContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.setter`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSetter?: (ctx: SetterContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.catchClause`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitCatchClause?: (ctx: CatchClauseContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.finallyBlock`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitFinallyBlock?: (ctx: FinallyBlockContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.forControl`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitForControl?: (ctx: ForControlContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.forInit`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitForInit?: (ctx: ForInitContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.enhancedForControl`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitEnhancedForControl?: (ctx: EnhancedForControlContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.forUpdate`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitForUpdate?: (ctx: ForUpdateContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.parExpression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitParExpression?: (ctx: ParExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.expressionList`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitExpressionList?: (ctx: ExpressionListContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `primaryExpression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitPrimaryExpression?: (ctx: PrimaryExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `arth1Expression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitArth1Expression?: (ctx: Arth1ExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `coalExpression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitCoalExpression?: (ctx: CoalExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `dotExpression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitDotExpression?: (ctx: DotExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `bitOrExpression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitBitOrExpression?: (ctx: BitOrExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `arrayExpression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitArrayExpression?: (ctx: ArrayExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `newExpression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitNewExpression?: (ctx: NewExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `assignExpression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitAssignExpression?: (ctx: AssignExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `methodCallExpression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitMethodCallExpression?: (ctx: MethodCallExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `bitNotExpression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitBitNotExpression?: (ctx: BitNotExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `arth2Expression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitArth2Expression?: (ctx: Arth2ExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `logAndExpression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitLogAndExpression?: (ctx: LogAndExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `castExpression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitCastExpression?: (ctx: CastExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `bitAndExpression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitBitAndExpression?: (ctx: BitAndExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `cmpExpression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitCmpExpression?: (ctx: CmpExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `bitExpression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitBitExpression?: (ctx: BitExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `logOrExpression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitLogOrExpression?: (ctx: LogOrExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `condExpression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitCondExpression?: (ctx: CondExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `equalityExpression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitEqualityExpression?: (ctx: EqualityExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `postOpExpression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitPostOpExpression?: (ctx: PostOpExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `negExpression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitNegExpression?: (ctx: NegExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `preOpExpression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitPreOpExpression?: (ctx: PreOpExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `subExpression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSubExpression?: (ctx: SubExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `instanceOfExpression`\n\t * labeled alternative in `ApexParser.expression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitInstanceOfExpression?: (ctx: InstanceOfExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `thisPrimary`\n\t * labeled alternative in `ApexParser.primary`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitThisPrimary?: (ctx: ThisPrimaryContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `superPrimary`\n\t * labeled alternative in `ApexParser.primary`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSuperPrimary?: (ctx: SuperPrimaryContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `literalPrimary`\n\t * labeled alternative in `ApexParser.primary`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitLiteralPrimary?: (ctx: LiteralPrimaryContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `typeRefPrimary`\n\t * labeled alternative in `ApexParser.primary`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitTypeRefPrimary?: (ctx: TypeRefPrimaryContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `voidPrimary`\n\t * labeled alternative in `ApexParser.primary`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitVoidPrimary?: (ctx: VoidPrimaryContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `idPrimary`\n\t * labeled alternative in `ApexParser.primary`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitIdPrimary?: (ctx: IdPrimaryContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `soqlPrimary`\n\t * labeled alternative in `ApexParser.primary`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSoqlPrimary?: (ctx: SoqlPrimaryContext) => Result;\n\t/**\n\t * Visit a parse tree produced by the `soslPrimary`\n\t * labeled alternative in `ApexParser.primary`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSoslPrimary?: (ctx: SoslPrimaryContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.methodCall`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitMethodCall?: (ctx: MethodCallContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.dotMethodCall`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitDotMethodCall?: (ctx: DotMethodCallContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.creator`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitCreator?: (ctx: CreatorContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.createdName`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitCreatedName?: (ctx: CreatedNameContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.idCreatedNamePair`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitIdCreatedNamePair?: (ctx: IdCreatedNamePairContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.noRest`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitNoRest?: (ctx: NoRestContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.classCreatorRest`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitClassCreatorRest?: (ctx: ClassCreatorRestContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.arrayCreatorRest`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitArrayCreatorRest?: (ctx: ArrayCreatorRestContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.mapCreatorRest`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitMapCreatorRest?: (ctx: MapCreatorRestContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.mapCreatorRestPair`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitMapCreatorRestPair?: (ctx: MapCreatorRestPairContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.setCreatorRest`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSetCreatorRest?: (ctx: SetCreatorRestContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.arguments`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitArguments?: (ctx: ArgumentsContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.soqlLiteral`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSoqlLiteral?: (ctx: SoqlLiteralContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.query`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitQuery?: (ctx: QueryContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.subQuery`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSubQuery?: (ctx: SubQueryContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.selectList`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSelectList?: (ctx: SelectListContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.selectEntry`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSelectEntry?: (ctx: SelectEntryContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.fieldName`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitFieldName?: (ctx: FieldNameContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.fromNameList`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitFromNameList?: (ctx: FromNameListContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.subFieldList`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSubFieldList?: (ctx: SubFieldListContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.subFieldEntry`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSubFieldEntry?: (ctx: SubFieldEntryContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.soqlFieldsParameter`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSoqlFieldsParameter?: (ctx: SoqlFieldsParameterContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.soqlFunction`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSoqlFunction?: (ctx: SoqlFunctionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.dateFieldName`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitDateFieldName?: (ctx: DateFieldNameContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.locationValue`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitLocationValue?: (ctx: LocationValueContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.coordinateValue`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitCoordinateValue?: (ctx: CoordinateValueContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.typeOf`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitTypeOf?: (ctx: TypeOfContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.whenClause`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitWhenClause?: (ctx: WhenClauseContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.elseClause`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitElseClause?: (ctx: ElseClauseContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.fieldNameList`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitFieldNameList?: (ctx: FieldNameListContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.usingScope`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitUsingScope?: (ctx: UsingScopeContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.whereClause`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitWhereClause?: (ctx: WhereClauseContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.logicalExpression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitLogicalExpression?: (ctx: LogicalExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.conditionalExpression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitConditionalExpression?: (ctx: ConditionalExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.fieldExpression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitFieldExpression?: (ctx: FieldExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.comparisonOperator`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitComparisonOperator?: (ctx: ComparisonOperatorContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.value`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitValue?: (ctx: ValueContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.valueList`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitValueList?: (ctx: ValueListContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.signedNumber`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSignedNumber?: (ctx: SignedNumberContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.withClause`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitWithClause?: (ctx: WithClauseContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.filteringExpression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitFilteringExpression?: (ctx: FilteringExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.dataCategorySelection`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitDataCategorySelection?: (ctx: DataCategorySelectionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.dataCategoryName`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitDataCategoryName?: (ctx: DataCategoryNameContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.filteringSelector`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitFilteringSelector?: (ctx: FilteringSelectorContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.groupByClause`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitGroupByClause?: (ctx: GroupByClauseContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.fieldGroupByList`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitFieldGroupByList?: (ctx: FieldGroupByListContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.fieldGroupBy`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitFieldGroupBy?: (ctx: FieldGroupByContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.orderByClause`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitOrderByClause?: (ctx: OrderByClauseContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.fieldOrderList`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitFieldOrderList?: (ctx: FieldOrderListContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.fieldOrder`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitFieldOrder?: (ctx: FieldOrderContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.limitClause`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitLimitClause?: (ctx: LimitClauseContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.offsetClause`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitOffsetClause?: (ctx: OffsetClauseContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.allRowsClause`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitAllRowsClause?: (ctx: AllRowsClauseContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.forClauses`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitForClauses?: (ctx: ForClausesContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.boundExpression`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitBoundExpression?: (ctx: BoundExpressionContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.dateFormula`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitDateFormula?: (ctx: DateFormulaContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.signedInteger`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSignedInteger?: (ctx: SignedIntegerContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.soqlId`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSoqlId?: (ctx: SoqlIdContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.soslLiteral`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSoslLiteral?: (ctx: SoslLiteralContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.soslLiteralAlt`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSoslLiteralAlt?: (ctx: SoslLiteralAltContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.soslClauses`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSoslClauses?: (ctx: SoslClausesContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.soslWithClause`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSoslWithClause?: (ctx: SoslWithClauseContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.searchGroup`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSearchGroup?: (ctx: SearchGroupContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.fieldSpecList`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitFieldSpecList?: (ctx: FieldSpecListContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.fieldSpec`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitFieldSpec?: (ctx: FieldSpecContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.fieldList`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitFieldList?: (ctx: FieldListContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.updateList`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitUpdateList?: (ctx: UpdateListContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.updateType`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitUpdateType?: (ctx: UpdateTypeContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.networkList`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitNetworkList?: (ctx: NetworkListContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.soslId`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitSoslId?: (ctx: SoslIdContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.id`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitId?: (ctx: IdContext) => Result;\n\t/**\n\t * Visit a parse tree produced by `ApexParser.anyId`.\n\t * @param ctx the parse tree\n\t * @return the visitor result\n\t */\n\tvisitAnyId?: (ctx: AnyIdContext) => Result;\n}\n\n"],"names":["ParseTreeVisitor"],"mappings":";;;;;;AAsMA,MAAqB,0BAAkCA,uBAAA,CAAyB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAM/E,gBAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,gBAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,iBAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,uBAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,kBAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,mBAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,yBAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,oBAAA;AAAA;AAAA;AAAA;AAAA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A;AAAA;AAAA;AAAA,EAMA,gBAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,WAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMA,UAAA;AACD;;;;"}
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var ApexErrorListener = require('./ApexErrorListener.cjs');
|
|
4
|
+
var ApexParserFactory = require('./ApexParserFactory.cjs');
|
|
5
|
+
var CaseInsensitiveInputStream = require('./CaseInsensitiveInputStream.cjs');
|
|
6
|
+
var Check = require('./Check.cjs');
|
|
7
|
+
var ApexParser = require('./antlr/ApexParser.cjs');
|
|
8
|
+
var ApexLexer = require('./antlr/ApexLexer.cjs');
|
|
9
|
+
var ApexParserListener = require('./antlr/ApexParserListener.cjs');
|
|
10
|
+
var ApexParserVisitor = require('./antlr/ApexParserVisitor.cjs');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
exports.ApexErrorListener = ApexErrorListener.ApexErrorListener;
|
|
15
|
+
exports.ApexSyntaxError = ApexErrorListener.ApexSyntaxError;
|
|
16
|
+
exports.ThrowingErrorListener = ApexErrorListener.ThrowingErrorListener;
|
|
17
|
+
exports.ApexParseTreeWalker = ApexParserFactory.ApexParseTreeWalker;
|
|
18
|
+
exports.ApexParserBaseListener = ApexParserFactory.ApexParserBaseListener;
|
|
19
|
+
exports.ApexParserBaseVisitor = ApexParserFactory.ApexParserBaseVisitor;
|
|
20
|
+
exports.ApexParserFactory = ApexParserFactory.ApexParserFactory;
|
|
21
|
+
exports.CaseInsensitiveInputStream = CaseInsensitiveInputStream.CaseInsensitiveInputStream;
|
|
22
|
+
exports.check = Check.check;
|
|
23
|
+
exports.checkProject = Check.checkProject;
|
|
24
|
+
exports.AccessLevelContext = ApexParser.AccessLevelContext;
|
|
25
|
+
exports.AllRowsClauseContext = ApexParser.AllRowsClauseContext;
|
|
26
|
+
exports.AnnotationContext = ApexParser.AnnotationContext;
|
|
27
|
+
exports.AnonymousBlockContext = ApexParser.AnonymousBlockContext;
|
|
28
|
+
exports.AnonymousBlockMemberContext = ApexParser.AnonymousBlockMemberContext;
|
|
29
|
+
exports.AnonymousMemberDeclarationContext = ApexParser.AnonymousMemberDeclarationContext;
|
|
30
|
+
exports.AnonymousUnitContext = ApexParser.AnonymousUnitContext;
|
|
31
|
+
exports.AnyIdContext = ApexParser.AnyIdContext;
|
|
32
|
+
exports.ApexParser = ApexParser.default;
|
|
33
|
+
exports.ArgumentsContext = ApexParser.ArgumentsContext;
|
|
34
|
+
exports.ArrayCreatorRestContext = ApexParser.ArrayCreatorRestContext;
|
|
35
|
+
exports.ArrayExpressionContext = ApexParser.ArrayExpressionContext;
|
|
36
|
+
exports.ArrayInitializerContext = ApexParser.ArrayInitializerContext;
|
|
37
|
+
exports.ArraySubscriptsContext = ApexParser.ArraySubscriptsContext;
|
|
38
|
+
exports.Arth1ExpressionContext = ApexParser.Arth1ExpressionContext;
|
|
39
|
+
exports.Arth2ExpressionContext = ApexParser.Arth2ExpressionContext;
|
|
40
|
+
exports.AssignExpressionContext = ApexParser.AssignExpressionContext;
|
|
41
|
+
exports.BitAndExpressionContext = ApexParser.BitAndExpressionContext;
|
|
42
|
+
exports.BitExpressionContext = ApexParser.BitExpressionContext;
|
|
43
|
+
exports.BitNotExpressionContext = ApexParser.BitNotExpressionContext;
|
|
44
|
+
exports.BitOrExpressionContext = ApexParser.BitOrExpressionContext;
|
|
45
|
+
exports.BlockContext = ApexParser.BlockContext;
|
|
46
|
+
exports.BoundExpressionContext = ApexParser.BoundExpressionContext;
|
|
47
|
+
exports.BreakStatementContext = ApexParser.BreakStatementContext;
|
|
48
|
+
exports.CastExpressionContext = ApexParser.CastExpressionContext;
|
|
49
|
+
exports.CatchClauseContext = ApexParser.CatchClauseContext;
|
|
50
|
+
exports.ClassBodyContext = ApexParser.ClassBodyContext;
|
|
51
|
+
exports.ClassBodyDeclarationContext = ApexParser.ClassBodyDeclarationContext;
|
|
52
|
+
exports.ClassCreatorRestContext = ApexParser.ClassCreatorRestContext;
|
|
53
|
+
exports.ClassDeclarationContext = ApexParser.ClassDeclarationContext;
|
|
54
|
+
exports.CmpExpressionContext = ApexParser.CmpExpressionContext;
|
|
55
|
+
exports.CoalExpressionContext = ApexParser.CoalExpressionContext;
|
|
56
|
+
exports.ComparisonOperatorContext = ApexParser.ComparisonOperatorContext;
|
|
57
|
+
exports.CompilationUnitContext = ApexParser.CompilationUnitContext;
|
|
58
|
+
exports.CondExpressionContext = ApexParser.CondExpressionContext;
|
|
59
|
+
exports.ConditionalExpressionContext = ApexParser.ConditionalExpressionContext;
|
|
60
|
+
exports.ConstructorDeclarationContext = ApexParser.ConstructorDeclarationContext;
|
|
61
|
+
exports.ContinueStatementContext = ApexParser.ContinueStatementContext;
|
|
62
|
+
exports.CoordinateValueContext = ApexParser.CoordinateValueContext;
|
|
63
|
+
exports.CreatedNameContext = ApexParser.CreatedNameContext;
|
|
64
|
+
exports.CreatorContext = ApexParser.CreatorContext;
|
|
65
|
+
exports.DataCategoryNameContext = ApexParser.DataCategoryNameContext;
|
|
66
|
+
exports.DataCategorySelectionContext = ApexParser.DataCategorySelectionContext;
|
|
67
|
+
exports.DateFieldNameContext = ApexParser.DateFieldNameContext;
|
|
68
|
+
exports.DateFormulaContext = ApexParser.DateFormulaContext;
|
|
69
|
+
exports.DeleteStatementContext = ApexParser.DeleteStatementContext;
|
|
70
|
+
exports.DoWhileStatementContext = ApexParser.DoWhileStatementContext;
|
|
71
|
+
exports.DotExpressionContext = ApexParser.DotExpressionContext;
|
|
72
|
+
exports.DotMethodCallContext = ApexParser.DotMethodCallContext;
|
|
73
|
+
exports.ElementValueArrayInitializerContext = ApexParser.ElementValueArrayInitializerContext;
|
|
74
|
+
exports.ElementValueContext = ApexParser.ElementValueContext;
|
|
75
|
+
exports.ElementValuePairContext = ApexParser.ElementValuePairContext;
|
|
76
|
+
exports.ElementValuePairsContext = ApexParser.ElementValuePairsContext;
|
|
77
|
+
exports.ElseClauseContext = ApexParser.ElseClauseContext;
|
|
78
|
+
exports.EnhancedForControlContext = ApexParser.EnhancedForControlContext;
|
|
79
|
+
exports.EnumConstantsContext = ApexParser.EnumConstantsContext;
|
|
80
|
+
exports.EnumDeclarationContext = ApexParser.EnumDeclarationContext;
|
|
81
|
+
exports.EqualityExpressionContext = ApexParser.EqualityExpressionContext;
|
|
82
|
+
exports.ExpressionContext = ApexParser.ExpressionContext;
|
|
83
|
+
exports.ExpressionListContext = ApexParser.ExpressionListContext;
|
|
84
|
+
exports.ExpressionStatementContext = ApexParser.ExpressionStatementContext;
|
|
85
|
+
exports.FieldDeclarationContext = ApexParser.FieldDeclarationContext;
|
|
86
|
+
exports.FieldExpressionContext = ApexParser.FieldExpressionContext;
|
|
87
|
+
exports.FieldGroupByContext = ApexParser.FieldGroupByContext;
|
|
88
|
+
exports.FieldGroupByListContext = ApexParser.FieldGroupByListContext;
|
|
89
|
+
exports.FieldListContext = ApexParser.FieldListContext;
|
|
90
|
+
exports.FieldNameContext = ApexParser.FieldNameContext;
|
|
91
|
+
exports.FieldNameListContext = ApexParser.FieldNameListContext;
|
|
92
|
+
exports.FieldOrderContext = ApexParser.FieldOrderContext;
|
|
93
|
+
exports.FieldOrderListContext = ApexParser.FieldOrderListContext;
|
|
94
|
+
exports.FieldSpecContext = ApexParser.FieldSpecContext;
|
|
95
|
+
exports.FieldSpecListContext = ApexParser.FieldSpecListContext;
|
|
96
|
+
exports.FilteringExpressionContext = ApexParser.FilteringExpressionContext;
|
|
97
|
+
exports.FilteringSelectorContext = ApexParser.FilteringSelectorContext;
|
|
98
|
+
exports.FinallyBlockContext = ApexParser.FinallyBlockContext;
|
|
99
|
+
exports.ForClausesContext = ApexParser.ForClausesContext;
|
|
100
|
+
exports.ForControlContext = ApexParser.ForControlContext;
|
|
101
|
+
exports.ForInitContext = ApexParser.ForInitContext;
|
|
102
|
+
exports.ForStatementContext = ApexParser.ForStatementContext;
|
|
103
|
+
exports.ForUpdateContext = ApexParser.ForUpdateContext;
|
|
104
|
+
exports.FormalParameterContext = ApexParser.FormalParameterContext;
|
|
105
|
+
exports.FormalParameterListContext = ApexParser.FormalParameterListContext;
|
|
106
|
+
exports.FormalParametersContext = ApexParser.FormalParametersContext;
|
|
107
|
+
exports.FromNameListContext = ApexParser.FromNameListContext;
|
|
108
|
+
exports.GetterContext = ApexParser.GetterContext;
|
|
109
|
+
exports.GroupByClauseContext = ApexParser.GroupByClauseContext;
|
|
110
|
+
exports.IdContext = ApexParser.IdContext;
|
|
111
|
+
exports.IdCreatedNamePairContext = ApexParser.IdCreatedNamePairContext;
|
|
112
|
+
exports.IdPrimaryContext = ApexParser.IdPrimaryContext;
|
|
113
|
+
exports.IfStatementContext = ApexParser.IfStatementContext;
|
|
114
|
+
exports.InsertStatementContext = ApexParser.InsertStatementContext;
|
|
115
|
+
exports.InstanceOfExpressionContext = ApexParser.InstanceOfExpressionContext;
|
|
116
|
+
exports.InterfaceBodyContext = ApexParser.InterfaceBodyContext;
|
|
117
|
+
exports.InterfaceDeclarationContext = ApexParser.InterfaceDeclarationContext;
|
|
118
|
+
exports.InterfaceMethodDeclarationContext = ApexParser.InterfaceMethodDeclarationContext;
|
|
119
|
+
exports.LimitClauseContext = ApexParser.LimitClauseContext;
|
|
120
|
+
exports.LiteralContext = ApexParser.LiteralContext;
|
|
121
|
+
exports.LiteralPrimaryContext = ApexParser.LiteralPrimaryContext;
|
|
122
|
+
exports.LocalVariableDeclarationContext = ApexParser.LocalVariableDeclarationContext;
|
|
123
|
+
exports.LocalVariableDeclarationStatementContext = ApexParser.LocalVariableDeclarationStatementContext;
|
|
124
|
+
exports.LocationValueContext = ApexParser.LocationValueContext;
|
|
125
|
+
exports.LogAndExpressionContext = ApexParser.LogAndExpressionContext;
|
|
126
|
+
exports.LogOrExpressionContext = ApexParser.LogOrExpressionContext;
|
|
127
|
+
exports.LogicalExpressionContext = ApexParser.LogicalExpressionContext;
|
|
128
|
+
exports.MapCreatorRestContext = ApexParser.MapCreatorRestContext;
|
|
129
|
+
exports.MapCreatorRestPairContext = ApexParser.MapCreatorRestPairContext;
|
|
130
|
+
exports.MemberDeclarationContext = ApexParser.MemberDeclarationContext;
|
|
131
|
+
exports.MergeStatementContext = ApexParser.MergeStatementContext;
|
|
132
|
+
exports.MethodCallContext = ApexParser.MethodCallContext;
|
|
133
|
+
exports.MethodCallExpressionContext = ApexParser.MethodCallExpressionContext;
|
|
134
|
+
exports.MethodDeclarationContext = ApexParser.MethodDeclarationContext;
|
|
135
|
+
exports.ModifierContext = ApexParser.ModifierContext;
|
|
136
|
+
exports.NegExpressionContext = ApexParser.NegExpressionContext;
|
|
137
|
+
exports.NetworkListContext = ApexParser.NetworkListContext;
|
|
138
|
+
exports.NewExpressionContext = ApexParser.NewExpressionContext;
|
|
139
|
+
exports.NoRestContext = ApexParser.NoRestContext;
|
|
140
|
+
exports.OffsetClauseContext = ApexParser.OffsetClauseContext;
|
|
141
|
+
exports.OrderByClauseContext = ApexParser.OrderByClauseContext;
|
|
142
|
+
exports.ParExpressionContext = ApexParser.ParExpressionContext;
|
|
143
|
+
exports.PostOpExpressionContext = ApexParser.PostOpExpressionContext;
|
|
144
|
+
exports.PreOpExpressionContext = ApexParser.PreOpExpressionContext;
|
|
145
|
+
exports.PrimaryContext = ApexParser.PrimaryContext;
|
|
146
|
+
exports.PrimaryExpressionContext = ApexParser.PrimaryExpressionContext;
|
|
147
|
+
exports.PropertyBlockContext = ApexParser.PropertyBlockContext;
|
|
148
|
+
exports.PropertyDeclarationContext = ApexParser.PropertyDeclarationContext;
|
|
149
|
+
exports.QualifiedNameContext = ApexParser.QualifiedNameContext;
|
|
150
|
+
exports.QueryContext = ApexParser.QueryContext;
|
|
151
|
+
exports.ReturnStatementContext = ApexParser.ReturnStatementContext;
|
|
152
|
+
exports.RunAsStatementContext = ApexParser.RunAsStatementContext;
|
|
153
|
+
exports.SearchGroupContext = ApexParser.SearchGroupContext;
|
|
154
|
+
exports.SelectEntryContext = ApexParser.SelectEntryContext;
|
|
155
|
+
exports.SelectListContext = ApexParser.SelectListContext;
|
|
156
|
+
exports.SetCreatorRestContext = ApexParser.SetCreatorRestContext;
|
|
157
|
+
exports.SetterContext = ApexParser.SetterContext;
|
|
158
|
+
exports.SignedIntegerContext = ApexParser.SignedIntegerContext;
|
|
159
|
+
exports.SignedNumberContext = ApexParser.SignedNumberContext;
|
|
160
|
+
exports.SoqlFieldsParameterContext = ApexParser.SoqlFieldsParameterContext;
|
|
161
|
+
exports.SoqlFunctionContext = ApexParser.SoqlFunctionContext;
|
|
162
|
+
exports.SoqlIdContext = ApexParser.SoqlIdContext;
|
|
163
|
+
exports.SoqlLiteralContext = ApexParser.SoqlLiteralContext;
|
|
164
|
+
exports.SoqlPrimaryContext = ApexParser.SoqlPrimaryContext;
|
|
165
|
+
exports.SoslClausesContext = ApexParser.SoslClausesContext;
|
|
166
|
+
exports.SoslIdContext = ApexParser.SoslIdContext;
|
|
167
|
+
exports.SoslLiteralAltContext = ApexParser.SoslLiteralAltContext;
|
|
168
|
+
exports.SoslLiteralContext = ApexParser.SoslLiteralContext;
|
|
169
|
+
exports.SoslPrimaryContext = ApexParser.SoslPrimaryContext;
|
|
170
|
+
exports.SoslWithClauseContext = ApexParser.SoslWithClauseContext;
|
|
171
|
+
exports.StatementContext = ApexParser.StatementContext;
|
|
172
|
+
exports.SubExpressionContext = ApexParser.SubExpressionContext;
|
|
173
|
+
exports.SubFieldEntryContext = ApexParser.SubFieldEntryContext;
|
|
174
|
+
exports.SubFieldListContext = ApexParser.SubFieldListContext;
|
|
175
|
+
exports.SubQueryContext = ApexParser.SubQueryContext;
|
|
176
|
+
exports.SuperPrimaryContext = ApexParser.SuperPrimaryContext;
|
|
177
|
+
exports.SwitchStatementContext = ApexParser.SwitchStatementContext;
|
|
178
|
+
exports.ThisPrimaryContext = ApexParser.ThisPrimaryContext;
|
|
179
|
+
exports.ThrowStatementContext = ApexParser.ThrowStatementContext;
|
|
180
|
+
exports.TriggerBlockContext = ApexParser.TriggerBlockContext;
|
|
181
|
+
exports.TriggerBlockMemberContext = ApexParser.TriggerBlockMemberContext;
|
|
182
|
+
exports.TriggerCaseContext = ApexParser.TriggerCaseContext;
|
|
183
|
+
exports.TriggerMemberDeclarationContext = ApexParser.TriggerMemberDeclarationContext;
|
|
184
|
+
exports.TriggerUnitContext = ApexParser.TriggerUnitContext;
|
|
185
|
+
exports.TryStatementContext = ApexParser.TryStatementContext;
|
|
186
|
+
exports.TypeArgumentsContext = ApexParser.TypeArgumentsContext;
|
|
187
|
+
exports.TypeDeclarationContext = ApexParser.TypeDeclarationContext;
|
|
188
|
+
exports.TypeListContext = ApexParser.TypeListContext;
|
|
189
|
+
exports.TypeNameContext = ApexParser.TypeNameContext;
|
|
190
|
+
exports.TypeOfContext = ApexParser.TypeOfContext;
|
|
191
|
+
exports.TypeRefContext = ApexParser.TypeRefContext;
|
|
192
|
+
exports.TypeRefPrimaryContext = ApexParser.TypeRefPrimaryContext;
|
|
193
|
+
exports.UndeleteStatementContext = ApexParser.UndeleteStatementContext;
|
|
194
|
+
exports.UpdateListContext = ApexParser.UpdateListContext;
|
|
195
|
+
exports.UpdateStatementContext = ApexParser.UpdateStatementContext;
|
|
196
|
+
exports.UpdateTypeContext = ApexParser.UpdateTypeContext;
|
|
197
|
+
exports.UpsertStatementContext = ApexParser.UpsertStatementContext;
|
|
198
|
+
exports.UsingScopeContext = ApexParser.UsingScopeContext;
|
|
199
|
+
exports.ValueContext = ApexParser.ValueContext;
|
|
200
|
+
exports.ValueListContext = ApexParser.ValueListContext;
|
|
201
|
+
exports.VariableDeclaratorContext = ApexParser.VariableDeclaratorContext;
|
|
202
|
+
exports.VariableDeclaratorsContext = ApexParser.VariableDeclaratorsContext;
|
|
203
|
+
exports.VoidPrimaryContext = ApexParser.VoidPrimaryContext;
|
|
204
|
+
exports.WhenClauseContext = ApexParser.WhenClauseContext;
|
|
205
|
+
exports.WhenControlContext = ApexParser.WhenControlContext;
|
|
206
|
+
exports.WhenLiteralContext = ApexParser.WhenLiteralContext;
|
|
207
|
+
exports.WhenValueContext = ApexParser.WhenValueContext;
|
|
208
|
+
exports.WhereClauseContext = ApexParser.WhereClauseContext;
|
|
209
|
+
exports.WhileStatementContext = ApexParser.WhileStatementContext;
|
|
210
|
+
exports.WithClauseContext = ApexParser.WithClauseContext;
|
|
211
|
+
exports.ApexLexer = ApexLexer.default;
|
|
212
|
+
exports.ApexParserListener = ApexParserListener.default;
|
|
213
|
+
exports.ApexParserVisitor = ApexParserVisitor.default;
|
|
214
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ErrorListener } from 'antlr4';
|
|
2
|
+
|
|
3
|
+
class ApexErrorListener extends ErrorListener {
|
|
4
|
+
syntaxError(recognizer, offendingSymbol, line, column, msg, e) {
|
|
5
|
+
this.apexSyntaxError(line, column, msg);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
class ApexSyntaxError extends Error {
|
|
9
|
+
line;
|
|
10
|
+
column;
|
|
11
|
+
message;
|
|
12
|
+
constructor(line, column, message) {
|
|
13
|
+
super(message);
|
|
14
|
+
this.line = line;
|
|
15
|
+
this.column = column;
|
|
16
|
+
this.name = this.constructor.name;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
class ThrowingErrorListener extends ApexErrorListener {
|
|
20
|
+
static INSTANCE = new ThrowingErrorListener();
|
|
21
|
+
apexSyntaxError(line, column, msg) {
|
|
22
|
+
throw new ApexSyntaxError(line, column, msg);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { ApexErrorListener, ApexSyntaxError, ThrowingErrorListener };
|
|
27
|
+
//# sourceMappingURL=ApexErrorListener.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApexErrorListener.js","sources":["../../src/ApexErrorListener.ts"],"sourcesContent":["/*\n [The \"BSD licence\"]\n Copyright (c) 2025 Kevin Jones, Certinia Inc.\n All rights reserved.\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n 1. Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n 2. Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n 3. The name of the author may not be used to endorse or promote products\n derived from this software without specific prior written permission.\n\n THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\nimport {\n ErrorListener,\n type RecognitionException,\n type Recognizer,\n type Token,\n} from \"antlr4\";\n\n/**\n * Base `ErrorListener` for Apex parsers.\n *\n * Implement `apexSyntaxError()` to set behaviour. A single instance can be\n * attached to both a lexer and a parser - see `ApexParserFactory.createLexerAndParser`.\n */\nexport abstract class ApexErrorListener extends ErrorListener<Token | number> {\n abstract apexSyntaxError(line: number, column: number, msg: string): void;\n\n syntaxError(\n recognizer: Recognizer<Token | number>,\n offendingSymbol: Token | number,\n line: number,\n column: number,\n msg: string,\n e: RecognitionException | undefined\n ): void {\n this.apexSyntaxError(line, column, msg);\n }\n}\n\nexport class ApexSyntaxError extends Error {\n line: number;\n column: number;\n message!: string;\n\n constructor(line: number, column: number, message: string) {\n super(message);\n\n this.line = line;\n this.column = column;\n this.name = this.constructor.name;\n }\n}\n\n/**\n * `ApexErrorListener` that throws an `ApexSyntaxError` on first reported error.\n *\n * Use ThrowingErrorListener.INSTANCE to share across parsers.\n */\nexport class ThrowingErrorListener extends ApexErrorListener {\n static readonly INSTANCE = new ThrowingErrorListener();\n\n apexSyntaxError(line: number, column: number, msg: string): void {\n throw new ApexSyntaxError(line, column, msg);\n }\n}\n"],"names":[],"mappings":";;AAwCO,MAAe,0BAA0B,aAAA,CAA8B;AAAA,EAG5E,YACE,UAAA,EACA,eAAA,EACA,IAAA,EACA,MAAA,EACA,KACA,CAAA,EACM;AACN,IAAA,IAAA,CAAK,eAAA,CAAgB,IAAA,EAAM,MAAA,EAAQ,GAAG,CAAA;AAAA,EACxC;AACF;AAEO,MAAM,wBAAwB,KAAA,CAAM;AAAA,EACzC,IAAA;AAAA,EACA,MAAA;AAAA,EACA,OAAA;AAAA,EAEA,WAAA,CAAY,IAAA,EAAc,MAAA,EAAgB,OAAA,EAAiB;AACzD,IAAA,KAAA,CAAM,OAAO,CAAA;AAEb,IAAA,IAAA,CAAK,IAAA,GAAO,IAAA;AACZ,IAAA,IAAA,CAAK,MAAA,GAAS,MAAA;AACd,IAAA,IAAA,CAAK,IAAA,GAAO,KAAK,WAAA,CAAY,IAAA;AAAA,EAC/B;AACF;AAOO,MAAM,8BAA8B,iBAAA,CAAkB;AAAA,EAC3D,OAAgB,QAAA,GAAW,IAAI,qBAAA,EAAsB;AAAA,EAErD,eAAA,CAAgB,IAAA,EAAc,MAAA,EAAgB,GAAA,EAAmB;AAC/D,IAAA,MAAM,IAAI,eAAA,CAAgB,IAAA,EAAM,MAAA,EAAQ,GAAG,CAAA;AAAA,EAC7C;AACF;;;;"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { ParseTreeWalker, ParseTreeListener, ParseTreeVisitor, CommonTokenStream, CharStreams } from 'antlr4';
|
|
2
|
+
import ApexLexer from './antlr/ApexLexer.js';
|
|
3
|
+
import ApexParser from './antlr/ApexParser.js';
|
|
4
|
+
import { ThrowingErrorListener } from './ApexErrorListener.js';
|
|
5
|
+
|
|
6
|
+
class ApexParserFactory {
|
|
7
|
+
constructor() {
|
|
8
|
+
}
|
|
9
|
+
static createParser(source, throwOnFirstError = false) {
|
|
10
|
+
const parser = new ApexParser(
|
|
11
|
+
typeof source === "string" ? new CommonTokenStream(this.createLexer(source)) : source
|
|
12
|
+
);
|
|
13
|
+
parser.removeErrorListeners();
|
|
14
|
+
if (throwOnFirstError) {
|
|
15
|
+
parser.addErrorListener(ThrowingErrorListener.INSTANCE);
|
|
16
|
+
}
|
|
17
|
+
return parser;
|
|
18
|
+
}
|
|
19
|
+
static createTokenStream(source) {
|
|
20
|
+
return new CommonTokenStream(
|
|
21
|
+
typeof source === "string" ? this.createLexer(source) : source
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
static createLexer(source) {
|
|
25
|
+
const lexer = new ApexLexer(CharStreams.fromString(source));
|
|
26
|
+
lexer.removeErrorListeners();
|
|
27
|
+
return lexer;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Creates a lexer and parser pair with the given error listener attached to
|
|
31
|
+
* both. This is the recommended way to capture all syntax errors when parsing
|
|
32
|
+
* full Apex source - lexer errors (e.g. invalid string escape sequences) are
|
|
33
|
+
* only reported to listeners attached to the lexer, and parser errors are
|
|
34
|
+
* only reported to listeners attached to the parser.
|
|
35
|
+
*/
|
|
36
|
+
static createLexerAndParser(source, errorListener) {
|
|
37
|
+
const lexer = this.createLexer(source);
|
|
38
|
+
lexer.addErrorListener(errorListener);
|
|
39
|
+
const parser = this.createParser(new CommonTokenStream(lexer));
|
|
40
|
+
parser.addErrorListener(errorListener);
|
|
41
|
+
return { lexer, parser };
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
class ApexParserBaseVisitor extends ParseTreeVisitor {
|
|
45
|
+
visit(tree) {
|
|
46
|
+
return super.visit(tree);
|
|
47
|
+
}
|
|
48
|
+
visitChildren(node) {
|
|
49
|
+
return super.visitChildren(node);
|
|
50
|
+
}
|
|
51
|
+
visitTerminal(node) {
|
|
52
|
+
return super.visitTerminal(node);
|
|
53
|
+
}
|
|
54
|
+
visitErrorNode(node) {
|
|
55
|
+
return super.visitErrorNode(node);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
class ApexParserBaseListener extends ParseTreeListener {
|
|
59
|
+
visitTerminal(node) {
|
|
60
|
+
}
|
|
61
|
+
visitErrorNode(node) {
|
|
62
|
+
}
|
|
63
|
+
enterEveryRule(ctx) {
|
|
64
|
+
}
|
|
65
|
+
exitEveryRule(ctx) {
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
class ApexParseTreeWalker extends ParseTreeWalker {
|
|
69
|
+
// Preserves the narrower exported type; runtime value is a ParseTreeWalker from antlr4.
|
|
70
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
|
|
71
|
+
static DEFAULT = super.DEFAULT;
|
|
72
|
+
walk(listener, t) {
|
|
73
|
+
super.walk(listener, t);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export { ApexParseTreeWalker, ApexParserBaseListener, ApexParserBaseVisitor, ApexParserFactory };
|
|
78
|
+
//# sourceMappingURL=ApexParserFactory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApexParserFactory.js","sources":["../../src/ApexParserFactory.ts"],"sourcesContent":["/*\n [The \"BSD licence\"]\n Copyright (c) 2025 Kevin Jones, Certinia Inc.\n All rights reserved.\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n 1. Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n 2. Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n 3. The name of the author may not be used to endorse or promote products\n derived from this software without specific prior written permission.\n\n THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\nimport {\n CharStreams,\n CommonTokenStream,\n ErrorNode,\n ParserRuleContext,\n ParseTree,\n ParseTreeListener,\n ParseTreeVisitor,\n ParseTreeWalker,\n RuleNode,\n TerminalNode,\n Token,\n} from \"antlr4\";\nimport type ApexParserListener from \"./antlr/ApexParserListener.js\";\nimport type ApexParserVisitor from \"./antlr/ApexParserVisitor.js\";\nimport ApexLexer from \"./antlr/ApexLexer.js\";\nimport ApexParser from \"./antlr/ApexParser.js\";\nimport {\n ApexErrorListener,\n ThrowingErrorListener,\n} from \"./ApexErrorListener.js\";\n\nexport type ApexParserRuleContext = ParserRuleContext;\nexport type ApexErrorNode = ErrorNode;\nexport type ApexParseTree = ParseTree;\nexport type ApexRuleNode = RuleNode;\nexport type ApexTerminalNode = TerminalNode;\nexport type ApexTokenStream = CommonTokenStream;\nexport type ApexToken = Token;\n\n/**\n * A factory for `ApexParser` and its components. Abstracts interaction\n * with core ANTLR types like `CommonTokenStream`.\n */\nexport class ApexParserFactory {\n private constructor() {}\n\n static createParser(\n source: string | ApexTokenStream,\n throwOnFirstError: boolean = false\n ): ApexParser {\n const parser = new ApexParser(\n typeof source === \"string\"\n ? new CommonTokenStream(this.createLexer(source))\n : source\n );\n\n // always remove default console listener\n parser.removeErrorListeners();\n if (throwOnFirstError) {\n parser.addErrorListener(ThrowingErrorListener.INSTANCE);\n }\n return parser;\n }\n\n static createTokenStream(source: string | ApexLexer): ApexTokenStream {\n return new CommonTokenStream(\n typeof source === \"string\" ? this.createLexer(source) : source\n );\n }\n\n static createLexer(source: string): ApexLexer {\n const lexer = new ApexLexer(CharStreams.fromString(source));\n\n // always remove default console listener\n lexer.removeErrorListeners();\n return lexer;\n }\n\n /**\n * Creates a lexer and parser pair with the given error listener attached to\n * both. This is the recommended way to capture all syntax errors when parsing\n * full Apex source - lexer errors (e.g. invalid string escape sequences) are\n * only reported to listeners attached to the lexer, and parser errors are\n * only reported to listeners attached to the parser.\n */\n static createLexerAndParser(\n source: string,\n errorListener: ApexErrorListener\n ): { lexer: ApexLexer; parser: ApexParser } {\n const lexer = this.createLexer(source);\n lexer.addErrorListener(errorListener);\n const parser = this.createParser(new CommonTokenStream(lexer));\n parser.addErrorListener(errorListener);\n return { lexer, parser };\n }\n}\n\n/**\n * A base visitor for an Apex parse tree produced by `ApexParser`. Extend this\n * class to define a subset of visitor operations.\n *\n * @see ApexParserVisitor for tree context visit operations.\n * @param Result The return type of the visit operation. Use `void` for\n * operations with no return type.\n * @example\n * // Implementations can be property or method styles.\n * visitCompilationUnit = (ctx: CompilationUnitContext) => { return result; }\n * visitCompilationUnit(ctx: CompilationUnitContext) { return result; }\n */\nexport class ApexParserBaseVisitor<Result>\n extends ParseTreeVisitor<Result>\n implements ApexParserVisitor<Result>\n{\n visit(tree: ApexParseTree): Result {\n return super.visit(tree);\n }\n\n visitChildren(node: ApexRuleNode): Result {\n return super.visitChildren(node);\n }\n\n visitTerminal(node: ApexTerminalNode): Result {\n return super.visitTerminal(node);\n }\n\n visitErrorNode(node: ApexErrorNode): Result {\n return super.visitErrorNode(node);\n }\n}\n\n/**\n * A base listener for an Apex parse tree produced by `ApexParser`. Extend this\n * class to define a subset of listener operations.\n *\n * @see ApexParserListener for tree context listen operations.\n * @example\n * // Implementations can be property or method styles.\n * enterCompilationUnit = (ctx: CompilationUnitContext) => {}\n * enterCompilationUnit(ctx: CompilationUnitContext) {}\n */\nexport class ApexParserBaseListener\n extends ParseTreeListener\n implements ApexParserListener\n{\n visitTerminal(node: ApexTerminalNode): void {}\n visitErrorNode(node: ApexErrorNode): void {}\n enterEveryRule(ctx: ApexParserRuleContext): void {}\n exitEveryRule(ctx: ApexParserRuleContext): void {}\n}\n\n/**\n * Walker for a parse tree starting at the root and going down recursively\n * with depth-first search.\n *\n * @example\n * const parser = ApexParserFactory.createParser(\"public class Foo {}\");\n * const listener = new MyListener(); // extends ApexParseTreeListener\n * ApexParseTreeWalker.DEFAULT.walk(listener, parser.compilationUnit());\n */\nexport class ApexParseTreeWalker extends ParseTreeWalker {\n // Preserves the narrower exported type; runtime value is a ParseTreeWalker from antlr4.\n // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion\n static DEFAULT = super.DEFAULT as ApexParseTreeWalker;\n\n walk<T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BAAiB,aAAa,CAAA;AACrC,IAAA,OAAO,EAAE,OAAO,MAAA,EAAO;AAAA,EACzB;AACF;AAcO,MAAM,8BACH,gBAAA,CAEV;AAAA,EACE,MAAM,IAAA,EAA6B;AACjC,IAAA,OAAO,KAAA,CAAM,MAAM,IAAI,CAAA;AAAA,EACzB;AAAA,EAEA,cAAc,IAAA,EAA4B;AACxC,IAAA,OAAO,KAAA,CAAM,cAAc,IAAI,CAAA;AAAA,EACjC;AAAA,EAEA,cAAc,IAAA,EAAgC;AAC5C,IAAA,OAAO,KAAA,CAAM,cAAc,IAAI,CAAA;AAAA,EACjC;AAAA,EAEA,eAAe,IAAA,EAA6B;AAC1C,IAAA,OAAO,KAAA,CAAM,eAAe,IAAI,CAAA;AAAA,EAClC;AACF;AAYO,MAAM,+BACH,iBAAA,CAEV;AAAA,EACE,cAAc,IAAA,EAA8B;AAAA,EAAC;AAAA,EAC7C,eAAe,IAAA,EAA2B;AAAA,EAAC;AAAA,EAC3C,eAAe,GAAA,EAAkC;AAAA,EAAC;AAAA,EAClD,cAAc,GAAA,EAAkC;AAAA,EAAC;AACnD;AAWO,MAAM,4BAA4B,eAAA,CAAgB;AAAA;AAAA;AAAA,EAGvD,OAAO,UAAU,KAAA,CAAM,OAAA;AAAA,EAEvB,IAAA,CAAmC,UAAa,CAAA,EAAwB;AACtE,IAAA,KAAA,CAAM,IAAA,CAAK,UAAU,CAAC,CAAA;AAAA,EACxB;AACF;;;;"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { CharStream } from 'antlr4';
|
|
2
|
+
|
|
3
|
+
class CaseInsensitiveInputStream extends CharStream {
|
|
4
|
+
constructor(data, decodeToUnicodeCodePoints = true) {
|
|
5
|
+
if (typeof data === "string") {
|
|
6
|
+
super(data, decodeToUnicodeCodePoints);
|
|
7
|
+
} else {
|
|
8
|
+
super(data.toString(), decodeToUnicodeCodePoints);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
LA(i) {
|
|
12
|
+
return this.toLower(super.LA(i));
|
|
13
|
+
}
|
|
14
|
+
LT(offset) {
|
|
15
|
+
return this.LA(offset);
|
|
16
|
+
}
|
|
17
|
+
// We only need basic upper to lower conversions
|
|
18
|
+
toLower(c) {
|
|
19
|
+
if (c >= 65 && c <= 90) {
|
|
20
|
+
return c + 32;
|
|
21
|
+
} else {
|
|
22
|
+
return c;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { CaseInsensitiveInputStream };
|
|
28
|
+
//# sourceMappingURL=CaseInsensitiveInputStream.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CaseInsensitiveInputStream.js","sources":["../../src/CaseInsensitiveInputStream.ts"],"sourcesContent":["/*\n [The \"BSD licence\"]\n Copyright (c) 2019 Kevin Jones\n All rights reserved.\n\n Redistribution and use in source and binary forms, with or without\n modification, are permitted provided that the following conditions\n are met:\n 1. Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n 2. Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n 3. The name of the author may not be used to endorse or promote products\n derived from this software without specific prior written permission.\n\n THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR\n IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\n IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,\n INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\nimport { CharStream } from \"antlr4\";\n\n/**\n * Converts char stream to lower case for case insensitive usage.\n *\n * @deprecated since 5.0.0. ApexLexer is generated with ANTLR 4.10\n * `caseInsensitive` option enabled.\n */\nexport class CaseInsensitiveInputStream extends CharStream {\n constructor(data: string, decodeToUnicodeCodePoints?: boolean);\n constructor(stream: CharStream, decodeToUnicodeCodePoints?: boolean);\n constructor(\n data: string | CharStream,\n decodeToUnicodeCodePoints: boolean = true\n ) {\n // Default to unicode code points\n // CharStreams.fromString is always `new CharStream(data, true)`\n // but `new CharStream(data)` defaults to false / UTF-16 code units\n if (typeof data === \"string\") {\n super(data, decodeToUnicodeCodePoints);\n } else {\n super(data.toString(), decodeToUnicodeCodePoints);\n }\n }\n\n LA(i: number): number {\n return this.toLower(super.LA(i));\n }\n\n LT(offset: number): number {\n // same behaviour as CharStream\n return this.LA(offset);\n }\n\n // We only need basic upper to lower conversions\n private toLower(c: number): number {\n if (c >= 65 && c <= 90) {\n return c + 32;\n } else {\n return c;\n }\n }\n}\n"],"names":[],"mappings":";;AAoCO,MAAM,mCAAmC,UAAA,CAAW;AAAA,EAGzD,WAAA,CACE,IAAA,EACA,yBAAA,GAAqC,IAAA,EACrC;AAIA,IAAA,IAAI,OAAO,SAAS,QAAA,EAAU;AAC5B,MAAA,KAAA,CAAM,MAAM,yBAAyB,CAAA;AAAA,IACvC,CAAA,MAAO;AACL,MAAA,KAAA,CAAM,IAAA,CAAK,QAAA,EAAS,EAAG,yBAAyB,CAAA;AAAA,IAClD;AAAA,EACF;AAAA,EAEA,GAAG,CAAA,EAAmB;AACpB,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,KAAA,CAAM,EAAA,CAAG,CAAC,CAAC,CAAA;AAAA,EACjC;AAAA,EAEA,GAAG,MAAA,EAAwB;AAEzB,IAAA,OAAO,IAAA,CAAK,GAAG,MAAM,CAAA;AAAA,EACvB;AAAA;AAAA,EAGQ,QAAQ,CAAA,EAAmB;AACjC,IAAA,IAAI,CAAA,IAAK,EAAA,IAAM,CAAA,IAAK,EAAA,EAAI;AACtB,MAAA,OAAO,CAAA,GAAI,EAAA;AAAA,IACb,CAAA,MAAO;AACL,MAAA,OAAO,CAAA;AAAA,IACT;AAAA,EACF;AACF;;;;"}
|