java-ast
Version:
Java Parser for JavaScript/TypeScript, based on antlr4ts
133 lines (132 loc) • 23.2 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.LambdaLVTIListContext = exports.LastFormalParameterContext = exports.FormalParameterContext = exports.FormalParameterListContext = exports.ReceiverParameterContext = exports.FormalParametersContext = exports.QualifiedNameListContext = exports.TypeArgumentContext = exports.ClassOrInterfaceTypeContext = exports.ArrayInitializerContext = exports.VariableInitializerContext = exports.VariableDeclaratorIdContext = exports.VariableDeclaratorContext = exports.VariableDeclaratorsContext = exports.InterfaceCommonBodyDeclarationContext = exports.GenericInterfaceMethodDeclarationContext = exports.InterfaceMethodModifierContext = exports.InterfaceMethodDeclarationContext = exports.ConstantDeclaratorContext = exports.ConstDeclarationContext = exports.InterfaceMemberDeclarationContext = exports.InterfaceBodyDeclarationContext = exports.FieldDeclarationContext = exports.CompactConstructorDeclarationContext = exports.ConstructorDeclarationContext = exports.GenericConstructorDeclarationContext = exports.GenericMethodDeclarationContext = exports.TypeTypeOrVoidContext = exports.MethodBodyContext = exports.MethodDeclarationContext = exports.MemberDeclarationContext = exports.ClassBodyDeclarationContext = exports.InterfaceBodyContext = exports.ClassBodyContext = exports.InterfaceDeclarationContext = exports.EnumBodyDeclarationsContext = exports.EnumConstantContext = exports.EnumConstantsContext = exports.EnumDeclarationContext = exports.TypeBoundContext = exports.TypeParameterContext = exports.TypeParametersContext = exports.ClassDeclarationContext = exports.VariableModifierContext = exports.ClassOrInterfaceModifierContext = exports.ModifierContext = exports.TypeDeclarationContext = exports.ImportDeclarationContext = exports.PackageDeclarationContext = exports.CompilationUnitContext = void 0;
exports.ExpressionContext = exports.MethodCallContext = exports.ExpressionListContext = exports.ParExpressionContext = exports.EnhancedForControlContext = exports.ForInitContext = exports.ForControlContext = exports.SwitchLabelContext = exports.SwitchBlockStatementGroupContext = exports.ResourceContext = exports.ResourcesContext = exports.ResourceSpecificationContext = exports.FinallyBlockContext = exports.CatchTypeContext = exports.CatchClauseContext = exports.StatementContext = exports.LocalTypeDeclarationContext = exports.TypeIdentifierContext = exports.IdentifierContext = exports.LocalVariableDeclarationContext = exports.BlockStatementContext = exports.BlockContext = exports.RecordBodyContext = exports.RecordComponentContext = exports.RecordComponentListContext = exports.RecordHeaderContext = exports.RecordDeclarationContext = exports.RequiresModifierContext = exports.ModuleDirectiveContext = exports.ModuleBodyContext = exports.ModuleDeclarationContext = exports.DefaultValueContext = exports.AnnotationConstantRestContext = exports.AnnotationMethodRestContext = exports.AnnotationMethodOrConstantRestContext = exports.AnnotationTypeElementRestContext = exports.AnnotationTypeElementDeclarationContext = exports.AnnotationTypeBodyContext = exports.AnnotationTypeDeclarationContext = exports.ElementValueArrayInitializerContext = exports.ElementValueContext = exports.ElementValuePairContext = exports.ElementValuePairsContext = exports.AnnotationContext = exports.AltAnnotationQualifiedNameContext = exports.FloatLiteralContext = exports.IntegerLiteralContext = exports.LiteralContext = exports.QualifiedNameContext = exports.LambdaLVTIParameterContext = void 0;
exports.ArgumentsContext = exports.ExplicitGenericInvocationSuffixContext = exports.SuperSuffixContext = exports.TypeArgumentsContext = exports.PrimitiveTypeContext = exports.TypeTypeContext = exports.TypeListContext = exports.NonWildcardTypeArgumentsContext = exports.NonWildcardTypeArgumentsOrDiamondContext = exports.TypeArgumentsOrDiamondContext = exports.ExplicitGenericInvocationContext = exports.ClassCreatorRestContext = exports.ArrayCreatorRestContext = exports.InnerCreatorContext = exports.CreatedNameContext = exports.CreatorContext = exports.ClassTypeContext = exports.SwitchRuleOutcomeContext = exports.GuardedPatternContext = exports.SwitchLabeledRuleContext = exports.SwitchExpressionContext = exports.PrimaryContext = exports.LambdaBodyContext = exports.LambdaParametersContext = exports.LambdaExpressionContext = exports.PatternContext = void 0;
var JavaParser_1 = require("./JavaParser");
Object.defineProperty(exports, "CompilationUnitContext", { enumerable: true, get: function () { return JavaParser_1.CompilationUnitContext; } });
Object.defineProperty(exports, "PackageDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.PackageDeclarationContext; } });
Object.defineProperty(exports, "ImportDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.ImportDeclarationContext; } });
Object.defineProperty(exports, "TypeDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.TypeDeclarationContext; } });
Object.defineProperty(exports, "ModifierContext", { enumerable: true, get: function () { return JavaParser_1.ModifierContext; } });
Object.defineProperty(exports, "ClassOrInterfaceModifierContext", { enumerable: true, get: function () { return JavaParser_1.ClassOrInterfaceModifierContext; } });
Object.defineProperty(exports, "VariableModifierContext", { enumerable: true, get: function () { return JavaParser_1.VariableModifierContext; } });
Object.defineProperty(exports, "ClassDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.ClassDeclarationContext; } });
Object.defineProperty(exports, "TypeParametersContext", { enumerable: true, get: function () { return JavaParser_1.TypeParametersContext; } });
Object.defineProperty(exports, "TypeParameterContext", { enumerable: true, get: function () { return JavaParser_1.TypeParameterContext; } });
Object.defineProperty(exports, "TypeBoundContext", { enumerable: true, get: function () { return JavaParser_1.TypeBoundContext; } });
Object.defineProperty(exports, "EnumDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.EnumDeclarationContext; } });
Object.defineProperty(exports, "EnumConstantsContext", { enumerable: true, get: function () { return JavaParser_1.EnumConstantsContext; } });
Object.defineProperty(exports, "EnumConstantContext", { enumerable: true, get: function () { return JavaParser_1.EnumConstantContext; } });
Object.defineProperty(exports, "EnumBodyDeclarationsContext", { enumerable: true, get: function () { return JavaParser_1.EnumBodyDeclarationsContext; } });
Object.defineProperty(exports, "InterfaceDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.InterfaceDeclarationContext; } });
Object.defineProperty(exports, "ClassBodyContext", { enumerable: true, get: function () { return JavaParser_1.ClassBodyContext; } });
Object.defineProperty(exports, "InterfaceBodyContext", { enumerable: true, get: function () { return JavaParser_1.InterfaceBodyContext; } });
Object.defineProperty(exports, "ClassBodyDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.ClassBodyDeclarationContext; } });
Object.defineProperty(exports, "MemberDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.MemberDeclarationContext; } });
Object.defineProperty(exports, "MethodDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.MethodDeclarationContext; } });
Object.defineProperty(exports, "MethodBodyContext", { enumerable: true, get: function () { return JavaParser_1.MethodBodyContext; } });
Object.defineProperty(exports, "TypeTypeOrVoidContext", { enumerable: true, get: function () { return JavaParser_1.TypeTypeOrVoidContext; } });
Object.defineProperty(exports, "GenericMethodDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.GenericMethodDeclarationContext; } });
Object.defineProperty(exports, "GenericConstructorDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.GenericConstructorDeclarationContext; } });
Object.defineProperty(exports, "ConstructorDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.ConstructorDeclarationContext; } });
Object.defineProperty(exports, "CompactConstructorDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.CompactConstructorDeclarationContext; } });
Object.defineProperty(exports, "FieldDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.FieldDeclarationContext; } });
Object.defineProperty(exports, "InterfaceBodyDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.InterfaceBodyDeclarationContext; } });
Object.defineProperty(exports, "InterfaceMemberDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.InterfaceMemberDeclarationContext; } });
Object.defineProperty(exports, "ConstDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.ConstDeclarationContext; } });
Object.defineProperty(exports, "ConstantDeclaratorContext", { enumerable: true, get: function () { return JavaParser_1.ConstantDeclaratorContext; } });
Object.defineProperty(exports, "InterfaceMethodDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.InterfaceMethodDeclarationContext; } });
Object.defineProperty(exports, "InterfaceMethodModifierContext", { enumerable: true, get: function () { return JavaParser_1.InterfaceMethodModifierContext; } });
Object.defineProperty(exports, "GenericInterfaceMethodDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.GenericInterfaceMethodDeclarationContext; } });
Object.defineProperty(exports, "InterfaceCommonBodyDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.InterfaceCommonBodyDeclarationContext; } });
Object.defineProperty(exports, "VariableDeclaratorsContext", { enumerable: true, get: function () { return JavaParser_1.VariableDeclaratorsContext; } });
Object.defineProperty(exports, "VariableDeclaratorContext", { enumerable: true, get: function () { return JavaParser_1.VariableDeclaratorContext; } });
Object.defineProperty(exports, "VariableDeclaratorIdContext", { enumerable: true, get: function () { return JavaParser_1.VariableDeclaratorIdContext; } });
Object.defineProperty(exports, "VariableInitializerContext", { enumerable: true, get: function () { return JavaParser_1.VariableInitializerContext; } });
Object.defineProperty(exports, "ArrayInitializerContext", { enumerable: true, get: function () { return JavaParser_1.ArrayInitializerContext; } });
Object.defineProperty(exports, "ClassOrInterfaceTypeContext", { enumerable: true, get: function () { return JavaParser_1.ClassOrInterfaceTypeContext; } });
Object.defineProperty(exports, "TypeArgumentContext", { enumerable: true, get: function () { return JavaParser_1.TypeArgumentContext; } });
Object.defineProperty(exports, "QualifiedNameListContext", { enumerable: true, get: function () { return JavaParser_1.QualifiedNameListContext; } });
Object.defineProperty(exports, "FormalParametersContext", { enumerable: true, get: function () { return JavaParser_1.FormalParametersContext; } });
Object.defineProperty(exports, "ReceiverParameterContext", { enumerable: true, get: function () { return JavaParser_1.ReceiverParameterContext; } });
Object.defineProperty(exports, "FormalParameterListContext", { enumerable: true, get: function () { return JavaParser_1.FormalParameterListContext; } });
Object.defineProperty(exports, "FormalParameterContext", { enumerable: true, get: function () { return JavaParser_1.FormalParameterContext; } });
Object.defineProperty(exports, "LastFormalParameterContext", { enumerable: true, get: function () { return JavaParser_1.LastFormalParameterContext; } });
Object.defineProperty(exports, "LambdaLVTIListContext", { enumerable: true, get: function () { return JavaParser_1.LambdaLVTIListContext; } });
Object.defineProperty(exports, "LambdaLVTIParameterContext", { enumerable: true, get: function () { return JavaParser_1.LambdaLVTIParameterContext; } });
Object.defineProperty(exports, "QualifiedNameContext", { enumerable: true, get: function () { return JavaParser_1.QualifiedNameContext; } });
Object.defineProperty(exports, "LiteralContext", { enumerable: true, get: function () { return JavaParser_1.LiteralContext; } });
Object.defineProperty(exports, "IntegerLiteralContext", { enumerable: true, get: function () { return JavaParser_1.IntegerLiteralContext; } });
Object.defineProperty(exports, "FloatLiteralContext", { enumerable: true, get: function () { return JavaParser_1.FloatLiteralContext; } });
Object.defineProperty(exports, "AltAnnotationQualifiedNameContext", { enumerable: true, get: function () { return JavaParser_1.AltAnnotationQualifiedNameContext; } });
Object.defineProperty(exports, "AnnotationContext", { enumerable: true, get: function () { return JavaParser_1.AnnotationContext; } });
Object.defineProperty(exports, "ElementValuePairsContext", { enumerable: true, get: function () { return JavaParser_1.ElementValuePairsContext; } });
Object.defineProperty(exports, "ElementValuePairContext", { enumerable: true, get: function () { return JavaParser_1.ElementValuePairContext; } });
Object.defineProperty(exports, "ElementValueContext", { enumerable: true, get: function () { return JavaParser_1.ElementValueContext; } });
Object.defineProperty(exports, "ElementValueArrayInitializerContext", { enumerable: true, get: function () { return JavaParser_1.ElementValueArrayInitializerContext; } });
Object.defineProperty(exports, "AnnotationTypeDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.AnnotationTypeDeclarationContext; } });
Object.defineProperty(exports, "AnnotationTypeBodyContext", { enumerable: true, get: function () { return JavaParser_1.AnnotationTypeBodyContext; } });
Object.defineProperty(exports, "AnnotationTypeElementDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.AnnotationTypeElementDeclarationContext; } });
Object.defineProperty(exports, "AnnotationTypeElementRestContext", { enumerable: true, get: function () { return JavaParser_1.AnnotationTypeElementRestContext; } });
Object.defineProperty(exports, "AnnotationMethodOrConstantRestContext", { enumerable: true, get: function () { return JavaParser_1.AnnotationMethodOrConstantRestContext; } });
Object.defineProperty(exports, "AnnotationMethodRestContext", { enumerable: true, get: function () { return JavaParser_1.AnnotationMethodRestContext; } });
Object.defineProperty(exports, "AnnotationConstantRestContext", { enumerable: true, get: function () { return JavaParser_1.AnnotationConstantRestContext; } });
Object.defineProperty(exports, "DefaultValueContext", { enumerable: true, get: function () { return JavaParser_1.DefaultValueContext; } });
Object.defineProperty(exports, "ModuleDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.ModuleDeclarationContext; } });
Object.defineProperty(exports, "ModuleBodyContext", { enumerable: true, get: function () { return JavaParser_1.ModuleBodyContext; } });
Object.defineProperty(exports, "ModuleDirectiveContext", { enumerable: true, get: function () { return JavaParser_1.ModuleDirectiveContext; } });
Object.defineProperty(exports, "RequiresModifierContext", { enumerable: true, get: function () { return JavaParser_1.RequiresModifierContext; } });
Object.defineProperty(exports, "RecordDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.RecordDeclarationContext; } });
Object.defineProperty(exports, "RecordHeaderContext", { enumerable: true, get: function () { return JavaParser_1.RecordHeaderContext; } });
Object.defineProperty(exports, "RecordComponentListContext", { enumerable: true, get: function () { return JavaParser_1.RecordComponentListContext; } });
Object.defineProperty(exports, "RecordComponentContext", { enumerable: true, get: function () { return JavaParser_1.RecordComponentContext; } });
Object.defineProperty(exports, "RecordBodyContext", { enumerable: true, get: function () { return JavaParser_1.RecordBodyContext; } });
Object.defineProperty(exports, "BlockContext", { enumerable: true, get: function () { return JavaParser_1.BlockContext; } });
Object.defineProperty(exports, "BlockStatementContext", { enumerable: true, get: function () { return JavaParser_1.BlockStatementContext; } });
Object.defineProperty(exports, "LocalVariableDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.LocalVariableDeclarationContext; } });
Object.defineProperty(exports, "IdentifierContext", { enumerable: true, get: function () { return JavaParser_1.IdentifierContext; } });
Object.defineProperty(exports, "TypeIdentifierContext", { enumerable: true, get: function () { return JavaParser_1.TypeIdentifierContext; } });
Object.defineProperty(exports, "LocalTypeDeclarationContext", { enumerable: true, get: function () { return JavaParser_1.LocalTypeDeclarationContext; } });
Object.defineProperty(exports, "StatementContext", { enumerable: true, get: function () { return JavaParser_1.StatementContext; } });
Object.defineProperty(exports, "CatchClauseContext", { enumerable: true, get: function () { return JavaParser_1.CatchClauseContext; } });
Object.defineProperty(exports, "CatchTypeContext", { enumerable: true, get: function () { return JavaParser_1.CatchTypeContext; } });
Object.defineProperty(exports, "FinallyBlockContext", { enumerable: true, get: function () { return JavaParser_1.FinallyBlockContext; } });
Object.defineProperty(exports, "ResourceSpecificationContext", { enumerable: true, get: function () { return JavaParser_1.ResourceSpecificationContext; } });
Object.defineProperty(exports, "ResourcesContext", { enumerable: true, get: function () { return JavaParser_1.ResourcesContext; } });
Object.defineProperty(exports, "ResourceContext", { enumerable: true, get: function () { return JavaParser_1.ResourceContext; } });
Object.defineProperty(exports, "SwitchBlockStatementGroupContext", { enumerable: true, get: function () { return JavaParser_1.SwitchBlockStatementGroupContext; } });
Object.defineProperty(exports, "SwitchLabelContext", { enumerable: true, get: function () { return JavaParser_1.SwitchLabelContext; } });
Object.defineProperty(exports, "ForControlContext", { enumerable: true, get: function () { return JavaParser_1.ForControlContext; } });
Object.defineProperty(exports, "ForInitContext", { enumerable: true, get: function () { return JavaParser_1.ForInitContext; } });
Object.defineProperty(exports, "EnhancedForControlContext", { enumerable: true, get: function () { return JavaParser_1.EnhancedForControlContext; } });
Object.defineProperty(exports, "ParExpressionContext", { enumerable: true, get: function () { return JavaParser_1.ParExpressionContext; } });
Object.defineProperty(exports, "ExpressionListContext", { enumerable: true, get: function () { return JavaParser_1.ExpressionListContext; } });
Object.defineProperty(exports, "MethodCallContext", { enumerable: true, get: function () { return JavaParser_1.MethodCallContext; } });
Object.defineProperty(exports, "ExpressionContext", { enumerable: true, get: function () { return JavaParser_1.ExpressionContext; } });
Object.defineProperty(exports, "PatternContext", { enumerable: true, get: function () { return JavaParser_1.PatternContext; } });
Object.defineProperty(exports, "LambdaExpressionContext", { enumerable: true, get: function () { return JavaParser_1.LambdaExpressionContext; } });
Object.defineProperty(exports, "LambdaParametersContext", { enumerable: true, get: function () { return JavaParser_1.LambdaParametersContext; } });
Object.defineProperty(exports, "LambdaBodyContext", { enumerable: true, get: function () { return JavaParser_1.LambdaBodyContext; } });
Object.defineProperty(exports, "PrimaryContext", { enumerable: true, get: function () { return JavaParser_1.PrimaryContext; } });
Object.defineProperty(exports, "SwitchExpressionContext", { enumerable: true, get: function () { return JavaParser_1.SwitchExpressionContext; } });
Object.defineProperty(exports, "SwitchLabeledRuleContext", { enumerable: true, get: function () { return JavaParser_1.SwitchLabeledRuleContext; } });
Object.defineProperty(exports, "GuardedPatternContext", { enumerable: true, get: function () { return JavaParser_1.GuardedPatternContext; } });
Object.defineProperty(exports, "SwitchRuleOutcomeContext", { enumerable: true, get: function () { return JavaParser_1.SwitchRuleOutcomeContext; } });
Object.defineProperty(exports, "ClassTypeContext", { enumerable: true, get: function () { return JavaParser_1.ClassTypeContext; } });
Object.defineProperty(exports, "CreatorContext", { enumerable: true, get: function () { return JavaParser_1.CreatorContext; } });
Object.defineProperty(exports, "CreatedNameContext", { enumerable: true, get: function () { return JavaParser_1.CreatedNameContext; } });
Object.defineProperty(exports, "InnerCreatorContext", { enumerable: true, get: function () { return JavaParser_1.InnerCreatorContext; } });
Object.defineProperty(exports, "ArrayCreatorRestContext", { enumerable: true, get: function () { return JavaParser_1.ArrayCreatorRestContext; } });
Object.defineProperty(exports, "ClassCreatorRestContext", { enumerable: true, get: function () { return JavaParser_1.ClassCreatorRestContext; } });
Object.defineProperty(exports, "ExplicitGenericInvocationContext", { enumerable: true, get: function () { return JavaParser_1.ExplicitGenericInvocationContext; } });
Object.defineProperty(exports, "TypeArgumentsOrDiamondContext", { enumerable: true, get: function () { return JavaParser_1.TypeArgumentsOrDiamondContext; } });
Object.defineProperty(exports, "NonWildcardTypeArgumentsOrDiamondContext", { enumerable: true, get: function () { return JavaParser_1.NonWildcardTypeArgumentsOrDiamondContext; } });
Object.defineProperty(exports, "NonWildcardTypeArgumentsContext", { enumerable: true, get: function () { return JavaParser_1.NonWildcardTypeArgumentsContext; } });
Object.defineProperty(exports, "TypeListContext", { enumerable: true, get: function () { return JavaParser_1.TypeListContext; } });
Object.defineProperty(exports, "TypeTypeContext", { enumerable: true, get: function () { return JavaParser_1.TypeTypeContext; } });
Object.defineProperty(exports, "PrimitiveTypeContext", { enumerable: true, get: function () { return JavaParser_1.PrimitiveTypeContext; } });
Object.defineProperty(exports, "TypeArgumentsContext", { enumerable: true, get: function () { return JavaParser_1.TypeArgumentsContext; } });
Object.defineProperty(exports, "SuperSuffixContext", { enumerable: true, get: function () { return JavaParser_1.SuperSuffixContext; } });
Object.defineProperty(exports, "ExplicitGenericInvocationSuffixContext", { enumerable: true, get: function () { return JavaParser_1.ExplicitGenericInvocationSuffixContext; } });
Object.defineProperty(exports, "ArgumentsContext", { enumerable: true, get: function () { return JavaParser_1.ArgumentsContext; } });
;