@artel/artc 0.6.26017 → 0.6.26019
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/build/Cli.js +3 -3
- package/build/api/Api.js +39 -161
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +6744 -8943
- package/build/{chunk-UCBPXOLW.js → chunk-27AIX6Z7.js} +3 -5
- package/build/{chunk-SJFIPH42.js → chunk-LYYIQT6J.js} +63496 -60655
- package/build/{chunk-65XBWCU7.js → chunk-QBUXIP7E.js} +11 -11
- package/build/types/analysis/AccessedFunction.d.ts +3 -6
- package/build/types/analysis/AccessedFunctionParameter.d.ts +7 -0
- package/build/types/analysis/Analyzer.d.ts +81 -580
- package/build/types/analysis/BaseMemberConflictsValidator.d.ts +1 -1
- package/build/types/analysis/DeclarationsUsageMap.d.ts +14 -0
- package/build/types/analysis/EntityOrPackageNameTreeNode.d.ts +13 -0
- package/build/types/analysis/ImportedPackageNameTree.d.ts +6 -2
- package/build/types/analysis/NodeOrDiagnosticLocation.d.ts +12 -0
- package/build/types/analysis/OverridableTypeMember.d.ts +6 -0
- package/build/types/analysis/ReferencedPackagesCollector.d.ts +24 -0
- package/build/types/analysis/ResolvedImplementationPackage.d.ts +1 -2
- package/build/types/analysis/SignatureComparisonOptions.d.ts +6 -0
- package/build/types/analysis/SourcePackageDependencyGraph.d.ts +2 -3
- package/build/types/analysis/SpecialNameKey.d.ts +1 -1
- package/build/types/analysis/SubstitutedFunction.d.ts +1 -1
- package/build/types/analysis/TsInteropInputs.d.ts +9 -0
- package/build/types/analysis/TypeAssignabilityFlags.d.ts +22 -0
- package/build/types/analysis/TypeMemberLookup.d.ts +1 -1
- package/build/types/analysis/a/Analyzer.d.ts +466 -0
- package/build/types/analysis/{ArgumentToParameterMatchResult.d.ts → a/ArgumentToParameterMatchResult.d.ts} +4 -4
- package/build/types/analysis/{ArgumentsToParametersMatcher.d.ts → a/ArgumentsToParametersMatcher.d.ts} +5 -5
- package/build/types/analysis/{AutotypeCallExpressionMeaning.d.ts → a/AutotypeCallExpressionMeaning.d.ts} +8 -9
- package/build/types/analysis/{BaseExpressionMeaning.d.ts → a/BaseExpressionMeaning.d.ts} +7 -8
- package/build/types/analysis/{CallExpressionMeaning.d.ts → a/CallExpressionMeaning.d.ts} +11 -16
- package/build/types/analysis/{ConstructorCallResolver.d.ts → a/ConstructorCallResolver.d.ts} +9 -7
- package/build/types/analysis/a/DeclarationsUsageCounter.d.ts +12 -0
- package/build/types/analysis/{DereferenceExpressionMeaning.d.ts → a/DereferenceExpressionMeaning.d.ts} +5 -5
- package/build/types/analysis/a/ExpressionAnalysisOptions.d.ts +21 -0
- package/build/types/analysis/a/FindModifier.d.ts +5 -0
- package/build/types/analysis/{FunctionAccessResolver.d.ts → a/FunctionAccessResolver.d.ts} +11 -8
- package/build/types/analysis/{IdentifierExpressionMeaning.d.ts → a/IdentifierExpressionMeaning.d.ts} +11 -13
- package/build/types/analysis/{IndexedAccessExpressionMeaning.d.ts → a/IndexedAccessExpressionMeaning.d.ts} +5 -5
- package/build/types/analysis/{InstanceFieldsInitializationValidator.d.ts → a/InstanceFieldsInitializationValidator.d.ts} +4 -4
- package/build/types/analysis/{MemberAccessExpressionMeaning.d.ts → a/MemberAccessExpressionMeaning.d.ts} +15 -23
- package/build/types/analysis/{ModifierValidator.d.ts → a/ModifierValidator.d.ts} +3 -3
- package/build/types/analysis/{NamedTypeResolver.d.ts → a/NamedTypeResolver.d.ts} +5 -5
- package/build/types/analysis/{NamedTypeSpecifierResolver.d.ts → a/NamedTypeSpecifierResolver.d.ts} +4 -4
- package/build/types/analysis/{NodeTypeUtils.d.ts → a/NodeTypeUtils.d.ts} +1 -1
- package/build/types/analysis/{ObjectExpressionMeaning.d.ts → a/ObjectExpressionMeaning.d.ts} +4 -5
- package/build/types/analysis/{OverloadResolver.d.ts → a/OverloadResolver.d.ts} +9 -8
- package/build/types/analysis/{OwnAndBaseConstructorCallsChecker.d.ts → a/OwnAndBaseConstructorCallsChecker.d.ts} +4 -4
- package/build/types/analysis/{OwnConstructorCallExpressionMeaning.d.ts → a/OwnConstructorCallExpressionMeaning.d.ts} +6 -8
- package/build/types/analysis/{PackageAndStaticVariablesInitializationValidator.d.ts → a/PackageAndStaticVariablesInitializationValidator.d.ts} +4 -4
- package/build/types/analysis/{ReductionSourceMemberFinder.d.ts → a/ReductionSourceMemberFinder.d.ts} +5 -6
- package/build/types/analysis/{ReservedNameDictionary.d.ts → a/ReservedNameDictionary.d.ts} +3 -1
- package/build/types/analysis/{AnalyzedTranslationPackage.d.ts → a/ResolvedTranslationPackage.d.ts} +10 -12
- package/build/types/analysis/{ReturnTypeInferrer.d.ts → a/ReturnTypeInferrer.d.ts} +3 -3
- package/build/types/analysis/{SourceFileAnalyzer.d.ts → a/SourceFileAnalyzer.d.ts} +6 -6
- package/build/types/analysis/{SourcePackageMembersCreator.d.ts → a/SourcePackageMembersCreator.d.ts} +3 -3
- package/build/types/analysis/a/SyntacticAccessKind.d.ts +6 -0
- package/build/types/analysis/{TagMeaning.d.ts → a/TagMeaning.d.ts} +14 -21
- package/build/types/analysis/{TextIdentity.d.ts → a/TextIdentity.d.ts} +2 -2
- package/build/types/analysis/{TranslatedEntityNameConflictsValidator.d.ts → a/TranslatedEntityNameConflictsValidator.d.ts} +3 -3
- package/build/types/analysis/{TreeQuery.d.ts → a/TreeQuery.d.ts} +7 -8
- package/build/types/analysis/{TypeArgumentInferrer.d.ts → a/TypeArgumentInferrer.d.ts} +5 -4
- package/build/types/analysis/{TypeInferrer.d.ts → a/TypeInferrer.d.ts} +2 -2
- package/build/types/analysis/{TypeNarrower.d.ts → a/TypeNarrower.d.ts} +2 -2
- package/build/types/analysis/{TypeOverloadResolver.d.ts → a/TypeOverloadResolver.d.ts} +1 -1
- package/build/types/analysis/{UserDefinableBinaryOperatorResolver.d.ts → a/UserDefinableBinaryOperatorResolver.d.ts} +6 -6
- package/build/types/analysis/{UserDefinableUnaryOperatorResolver.d.ts → a/UserDefinableUnaryOperatorResolver.d.ts} +4 -4
- package/build/types/analysis/{control-flow → a/control-flow}/GraphBuilder.d.ts +6 -7
- package/build/types/analysis/{control-flow → a/control-flow}/NarrowableExpression.d.ts +1 -1
- package/build/types/analysis/{control-flow → a/control-flow}/NarrowableReference.d.ts +3 -3
- package/build/types/analysis/{control-flow → a/control-flow}/Nodes.d.ts +1 -1
- package/build/types/analysis/{semantic-context → a/semantic-context}/Declarations.d.ts +4 -4
- package/build/types/analysis/{semantic-context → a/semantic-context}/FieldWithInitializerSemanticContext.d.ts +3 -3
- package/build/types/analysis/{semantic-context → a/semantic-context}/SemanticContextBase.d.ts +28 -22
- package/build/types/analysis/{semantic-context → a/semantic-context}/SemanticContextBuilder.d.ts +16 -13
- package/build/types/analysis/{semantic-context → a/semantic-context}/SemanticContextValidatingNameConflicts.d.ts +4 -4
- package/build/types/analysis/{semantic-context → a/semantic-context}/SemanticContextWithParent.d.ts +1 -1
- package/build/types/analysis/{semantic-context → a/semantic-context}/SourceFileSemanticContext.d.ts +9 -10
- package/build/types/analysis/{semantic-context → a/semantic-context}/SpecialLocalDeclarationsBuilder.d.ts +2 -2
- package/build/types/analysis/{semantic-context → a/semantic-context}/SubprogramBodyAndParametersSemanticContext.d.ts +3 -3
- package/build/types/analysis/{semantic-context → a/semantic-context}/SubprogramSemanticContext.d.ts +7 -8
- package/build/types/analysis/{semantic-context → a/semantic-context}/TypeSemanticContext.d.ts +8 -9
- package/build/types/analysis/m/Analyzer.d.ts +10 -0
- package/build/types/api/Api.d.ts +24 -25
- package/build/types/common/LocalizationHelper.d.ts +1 -11
- package/build/types/common/LocalizationHelperA.d.ts +16 -0
- package/build/types/common/Logger.d.ts +1 -1
- package/build/types/common/index.d.ts +1 -1
- package/build/types/diagnostic/DiagnosticCode.d.ts +177 -174
- package/build/types/diagnostic/TokenDiagnostic.d.ts +1 -1
- package/build/types/emitter/Emitter.d.ts +1 -1
- package/build/types/emitter/{IrBuilder.d.ts → IrBuilderA.d.ts} +7 -7
- package/build/types/entities/BaseObjectType.d.ts +1 -1
- package/build/types/entities/Entity.d.ts +3 -47
- package/build/types/entities/EntityKind.d.ts +16 -0
- package/build/types/entities/EntityLocalizationContext.d.ts +8 -6
- package/build/types/entities/EntityToStringDecorator.d.ts +4 -0
- package/build/types/entities/IEntity.d.ts +1 -3
- package/build/types/entities/OperatorKind.d.ts +2 -2
- package/build/types/entities/PackageEntityMembers.d.ts +1 -2
- package/build/types/{analysis → entities}/Tag.d.ts +5 -2
- package/build/types/{analysis → entities}/Translation.d.ts +7 -7
- package/build/types/entities/TypeEntity.d.ts +2 -1
- package/build/types/entities/TypeMemberEntity.d.ts +31 -0
- package/build/types/entities/index.d.ts +5 -1
- package/build/types/entities/interfaces/AliasTypeEntity.d.ts +4 -5
- package/build/types/entities/interfaces/ConstructorEntity.d.ts +3 -4
- package/build/types/entities/interfaces/DereferenceOperatorEntity.d.ts +2 -2
- package/build/types/entities/interfaces/DestructorEntity.d.ts +2 -2
- package/build/types/entities/interfaces/FunctionEntity.d.ts +3 -5
- package/build/types/entities/interfaces/FunctionTypeEntity.d.ts +3 -5
- package/build/types/entities/interfaces/GetterEntity.d.ts +2 -2
- package/build/types/entities/interfaces/IndexerEntity.d.ts +2 -2
- package/build/types/entities/interfaces/PackageAliasEntity.d.ts +2 -2
- package/build/types/entities/interfaces/PackageEntity.d.ts +23 -2
- package/build/types/entities/interfaces/ReducedTypeEntity.d.ts +4 -5
- package/build/types/entities/interfaces/SetterEntity.d.ts +2 -2
- package/build/types/entities/interfaces/StructuredTypeEntity.d.ts +3 -5
- package/build/types/entities/interfaces/TextTranslationEntity.d.ts +3 -3
- package/build/types/entities/interfaces/TypeExtensionEntity.d.ts +3 -4
- package/build/types/entities/interfaces/TypeParameterEntity.d.ts +2 -2
- package/build/types/entities/interfaces/VariableEntity.d.ts +11 -11
- package/build/types/entities/interfaces/VariantTypeEntity.d.ts +3 -5
- package/build/types/entities/intrinsic/IntrinsicConstructorEntity.d.ts +7 -5
- package/build/types/entities/intrinsic/IntrinsicFunctionEntity.d.ts +9 -4
- package/build/types/entities/intrinsic/IntrinsicFunctionTypeEntity.d.ts +3 -3
- package/build/types/entities/intrinsic/IntrinsicGetterEntity.d.ts +5 -4
- package/build/types/entities/intrinsic/IntrinsicSetterEntity.d.ts +21 -0
- package/build/types/entities/intrinsic/IntrinsicStructuredTypeEntity.d.ts +5 -3
- package/build/types/entities/intrinsic/IntrinsicTypeParameterEntity.d.ts +6 -4
- package/build/types/entities/intrinsic/IntrinsicVariableEntity.d.ts +6 -4
- package/build/types/entities/intrinsic/index.d.ts +1 -0
- package/build/types/entities/source/{SourceAliasTypeEntity.d.ts → a/SourceAliasTypeEntity.d.ts} +5 -8
- package/build/types/entities/source/{SourceConstructorEntity.d.ts → a/SourceConstructorEntity.d.ts} +6 -8
- package/build/types/entities/source/{SourceDereferenceOperatorEntity.d.ts → a/SourceDereferenceOperatorEntity.d.ts} +7 -8
- package/build/types/entities/source/{SourceDestructorEntity.d.ts → a/SourceDestructorEntity.d.ts} +6 -8
- package/build/types/entities/source/{SourceFunctionEntity.d.ts → a/SourceFunctionEntity.d.ts} +7 -8
- package/build/types/entities/source/{SourceFunctionTypeEntity.d.ts → a/SourceFunctionTypeEntity.d.ts} +7 -12
- package/build/types/entities/source/{SourceGetterEntity.d.ts → a/SourceGetterEntity.d.ts} +9 -11
- package/build/types/entities/source/{SourceIndexerEntity.d.ts → a/SourceIndexerEntity.d.ts} +6 -7
- package/build/types/entities/source/{SourcePackageAliasEntity.d.ts → a/SourcePackageAliasEntity.d.ts} +5 -7
- package/build/types/entities/source/a/SourcePackageEntity.d.ts +67 -0
- package/build/types/entities/source/{SourceReducedTypeEntity.d.ts → a/SourceReducedTypeEntity.d.ts} +6 -9
- package/build/types/entities/source/{SourceSetterEntity.d.ts → a/SourceSetterEntity.d.ts} +8 -25
- package/build/types/entities/source/{SourceStructuredTypeEntity.d.ts → a/SourceStructuredTypeEntity.d.ts} +10 -15
- package/build/types/entities/source/{SourceTextTranslationEntity.d.ts → a/SourceTextTranslationEntity.d.ts} +4 -7
- package/build/types/entities/source/{SourceTypeExtensionEntity.d.ts → a/SourceTypeExtensionEntity.d.ts} +5 -8
- package/build/types/entities/source/{SourceTypeParameterEntity.d.ts → a/SourceTypeParameterEntity.d.ts} +6 -9
- package/build/types/entities/source/{SourceVariableEntity.d.ts → a/SourceVariableEntity.d.ts} +7 -8
- package/build/types/entities/source/{SourceVariantTypeEntity.d.ts → a/SourceVariantTypeEntity.d.ts} +6 -10
- package/build/types/entities/translated/TranslatedAliasTypeEntity.d.ts +11 -21
- package/build/types/entities/translated/TranslatedConstructorEntity.d.ts +5 -17
- package/build/types/entities/translated/TranslatedDereferenceOperatorEntity.d.ts +5 -8
- package/build/types/entities/translated/TranslatedDestructorEntity.d.ts +10 -14
- package/build/types/entities/translated/TranslatedFunctionEntity.d.ts +14 -31
- package/build/types/entities/translated/TranslatedFunctionTypeEntity.d.ts +9 -25
- package/build/types/entities/translated/TranslatedGetterEntity.d.ts +5 -9
- package/build/types/entities/translated/TranslatedIndexerEntity.d.ts +6 -16
- package/build/types/entities/translated/TranslatedPackageEntity.d.ts +37 -12
- package/build/types/entities/translated/TranslatedReducedTypeEntity.d.ts +10 -19
- package/build/types/entities/translated/TranslatedSetterEntity.d.ts +5 -9
- package/build/types/entities/translated/TranslatedStructuredTypeEntity.d.ts +18 -27
- package/build/types/entities/translated/TranslatedTypeExtensionEntity.d.ts +8 -15
- package/build/types/entities/translated/TranslatedTypeParameterEntity.d.ts +5 -9
- package/build/types/entities/translated/TranslatedVariableEntity.d.ts +10 -16
- package/build/types/entities/translated/TranslatedVariantTypeEntity.d.ts +10 -25
- package/build/types/entities/translated/source/a/SourceTranslatedAliasTypeEntity.d.ts +14 -0
- package/build/types/entities/translated/source/a/SourceTranslatedConstructorEntity.d.ts +12 -0
- package/build/types/entities/translated/source/a/SourceTranslatedDestructorEntity.d.ts +9 -0
- package/build/types/entities/translated/source/a/SourceTranslatedFunctionEntity.d.ts +24 -0
- package/build/types/entities/translated/source/a/SourceTranslatedFunctionTypeEntity.d.ts +13 -0
- package/build/types/entities/translated/source/a/SourceTranslatedIndexerEntity.d.ts +11 -0
- package/build/types/entities/translated/source/a/SourceTranslatedPackageEntity.d.ts +19 -0
- package/build/types/entities/translated/source/a/SourceTranslatedPackageStructuredTypeEntity.d.ts +20 -0
- package/build/types/entities/translated/source/a/SourceTranslatedPackageVariantTypeEntity.d.ts +14 -0
- package/build/types/entities/translated/source/a/SourceTranslatedReducedTypeEntity.d.ts +14 -0
- package/build/types/entities/translated/source/a/SourceTranslatedTypeExtensionEntity.d.ts +9 -0
- package/build/types/entities/translated/source/a/index.d.ts +11 -0
- package/build/types/executor/NodeCompiler.d.ts +1 -1
- package/build/types/parser/{ConvertTokenKind.d.ts → a/ConvertTokenKind.d.ts} +1 -1
- package/build/types/parser/{KeywordDictionary.d.ts → a/KeywordDictionary.d.ts} +4 -3
- package/build/types/parser/{Parser.d.ts → a/Parser.d.ts} +2 -2
- package/build/types/parser/a/TokenKind.d.ts +80 -0
- package/build/types/parser/{TriviaInterner.d.ts → a/TriviaInterner.d.ts} +1 -1
- package/build/types/project/CompilationLoader.d.ts +3 -3
- package/build/types/project/SourceFile.d.ts +34 -10
- package/build/types/project/SourcePackage.d.ts +71 -19
- package/build/types/project/configuration/ConfigurationConverter.d.ts +3 -5
- package/build/types/project/configuration/ConfigurationFileParser.d.ts +7 -6
- package/build/types/project/configuration/ConfigurationTranslator.d.ts +1 -3
- package/build/types/project/configuration/types/PackageConfigurationEn.d.ts +1 -2
- package/build/types/project/configuration/types/PackageConfigurationRu.d.ts +1 -2
- package/build/types/services/LanguageServer.d.ts +10 -10
- package/build/types/services/a/CodeActionsService.d.ts +10 -0
- package/build/types/services/{CompletionService.d.ts → a/CompletionService.d.ts} +5 -52
- package/build/types/services/a/DefinitionService.d.ts +11 -0
- package/build/types/services/a/DisplayService.d.ts +57 -0
- package/build/types/services/a/EvaluatableExpressionService.d.ts +10 -0
- package/build/types/services/a/HoverService.d.ts +11 -0
- package/build/types/services/a/NodeSemanticInfo.d.ts +45 -0
- package/build/types/services/a/RenameService.d.ts +11 -0
- package/build/types/services/a/ScriptEditingService.d.ts +13 -0
- package/build/types/services/a/SelectionRangeService.d.ts +7 -0
- package/build/types/services/a/SemanticTokensService.d.ts +11 -0
- package/build/types/services/a/SourceFileItemsService.d.ts +11 -0
- package/build/types/services/{TranslationService.d.ts → a/TranslationService.d.ts} +4 -4
- package/build/types/services/a/TranslationsGenerationService.d.ts +7 -0
- package/build/types/services/{TreeUtils.d.ts → a/TreeUtils.d.ts} +1 -1
- package/build/types/services/a/references/DefinitionInfoFinder.d.ts +6 -0
- package/build/types/services/a/references/ReferencesFinder.d.ts +7 -0
- package/build/types/services/{signature-help → a/signature-help}/ParametersSignatureHelpProvider.d.ts +4 -4
- package/build/types/services/a/signature-help/SignatureHelpService.d.ts +6 -0
- package/build/types/services/{signature-help → a/signature-help}/SignatureWithParameters.d.ts +6 -6
- package/build/types/services/{signature-help → a/signature-help}/TypeParameterSignatureHelpProvider.d.ts +4 -4
- package/build/types/services/{signature-help → a/signature-help}/utils.d.ts +1 -1
- package/build/types/services/{FileSystemTreeDisplayService.d.ts → common/FileSystemTreeDisplayService.d.ts} +1 -1
- package/build/types/services/{Types.d.ts → common/Types.d.ts} +5 -5
- package/build/types/services/{Utils.d.ts → common/Utils.d.ts} +2 -2
- package/build/types/services/common/WorkspaceItemsService.d.ts +6 -0
- package/build/types/services/{CodeActionsService.d.ts → common/code-action/Types.d.ts} +8 -9
- package/build/types/services/common/completion/Types.d.ts +49 -0
- package/build/types/services/common/definition/DefinitionService.d.ts +23 -0
- package/build/types/services/common/definition/Types.d.ts +7 -0
- package/build/types/services/common/display/BaseDisplayService.d.ts +41 -0
- package/build/types/services/common/display/DisplayService.d.ts +52 -0
- package/build/types/services/{DisplayService.d.ts → common/display/Types.d.ts} +60 -177
- package/build/types/services/common/display/index.d.ts +2 -0
- package/build/types/services/common/document-highlights/DocumentHighlightsService.d.ts +9 -0
- package/build/types/services/common/document-highlights/Types.d.ts +11 -0
- package/build/types/services/common/evaluatable-expression/Types.d.ts +6 -0
- package/build/types/services/common/hover/HoverService.d.ts +16 -0
- package/build/types/services/common/hover/Types.d.ts +8 -0
- package/build/types/services/common/node-semantic-info/Types.d.ts +101 -0
- package/build/types/services/common/references/ReferencesFinder.d.ts +14 -0
- package/build/types/services/common/references/ReferencesSearchUtils.d.ts +5 -0
- package/build/types/services/common/references/ReferencesService.d.ts +12 -0
- package/build/types/services/common/references/Types.d.ts +41 -0
- package/build/types/services/common/rename/RenameService.d.ts +17 -0
- package/build/types/services/common/rename/Types.d.ts +8 -0
- package/build/types/services/common/script-editing/ScriptEditingService.d.ts +9 -0
- package/build/types/services/common/script-editing/Types.d.ts +9 -0
- package/build/types/services/common/selection-rage/Types.d.ts +6 -0
- package/build/types/services/{SemanticTokensService.d.ts → common/semantic-tokens/Types.d.ts} +1 -10
- package/build/types/services/{signature-help/SignatureHelpService.d.ts → common/signature-help/Types.d.ts} +1 -6
- package/build/types/services/{SourceFileItemsService.d.ts → common/source-file-items/Types.d.ts} +7 -16
- package/build/types/services/{source-generation → common/source-generation}/EntityToSyntax.d.ts +3 -3
- package/build/types/services/{source-generation → common/source-generation}/SourceGenerationService.d.ts +6 -6
- package/build/types/services/workspace/CompilationController.d.ts +5 -4
- package/build/types/services/workspace/FileSystemTreeProviderBasedOnWatchedFileSystem.d.ts +1 -1
- package/build/types/services/workspace/Workspace.d.ts +1 -1
- package/build/types/tree/NodePath.d.ts +6 -2
- package/build/types/tree/Types.d.ts +7 -0
- package/build/types/tree/Utils.d.ts +4 -7
- package/build/types/tree/a/BaseNode.d.ts +42 -0
- package/build/types/tree/{Nodes.d.ts → a/Nodes.d.ts} +87 -66
- package/build/types/tree/{SyntaxFactory.d.ts → a/SyntaxFactory.d.ts} +8 -4
- package/build/types/tree/{SyntaxToCode.d.ts → a/SyntaxToCode.d.ts} +2 -2
- package/build/types/tree/a/Token.d.ts +46 -0
- package/build/types/tree/a/TokenKind.d.ts +74 -0
- package/build/types/tree/a/TreeTraversal.d.ts +18 -0
- package/build/types/tree/a/Types.d.ts +45 -0
- package/build/types/tree/a/Utils.d.ts +3 -0
- package/build/types/tree/a/index.d.ts +15 -0
- package/build/types/tree/index.d.ts +1 -9
- package/build/types/tree/{BaseNode.d.ts → m/BaseNode.d.ts} +4 -27
- package/build/types/tree/m/NodeKind.d.ts +4 -0
- package/build/types/tree/m/Nodes.d.ts +17 -0
- package/build/types/tree/m/TokenKind.d.ts +74 -0
- package/build/types/tree/m/TriviaKind.d.ts +7 -0
- package/build/types/tree/m/index.d.ts +5 -0
- package/build/types/ts-interop/Entities.d.ts +9 -353
- package/build/types/ts-interop/TsInteropContext.d.ts +5 -14
- package/build/types/ts-interop/TsPackageMembersCreator.d.ts +1 -1
- package/build/types/ts-interop/TsTypeMembersCreator.d.ts +1 -2
- package/build/types/ts-interop/TsUtils.d.ts +10 -0
- package/build/types/ts-interop/TypeEntities.d.ts +359 -0
- package/build/types/ts-interop/Utils.d.ts +1 -1
- package/build/types/types/AliasType.d.ts +6 -8
- package/build/types/types/FunctionType.d.ts +7 -8
- package/build/types/types/IntersectionType.d.ts +4 -7
- package/build/types/types/ParameterType.d.ts +7 -9
- package/build/types/types/ReducedType.d.ts +6 -8
- package/build/types/types/StandardTypes.d.ts +4 -2
- package/build/types/types/StructuredType.d.ts +6 -7
- package/build/types/types/SubstitutionStubType.d.ts +5 -8
- package/build/types/types/Substitutions.d.ts +1 -1
- package/build/types/types/Type.d.ts +15 -9
- package/build/types/types/TypeFactory.d.ts +11 -2
- package/build/types/types/TypeMembers.d.ts +5 -2
- package/build/types/types/UnionType.d.ts +4 -7
- package/build/types/types/UnresolvedType.d.ts +4 -7
- package/build/types/types/VariantType.d.ts +6 -8
- package/package.json +13 -11
- package/build/types/analysis/DeclarationsUsageCounter.d.ts +0 -21
- package/build/types/analysis/FindModifier.d.ts +0 -7
- package/build/types/analysis/ResolvedTextTranslationPackage.d.ts +0 -9
- package/build/types/analysis/Utils.d.ts +0 -47
- package/build/types/analysis/Visitor.d.ts +0 -7
- package/build/types/analysis/index.d.ts +0 -8
- package/build/types/common/TreeTraversal.d.ts +0 -14
- package/build/types/entities/source/SourcePackageEntity.d.ts +0 -33
- package/build/types/parser/TokenKind.d.ts +0 -75
- package/build/types/services/DefinitionService.d.ts +0 -24
- package/build/types/services/DocumentHighlightsService.d.ts +0 -18
- package/build/types/services/EvaluatableExpressionService.d.ts +0 -15
- package/build/types/services/HoverService.d.ts +0 -17
- package/build/types/services/NodeSemanticInfo.d.ts +0 -147
- package/build/types/services/ReferencesService.d.ts +0 -30
- package/build/types/services/RenameService.d.ts +0 -17
- package/build/types/services/ScriptEditingService.d.ts +0 -25
- package/build/types/services/SelectionRangeService.d.ts +0 -12
- package/build/types/services/TranslationsGenerationService.d.ts +0 -7
- package/build/types/services/WorkspaceItemsService.d.ts +0 -6
- package/build/types/tree/TokenKind.d.ts +0 -74
- /package/build/types/analysis/{ModifierFlags.d.ts → a/ModifierFlags.d.ts} +0 -0
- /package/build/types/analysis/{ReachabilityChecker.d.ts → a/ReachabilityChecker.d.ts} +0 -0
- /package/build/types/analysis/{VariableIsAssignedChecker.d.ts → a/VariableIsAssignedChecker.d.ts} +0 -0
- /package/build/types/analysis/{VariableIsNotAssignedChecker.d.ts → a/VariableIsNotAssignedChecker.d.ts} +0 -0
- /package/build/types/analysis/{control-flow → a/control-flow}/GraphVisualizer.d.ts +0 -0
- /package/build/types/analysis/{control-flow → a/control-flow}/index.d.ts +0 -0
- /package/build/types/analysis/{semantic-context → a/semantic-context}/SemanticContext.d.ts +0 -0
- /package/build/types/analysis/{semantic-context → a/semantic-context}/index.d.ts +0 -0
- /package/build/types/entities/source/{index.d.ts → a/index.d.ts} +0 -0
- /package/build/types/parser/{Scanner.d.ts → a/Scanner.d.ts} +0 -0
- /package/build/types/tree/{KeywordFlags.d.ts → a/KeywordFlags.d.ts} +0 -0
- /package/build/types/tree/{KeywordKind.d.ts → a/KeywordKind.d.ts} +0 -0
- /package/build/types/tree/{NodeKind.d.ts → a/NodeKind.d.ts} +0 -0
- /package/build/types/tree/{NodesDebug.d.ts → a/NodesDebug.d.ts} +0 -0
- /package/build/types/tree/{OperatorKind.d.ts → a/OperatorKind.d.ts} +0 -0
- /package/build/types/tree/{TokenFlags.d.ts → a/TokenFlags.d.ts} +0 -0
- /package/build/types/tree/{TriviaKind.d.ts → a/TriviaKind.d.ts} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { DiagnosticAcceptor } from '
|
|
2
|
-
import { NamedTypeEntity, PackageAliasEntity } from '
|
|
3
|
-
import { Tag } from '
|
|
4
|
-
import * as types from '
|
|
5
|
-
import { AccessedFunction, NotSubstitutedAccessedFunction } from '
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import { DiagnosticAcceptor } from '../../diagnostic/Diagnostic.js';
|
|
2
|
+
import { NamedTypeEntity, PackageAliasEntity } from '../../entities/index.js';
|
|
3
|
+
import { Tag } from '../../tree/a/index.js';
|
|
4
|
+
import * as types from '../../types/index.js';
|
|
5
|
+
import { AccessedFunction, NotSubstitutedAccessedFunction } from '../AccessedFunction.js';
|
|
6
|
+
import { EntityOrPackageNameTreeNode } from '../EntityOrPackageNameTreeNode.js';
|
|
7
|
+
import { PackageNameTreeNode } from '../ImportedPackageNameTree.js';
|
|
8
|
+
import { Analyzer } from './Analyzer.js';
|
|
9
9
|
export declare class Resolver {
|
|
10
10
|
private readonly analyzer;
|
|
11
11
|
private readonly node;
|
|
@@ -30,21 +30,15 @@ declare class Meaning_tagType {
|
|
|
30
30
|
readonly type: types.Type;
|
|
31
31
|
readonly typeEntity: NamedTypeEntity | undefined;
|
|
32
32
|
readonly candidates: readonly types.Constructor[];
|
|
33
|
-
readonly
|
|
34
|
-
readonly singleNotSuitableSubstitutedCandidate: types.Constructor | undefined;
|
|
33
|
+
readonly suitableOrSingleConstructor: types.Constructor | undefined;
|
|
35
34
|
readonly kind = "tag-type";
|
|
36
|
-
|
|
37
|
-
get singleConstructor(): types.Constructor | undefined;
|
|
38
|
-
constructor(type: types.Type, typeEntity: NamedTypeEntity | undefined, candidates: readonly types.Constructor[], suitableConstructors: readonly types.Constructor[], singleNotSuitableSubstitutedCandidate: types.Constructor | undefined);
|
|
35
|
+
constructor(type: types.Type, typeEntity: NamedTypeEntity | undefined, candidates: readonly types.Constructor[], suitableOrSingleConstructor: types.Constructor | undefined);
|
|
39
36
|
}
|
|
40
37
|
declare class Meaning_tagFunction {
|
|
41
38
|
readonly candidates: readonly NotSubstitutedAccessedFunction[];
|
|
42
|
-
readonly
|
|
43
|
-
readonly singleNotSuitableSubstitutedCandidate: AccessedFunction | undefined;
|
|
39
|
+
readonly suitableOrSingleFunction: AccessedFunction | undefined;
|
|
44
40
|
readonly kind = "tag-function";
|
|
45
|
-
|
|
46
|
-
get singleFunction(): AccessedFunction | undefined;
|
|
47
|
-
constructor(candidates: readonly NotSubstitutedAccessedFunction[], suitableFunctions: readonly AccessedFunction[], singleNotSuitableSubstitutedCandidate: AccessedFunction | undefined);
|
|
41
|
+
constructor(candidates: readonly NotSubstitutedAccessedFunction[], suitableOrSingleFunction: AccessedFunction | undefined);
|
|
48
42
|
}
|
|
49
43
|
declare class Meaning_unresolved {
|
|
50
44
|
readonly kind = "unresolved";
|
|
@@ -69,9 +63,8 @@ export declare class ResolvedQualifier_type {
|
|
|
69
63
|
}
|
|
70
64
|
export declare class ResolvedQualifier_function {
|
|
71
65
|
readonly candidates: readonly NotSubstitutedAccessedFunction[];
|
|
72
|
-
readonly
|
|
66
|
+
readonly suitableOrSingleFunction: AccessedFunction | undefined;
|
|
73
67
|
readonly kind = "function";
|
|
74
|
-
|
|
75
|
-
constructor(candidates: readonly NotSubstitutedAccessedFunction[], suitableFunctions: readonly AccessedFunction[]);
|
|
68
|
+
constructor(candidates: readonly NotSubstitutedAccessedFunction[], suitableOrSingleFunction: AccessedFunction | undefined);
|
|
76
69
|
}
|
|
77
70
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { TextKey } from '../../entities/index.js';
|
|
2
|
+
import * as tree from '../../tree/a/index.js';
|
|
3
3
|
export declare class TextIdentity {
|
|
4
4
|
static keyFromTextFragments(fragments: readonly string[]): TextKey;
|
|
5
5
|
static keyFromTextToken(token: tree.Token<tree.TokenKind.TextLiteral>): TextKey;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DiagnosticAcceptor } from '
|
|
2
|
-
import { PackageEntity } from '
|
|
3
|
-
import { SourceFile } from '
|
|
1
|
+
import { DiagnosticAcceptor } from '../../diagnostic/Diagnostic.js';
|
|
2
|
+
import { PackageEntity } from '../../entities/index.js';
|
|
3
|
+
import { SourceFile } from '../../project/SourceFile.js';
|
|
4
4
|
import { Analyzer } from './Analyzer.js';
|
|
5
5
|
/**
|
|
6
6
|
* Переведённые имена проверяются по следующим правилам:
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import * as tree from '../tree/index.js';
|
|
1
|
+
import { PackageEntity, TypeEntity } from '../../entities/index.js';
|
|
2
|
+
import { SourceFileA, SourcePackageA } from '../../project/index.js';
|
|
3
|
+
import * as tree from '../../tree/a/index.js';
|
|
4
|
+
import { Analyzer } from './Analyzer.js';
|
|
6
5
|
export declare class TreeQuery {
|
|
7
|
-
static getSourceFile(node: tree.Node, analyzer: Analyzer):
|
|
8
|
-
static getSourcePackage(node: tree.Node, analyzer: Analyzer):
|
|
6
|
+
static getSourceFile(node: tree.Node, analyzer: Analyzer): SourceFileA;
|
|
7
|
+
static getSourcePackage(node: tree.Node, analyzer: Analyzer): SourcePackageA;
|
|
9
8
|
static getPackageEntity(node: tree.Node, analyzer: Analyzer): PackageEntity;
|
|
10
9
|
}
|
|
11
10
|
export declare class TypeMemberQuery {
|
|
@@ -13,4 +12,4 @@ export declare class TypeMemberQuery {
|
|
|
13
12
|
static getOutermostMemberBlock(node: tree.TypeMemberDeclaration): tree.TypeMemberDeclarationBlock;
|
|
14
13
|
static getContextualTypeEntity(node: tree.TypeMemberDeclaration, analyzer: Analyzer): TypeEntity | undefined;
|
|
15
14
|
}
|
|
16
|
-
export type TypeWithMembersOrTypeExtensionDeclaration = TypeWithMembersDeclaration | tree.TypeExtensionDeclaration;
|
|
15
|
+
export type TypeWithMembersOrTypeExtensionDeclaration = tree.TypeWithMembersDeclaration | tree.TypeExtensionDeclaration;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { TypeParameterEntity } from '
|
|
2
|
-
import * as tree from '
|
|
3
|
-
import * as types from '
|
|
4
|
-
import { Analyzer
|
|
1
|
+
import { TypeParameterEntity } from '../../entities/index.js';
|
|
2
|
+
import * as tree from '../../tree/a/index.js';
|
|
3
|
+
import * as types from '../../types/index.js';
|
|
4
|
+
import { Analyzer } from './Analyzer.js';
|
|
5
|
+
import { ExpressionAnalysisOptions } from './ExpressionAnalysisOptions.js';
|
|
5
6
|
export type Argument = SourceArgument | IntrinsicArgument;
|
|
6
7
|
export interface SourceArgument {
|
|
7
8
|
readonly kind: 'source';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PackageLocale } from '
|
|
2
|
-
import * as types from '
|
|
1
|
+
import { PackageLocale } from '../../common/index.js';
|
|
2
|
+
import * as types from '../../types/index.js';
|
|
3
3
|
import { Analyzer } from './Analyzer.js';
|
|
4
4
|
import * as controlFlow from './control-flow/index.js';
|
|
5
5
|
import { NarrowableReference } from './control-flow/index.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NamedTypeEntity } from '
|
|
1
|
+
import { NamedTypeEntity } from '../../entities/index.js';
|
|
2
2
|
export declare class Resolver {
|
|
3
3
|
static resolve<TCandidate extends ICandidate>(candidates: readonly TCandidate[], argumentCount: number): readonly TCandidate[];
|
|
4
4
|
static resolveByNamedTypeEntities<T extends NamedTypeEntity>(candidates: readonly T[], argumentCount: number): readonly T[];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { DiagnosticAcceptor } from '
|
|
2
|
-
import { BinaryOperatorKind } from '
|
|
3
|
-
import * as tree from '
|
|
4
|
-
import * as types from '
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { DiagnosticAcceptor } from '../../diagnostic/Diagnostic.js';
|
|
2
|
+
import { BinaryOperatorKind } from '../../entities/OperatorKind.js';
|
|
3
|
+
import * as tree from '../../tree/a/index.js';
|
|
4
|
+
import * as types from '../../types/index.js';
|
|
5
|
+
import { NodeOrDiagnosticLocation } from '../NodeOrDiagnosticLocation.js';
|
|
6
|
+
import { Analyzer } from './Analyzer.js';
|
|
7
7
|
/**
|
|
8
8
|
* Определяет подходящую двухместную операцию, определённую пользователем (+, *, == и др.).
|
|
9
9
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DiagnosticAcceptor } from '
|
|
2
|
-
import * as tree from '
|
|
3
|
-
import * as types from '
|
|
4
|
-
import { Analyzer } from './
|
|
1
|
+
import { DiagnosticAcceptor } from '../../diagnostic/Diagnostic.js';
|
|
2
|
+
import * as tree from '../../tree/a/index.js';
|
|
3
|
+
import * as types from '../../types/index.js';
|
|
4
|
+
import { Analyzer } from './Analyzer.js';
|
|
5
5
|
/**
|
|
6
6
|
* Определяет подходящую одноместную операцию, определённую пользователем (+, -, не).
|
|
7
7
|
*
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Diagnostic } from '
|
|
2
|
-
import {
|
|
3
|
-
import * as tree from '
|
|
4
|
-
import { SubprogramDeclarationOrLiteral } from '../NodeTypeUtils.js';
|
|
1
|
+
import { Diagnostic } from '../../../diagnostic/Diagnostic.js';
|
|
2
|
+
import { SourceFileA } from '../../../project/SourceFile.js';
|
|
3
|
+
import * as tree from '../../../tree/a/index.js';
|
|
5
4
|
import { NarrowableReferenceExpression } from './NarrowableExpression.js';
|
|
6
5
|
import { Node } from './Nodes.js';
|
|
7
6
|
export declare class GraphBuilder {
|
|
@@ -17,7 +16,7 @@ export declare class GraphBuilder {
|
|
|
17
16
|
private currentErrorTarget;
|
|
18
17
|
private currentReturnTarget;
|
|
19
18
|
private currentRangeWithReportedUnreachableCodeDiagnostic;
|
|
20
|
-
constructor(sourceFile:
|
|
19
|
+
constructor(sourceFile: SourceFileA);
|
|
21
20
|
build(): GraphBuildResult;
|
|
22
21
|
private visitNode;
|
|
23
22
|
private visitAssignmentStatement;
|
|
@@ -44,7 +43,7 @@ export declare class GraphBuilder {
|
|
|
44
43
|
export declare class GraphBuildResult {
|
|
45
44
|
readonly controlFlowNodeByReference: ReadonlyMap<NarrowableReferenceExpression, Node>;
|
|
46
45
|
readonly controlFlowNodesPrecedingErrorStatement: ReadonlyMap<tree.ErrorStatement, Node>;
|
|
47
|
-
readonly controlFlowNodesEndingSubprogram: ReadonlyMap<SubprogramDeclarationOrLiteral, Node>;
|
|
46
|
+
readonly controlFlowNodesEndingSubprogram: ReadonlyMap<tree.SubprogramDeclarationOrLiteral, Node>;
|
|
48
47
|
readonly unreachableCodeDiagnostics: readonly Diagnostic[];
|
|
49
|
-
constructor(controlFlowNodeByReference: ReadonlyMap<NarrowableReferenceExpression, Node>, controlFlowNodesPrecedingErrorStatement: ReadonlyMap<tree.ErrorStatement, Node>, controlFlowNodesEndingSubprogram: ReadonlyMap<SubprogramDeclarationOrLiteral, Node>, unreachableCodeDiagnostics: readonly Diagnostic[]);
|
|
48
|
+
constructor(controlFlowNodeByReference: ReadonlyMap<NarrowableReferenceExpression, Node>, controlFlowNodesPrecedingErrorStatement: ReadonlyMap<tree.ErrorStatement, Node>, controlFlowNodesEndingSubprogram: ReadonlyMap<tree.SubprogramDeclarationOrLiteral, Node>, unreachableCodeDiagnostics: readonly Diagnostic[]);
|
|
50
49
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as tree from '
|
|
1
|
+
import * as tree from '../../../tree/a/index.js';
|
|
2
2
|
export declare function isNarrowableExpression(node: tree.Node): node is tree.Expression;
|
|
3
3
|
export type NarrowableReferenceExpression = tree.IdentifierExpression | tree.MemberAccessExpression | tree.ObjectExpression;
|
|
4
4
|
export declare function isNarrowableReferenceExpression(node: tree.Node): node is NarrowableReferenceExpression;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FieldEntity, LocalVariableEntity, PackageVariableEntity, ParameterEntity } from '
|
|
2
|
-
import * as tree from '
|
|
1
|
+
import { FieldEntity, LocalVariableEntity, PackageVariableEntity, ParameterEntity } from '../../../entities/index.js';
|
|
2
|
+
import * as tree from '../../../tree/a/index.js';
|
|
3
3
|
import { Analyzer } from '../Analyzer.js';
|
|
4
|
-
import { NarrowableReferenceExpression } from '
|
|
4
|
+
import { NarrowableReferenceExpression } from './NarrowableExpression.js';
|
|
5
5
|
export type NarrowableReference = NarrowableReference.LocalVariable | NarrowableReference.PackageVariable | NarrowableReference.InstanceField | NarrowableReference.StaticField | NarrowableReference.ObjectAutoVariable;
|
|
6
6
|
export declare namespace NarrowableReference {
|
|
7
7
|
export class LocalVariable implements INarrowableReference {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as tree from '
|
|
1
|
+
import * as tree from '../../../tree/a/index.js';
|
|
2
2
|
export type Node = StartNode | ConditionNode | AssignmentNode | LocalVariableDeclarationNode | SplitNode | LoopNode | UnreachableNode;
|
|
3
3
|
declare abstract class ControlFlowNodeBase {
|
|
4
4
|
protected abstract thisAsNode: Node;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Name } from '
|
|
2
|
-
import { EntityHidingLevel, MethodEntity, NamedFunctionEntity, NamedTypeEntity, PackageAliasEntity, PackageOrNestedFunctionEntity, VariableEntity } from '
|
|
3
|
-
import * as types from '
|
|
4
|
-
import { PackageNameTreeNode } from '
|
|
1
|
+
import { Name } from '../../../common/index.js';
|
|
2
|
+
import { EntityHidingLevel, MethodEntity, NamedFunctionEntity, NamedTypeEntity, PackageAliasEntity, PackageOrNestedFunctionEntity, VariableEntity } from '../../../entities/index.js';
|
|
3
|
+
import * as types from '../../../types/index.js';
|
|
4
|
+
import { PackageNameTreeNode } from '../../ImportedPackageNameTree.js';
|
|
5
5
|
export type TypeOrContainerWithTypes = NamedDeclaration_type | NamedDeclaration_packageAlias | NamedDeclaration_packageNameSegment;
|
|
6
6
|
export type NamedDeclaration = NamedDeclaration_function | NamedDeclaration_variable | NamedDeclaration_type | NamedDeclaration_packageAlias | NamedDeclaration_packageNameSegment;
|
|
7
7
|
export declare class NamedDeclaration_function implements INamedDeclaration {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Name } from '
|
|
2
|
-
import * as tree from '
|
|
1
|
+
import { Name } from '../../../common/index.js';
|
|
2
|
+
import * as tree from '../../../tree/a/index.js';
|
|
3
|
+
import { TypeMemberLookupContext } from '../../TypeMemberLookup.js';
|
|
3
4
|
import { Analyzer } from '../Analyzer.js';
|
|
4
|
-
import { TypeMemberLookupContext } from '../TypeMemberLookup.js';
|
|
5
5
|
import { NamedDeclaration, TypeOrContainerWithTypes } from './Declarations.js';
|
|
6
6
|
import { SemanticContext } from './SemanticContext.js';
|
|
7
7
|
import { NamedDeclarationLookupResult, SemanticContextLookupState } from './SemanticContextBase.js';
|
package/build/types/analysis/{semantic-context → a/semantic-context}/SemanticContextBase.d.ts
RENAMED
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { Name } from '
|
|
2
|
-
import { ConstructorEntity, PackageEntity, ParameterEntity, TextTranslationEntity, TypeEntity, TypeEntityWithMembers, TypeExtensionEntity } from '
|
|
3
|
-
import {
|
|
4
|
-
import * as tree from '
|
|
5
|
-
import * as types from '
|
|
1
|
+
import { Name } from '../../../common/index.js';
|
|
2
|
+
import { AnonymousFunctionEntity, ConstructorEntity, DestructorEntity, FunctionEntity, FunctionTypeEntity, GetterEntity, PackageEntity, ParameterEntity, SetterEntity, TextKey, TextTranslationEntity, TypeEntity, TypeEntityWithMembers, TypeExtensionEntity } from '../../../entities/index.js';
|
|
3
|
+
import { SourceFileA } from '../../../project/SourceFile.js';
|
|
4
|
+
import * as tree from '../../../tree/a/index.js';
|
|
5
|
+
import * as types from '../../../types/index.js';
|
|
6
|
+
import { DiagnosticArgumentFactory } from '../../DiagnosticArgumentFactory.js';
|
|
7
|
+
import { PackageMemberLookupContext } from '../../PackageMemberLookup.js';
|
|
8
|
+
import { TypeMemberLookupContext } from '../../TypeMemberLookup.js';
|
|
6
9
|
import { Analyzer } from '../Analyzer.js';
|
|
7
|
-
import { DiagnosticArgumentFactory } from '../DiagnosticArgumentFactory.js';
|
|
8
|
-
import { FunctionDeclaration, GetterDeclaration, RegularOrBlockFunctionLiteral, SetterDeclaration, SubprogramDeclarationOrLiteral } from '../NodeTypeUtils.js';
|
|
9
|
-
import { PackageMemberLookupContext } from '../PackageMemberLookup.js';
|
|
10
|
-
import { TextKey } from '../TextIdentity.js';
|
|
11
|
-
import { TypeMemberLookupContext } from '../TypeMemberLookup.js';
|
|
12
10
|
import { NamedDeclaration, TypeOrContainerWithTypes } from './Declarations.js';
|
|
13
11
|
import { SemanticContext } from './SemanticContext.js';
|
|
14
12
|
export declare abstract class SemanticContextBase {
|
|
@@ -27,7 +25,7 @@ export declare abstract class SemanticContextBase {
|
|
|
27
25
|
abstract getOwnTypesOrContainersWithTypesByName(name: Name, initialContext: SemanticContext): readonly TypeOrContainerWithTypes[];
|
|
28
26
|
abstract getOwnNamedDeclarations(initialContext: SemanticContext, noInstanceMembers: boolean, lookupState: SemanticContextLookupState): readonly NamedDeclaration[];
|
|
29
27
|
abstract getOwnNamedDeclarationsByName(name: Name, initialContext: SemanticContext, noInstanceMembers: boolean, lookupResult: NamedDeclarationLookupResult): void;
|
|
30
|
-
getContainingSourceFile():
|
|
28
|
+
getContainingSourceFile(): SourceFileA;
|
|
31
29
|
getContainingPackage(): PackageEntity;
|
|
32
30
|
getDiagnosticArgumentFactory(): DiagnosticArgumentFactory;
|
|
33
31
|
getPackageMemberLookupContext(): PackageMemberLookupContext;
|
|
@@ -46,12 +44,12 @@ export declare namespace SubprogramInfo {
|
|
|
46
44
|
readonly kind = "function";
|
|
47
45
|
private readonly analyzer;
|
|
48
46
|
private readonly node;
|
|
49
|
-
constructor(analyzer: Analyzer, node: FunctionDeclaration);
|
|
47
|
+
constructor(analyzer: Analyzer, node: tree.FunctionDeclaration);
|
|
50
48
|
getReturnType(): types.Type | undefined;
|
|
51
49
|
isGenerator(): boolean;
|
|
52
50
|
allowsAsyncCalls(): boolean;
|
|
53
|
-
getNode(): FunctionDeclaration;
|
|
54
|
-
|
|
51
|
+
getNode(): tree.FunctionDeclaration;
|
|
52
|
+
getEntity(): FunctionEntity;
|
|
55
53
|
}
|
|
56
54
|
export class Constructor implements ISubprogramInfo {
|
|
57
55
|
readonly kind = "constructor";
|
|
@@ -73,26 +71,29 @@ export declare namespace SubprogramInfo {
|
|
|
73
71
|
isGenerator(): boolean;
|
|
74
72
|
allowsAsyncCalls(): boolean;
|
|
75
73
|
getNode(): tree.DestructorDeclaration;
|
|
74
|
+
getEntity(): DestructorEntity | undefined;
|
|
76
75
|
}
|
|
77
76
|
export class Getter implements ISubprogramInfo {
|
|
78
77
|
readonly kind = "getter";
|
|
79
78
|
private readonly analyzer;
|
|
80
79
|
private readonly node;
|
|
81
|
-
constructor(analyzer: Analyzer, node: GetterDeclaration);
|
|
80
|
+
constructor(analyzer: Analyzer, node: tree.GetterDeclaration);
|
|
82
81
|
getReturnType(): types.Type | undefined;
|
|
83
82
|
isGenerator(): boolean;
|
|
84
83
|
allowsAsyncCalls(): boolean;
|
|
85
|
-
getNode(): GetterDeclaration;
|
|
84
|
+
getNode(): tree.GetterDeclaration;
|
|
85
|
+
getEntity(): GetterEntity | undefined;
|
|
86
86
|
}
|
|
87
87
|
export class Setter implements ISubprogramInfo {
|
|
88
88
|
readonly kind = "setter";
|
|
89
89
|
private readonly analyzer;
|
|
90
90
|
private readonly node;
|
|
91
|
-
constructor(analyzer: Analyzer, node: SetterDeclaration);
|
|
91
|
+
constructor(analyzer: Analyzer, node: tree.SetterDeclaration);
|
|
92
92
|
getReturnType(): types.Type | undefined;
|
|
93
93
|
isGenerator(): boolean;
|
|
94
94
|
allowsAsyncCalls(): boolean;
|
|
95
|
-
getNode(): SetterDeclaration;
|
|
95
|
+
getNode(): tree.SetterDeclaration;
|
|
96
|
+
getEntity(): SetterEntity | undefined;
|
|
96
97
|
}
|
|
97
98
|
export class PackageConstructor implements ISubprogramInfo {
|
|
98
99
|
readonly kind = "package-constructor";
|
|
@@ -104,6 +105,7 @@ export declare namespace SubprogramInfo {
|
|
|
104
105
|
allowsAsyncCalls(): boolean;
|
|
105
106
|
getPackageEntity(): PackageEntity;
|
|
106
107
|
getNode(): tree.PackageConstructorDeclaration;
|
|
108
|
+
getEntity(): SubprogramInfoEntity | undefined;
|
|
107
109
|
}
|
|
108
110
|
export class PackageEntryPoint implements ISubprogramInfo {
|
|
109
111
|
readonly kind = "package-entry-point";
|
|
@@ -115,17 +117,18 @@ export declare namespace SubprogramInfo {
|
|
|
115
117
|
allowsAsyncCalls(): boolean;
|
|
116
118
|
getPackageEntity(): PackageEntity;
|
|
117
119
|
getNode(): tree.PackageEntryPointDeclaration;
|
|
120
|
+
getEntity(): SubprogramInfoEntity | undefined;
|
|
118
121
|
}
|
|
119
122
|
export class FunctionLiteral implements ISubprogramInfo {
|
|
120
123
|
readonly kind = "function-literal";
|
|
121
124
|
private readonly analyzer;
|
|
122
125
|
private readonly node;
|
|
123
|
-
constructor(analyzer: Analyzer, node: RegularOrBlockFunctionLiteral);
|
|
126
|
+
constructor(analyzer: Analyzer, node: tree.RegularOrBlockFunctionLiteral);
|
|
124
127
|
getReturnType(): types.Type | undefined;
|
|
125
128
|
isGenerator(): boolean;
|
|
126
129
|
allowsAsyncCalls(): boolean;
|
|
127
|
-
getNode(): RegularOrBlockFunctionLiteral;
|
|
128
|
-
|
|
130
|
+
getNode(): tree.RegularOrBlockFunctionLiteral;
|
|
131
|
+
getEntity(): AnonymousFunctionEntity;
|
|
129
132
|
}
|
|
130
133
|
export class TextTranslationFunction implements ISubprogramInfo {
|
|
131
134
|
readonly kind = "text-translation-function";
|
|
@@ -136,15 +139,18 @@ export declare namespace SubprogramInfo {
|
|
|
136
139
|
isGenerator(): boolean;
|
|
137
140
|
allowsAsyncCalls(): boolean;
|
|
138
141
|
getNode(): tree.TextTranslationFunctionDeclaration;
|
|
142
|
+
getEntity(): TextTranslationEntity | undefined;
|
|
139
143
|
}
|
|
140
144
|
interface ISubprogramInfo {
|
|
141
145
|
getReturnType(): types.Type | undefined;
|
|
142
146
|
isGenerator(): boolean;
|
|
143
147
|
allowsAsyncCalls(): boolean;
|
|
144
|
-
getNode(): SubprogramDeclarationOrLiteral;
|
|
148
|
+
getNode(): tree.SubprogramDeclarationOrLiteral;
|
|
149
|
+
getEntity(): SubprogramInfoEntity | undefined;
|
|
145
150
|
}
|
|
146
151
|
export {};
|
|
147
152
|
}
|
|
153
|
+
export type SubprogramInfoEntity = GetterEntity | SetterEntity | FunctionEntity | ConstructorEntity | DestructorEntity | FunctionTypeEntity | TextTranslationEntity;
|
|
148
154
|
export type TypeOrTypeExtension = TypeOrTypeExtension.Type | TypeOrTypeExtension.TypeExtension;
|
|
149
155
|
export declare namespace TypeOrTypeExtension {
|
|
150
156
|
export class Type implements ITypeOrTypeExtension {
|
package/build/types/analysis/{semantic-context → a/semantic-context}/SemanticContextBuilder.d.ts
RENAMED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import * as tree from '
|
|
1
|
+
import * as tree from '../../../tree/a/index.js';
|
|
2
2
|
import { Analyzer } from '../Analyzer.js';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { SemanticContext } from './SemanticContext.js';
|
|
4
|
+
import { SourceFileSemanticContext } from './SourceFileSemanticContext.js';
|
|
5
|
+
import { CatchClauseSemanticContext, ForStatementSemanticContext, SpecialLocalDeclarationSemanticContext, StatementBlockSemanticContext, SubprogramParameterListSemanticContext, SubprogramTypeParameterSemanticContext } from './SubprogramBodyAndParametersSemanticContext.js';
|
|
6
|
+
import { ConstructorSemanticContext, DestructorSemanticContext, FunctionLiteralSemanticContext, FunctionSemanticContext, IndexedElementAccessorSemanticContext, OutermostSemanticContextOfSubprogram, PackageConstructorSemanticContext, PackageEntryPointSemanticContext, TextTranslationFunctionDeclarationSemanticContext, VariableAccessorDeclaration, VariableAccessorSemanticContext } from './SubprogramSemanticContext.js';
|
|
7
|
+
import { OutermostSemanticContextOfType, ParametersOfFunctionTypeSemanticContext, SemanticContextContainingTypeMember, TypeBodySemanticContext, TypeDeclarationCreatingSemanticContext, TypeDeclarationWithMemberBlock, TypeExtensionBodySemanticContext, TypeParametersOfTypeSemanticContext } from './TypeSemanticContext.js';
|
|
5
8
|
export declare class SemanticContextBuilder {
|
|
6
9
|
private readonly analyzer;
|
|
7
10
|
private readonly sourceFileContexts;
|
|
@@ -35,21 +38,21 @@ export declare class SemanticContextBuilder {
|
|
|
35
38
|
containing(node: tree.Node): SemanticContext;
|
|
36
39
|
containingWithOffset(node: tree.Node, offset: number): SemanticContext;
|
|
37
40
|
ofSourceFile(node: tree.SourceFile): SourceFileSemanticContext;
|
|
38
|
-
ofFunctionDeclarationParameters(node: FunctionDeclaration): SubprogramParameterListSemanticContext;
|
|
39
|
-
ofFunctionDeclarationTypeParameters(node: FunctionDeclaration, typeParameterClause: tree.TypeParameterClause): SubprogramTypeParameterSemanticContext;
|
|
40
|
-
outermostSemanticContextOfFunctionDeclaration(node: FunctionDeclaration): FunctionSemanticContext;
|
|
41
|
+
ofFunctionDeclarationParameters(node: tree.FunctionDeclaration): SubprogramParameterListSemanticContext;
|
|
42
|
+
ofFunctionDeclarationTypeParameters(node: tree.FunctionDeclaration, typeParameterClause: tree.TypeParameterClause): SubprogramTypeParameterSemanticContext;
|
|
43
|
+
outermostSemanticContextOfFunctionDeclaration(node: tree.FunctionDeclaration): FunctionSemanticContext;
|
|
41
44
|
ofTypeDeclarationMemberBlock(typeDeclaration: TypeDeclarationWithMemberBlock, memberBlock: tree.TypeMemberDeclarationBlock): TypeBodySemanticContext;
|
|
42
|
-
ofFunctionTypeDeclarationParameters(node: FunctionTypeDeclaration): ParametersOfFunctionTypeSemanticContext;
|
|
45
|
+
ofFunctionTypeDeclarationParameters(node: tree.FunctionTypeDeclaration): ParametersOfFunctionTypeSemanticContext;
|
|
43
46
|
outermostSemanticContextOfTypeDeclaration(node: TypeDeclarationCreatingSemanticContext): OutermostSemanticContextOfType;
|
|
44
|
-
ofTypeDeclarationTypeParameters(node: PackageTypeDeclaration, typeParameterClause: tree.TypeParameterClause): TypeParametersOfTypeSemanticContext;
|
|
47
|
+
ofTypeDeclarationTypeParameters(node: tree.PackageTypeDeclaration, typeParameterClause: tree.TypeParameterClause): TypeParametersOfTypeSemanticContext;
|
|
45
48
|
ofTypeExtensionDeclarationBody(node: tree.TypeExtensionDeclaration): TypeExtensionBodySemanticContext;
|
|
46
49
|
ofVariableAccessorDeclaration(node: VariableAccessorDeclaration): VariableAccessorSemanticContext;
|
|
47
50
|
ofPackageConstructorDeclaration(node: tree.PackageConstructorDeclaration): PackageConstructorSemanticContext;
|
|
48
51
|
ofPackageEntryPointDeclaration(node: tree.PackageEntryPointDeclaration): PackageEntryPointSemanticContext;
|
|
49
|
-
ofRegularOrBlockFunctionLiteralParameters(node: RegularOrBlockFunctionLiteral): SubprogramParameterListSemanticContext;
|
|
52
|
+
ofRegularOrBlockFunctionLiteralParameters(node: tree.RegularOrBlockFunctionLiteral): SubprogramParameterListSemanticContext;
|
|
50
53
|
ofTextTranslationDeclarationParameters(node: tree.TranslationTextTemplate): SubprogramParameterListSemanticContext;
|
|
51
54
|
outermostSemanticContextOfTextTranslationFunctionDeclaration(node: tree.TextTranslationFunctionDeclaration): TextTranslationFunctionDeclarationSemanticContext;
|
|
52
|
-
outermostSemanticContextOfRegularOrBlockFunctionLiteral(node: RegularOrBlockFunctionLiteral): FunctionLiteralSemanticContext;
|
|
55
|
+
outermostSemanticContextOfRegularOrBlockFunctionLiteral(node: tree.RegularOrBlockFunctionLiteral): FunctionLiteralSemanticContext;
|
|
53
56
|
ofForStatement(node: tree.ForStatement): ForStatementSemanticContext;
|
|
54
57
|
ofStatementBlock(node: tree.StatementBlock): StatementBlockSemanticContext;
|
|
55
58
|
ofFunctionBlock(node: tree.FunctionBlock): StatementBlockSemanticContext;
|
|
@@ -59,11 +62,11 @@ export declare class SemanticContextBuilder {
|
|
|
59
62
|
outermostSemanticContextOfConstructorDeclaration(node: tree.ConstructorDeclaration): ConstructorSemanticContext;
|
|
60
63
|
ofDestructorDeclarationParameters(node: tree.DestructorDeclaration): SubprogramParameterListSemanticContext;
|
|
61
64
|
outermostSemanticContextOfDestructorDeclaration(node: tree.DestructorDeclaration): DestructorSemanticContext;
|
|
62
|
-
ofIndexedElementAccessorDeclarationParameters(node: IndexedElementAccessorDeclaration): SubprogramParameterListSemanticContext;
|
|
63
|
-
outermostSemanticContextOfIndexedElementAccessorDeclaration(node: IndexedElementAccessorDeclaration): IndexedElementAccessorSemanticContext;
|
|
65
|
+
ofIndexedElementAccessorDeclarationParameters(node: tree.IndexedElementAccessorDeclaration): SubprogramParameterListSemanticContext;
|
|
66
|
+
outermostSemanticContextOfIndexedElementAccessorDeclaration(node: tree.IndexedElementAccessorDeclaration): IndexedElementAccessorSemanticContext;
|
|
64
67
|
ofCatchClause(node: tree.CatchClause): CatchClauseSemanticContext;
|
|
65
68
|
ofFieldDeclarationWithInitializer(node: tree.FieldDeclaration): SemanticContext;
|
|
66
|
-
ofSubprogram(node: SubprogramDeclarationOrLiteral): OutermostSemanticContextOfSubprogram;
|
|
69
|
+
ofSubprogram(node: tree.SubprogramDeclarationOrLiteral): OutermostSemanticContextOfSubprogram;
|
|
67
70
|
containingTypeMember(node: tree.TypeMemberDeclaration): SemanticContextContainingTypeMember;
|
|
68
71
|
containingPackageMember(node: tree.PackageMemberDeclaration): SourceFileSemanticContext;
|
|
69
72
|
private containingInternal;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Name } from '
|
|
2
|
-
import { DiagnosticAcceptor } from '
|
|
3
|
-
import { LocalVariableEntity, NestedFunctionEntity, ParameterEntity, TypeParameterEntity } from '
|
|
4
|
-
import * as tree from '
|
|
1
|
+
import { Name } from '../../../common/index.js';
|
|
2
|
+
import { DiagnosticAcceptor } from '../../../diagnostic/Diagnostic.js';
|
|
3
|
+
import { LocalVariableEntity, NestedFunctionEntity, ParameterEntity, TypeParameterEntity } from '../../../entities/index.js';
|
|
4
|
+
import * as tree from '../../../tree/a/index.js';
|
|
5
5
|
import { Analyzer } from '../Analyzer.js';
|
|
6
6
|
import { NamedDeclaration, TypeOrContainerWithTypes } from './Declarations.js';
|
|
7
7
|
import { SemanticContext } from './SemanticContext.js';
|
package/build/types/analysis/{semantic-context → a/semantic-context}/SemanticContextWithParent.d.ts
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TypeMemberLookupContext } from '
|
|
1
|
+
import { TypeMemberLookupContext } from '../../TypeMemberLookup.js';
|
|
2
2
|
import { SemanticContext } from './SemanticContext.js';
|
|
3
3
|
import { ObjectVariableInfo, SemanticContextBase, SubprogramInfo, TryStatementContextKind, TypeOrTypeExtension } from './SemanticContextBase.js';
|
|
4
4
|
export declare abstract class SemanticContextWithParent extends SemanticContextBase {
|
package/build/types/analysis/{semantic-context → a/semantic-context}/SourceFileSemanticContext.d.ts
RENAMED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { Name } from '
|
|
2
|
-
import { DiagnosticAcceptor } from '
|
|
3
|
-
import { PackageEntity, TextTranslationEntity, TypeEntity, TypeExtensionEntity } from '
|
|
4
|
-
import {
|
|
5
|
-
import * as tree from '
|
|
1
|
+
import { Name } from '../../../common/index.js';
|
|
2
|
+
import { DiagnosticAcceptor } from '../../../diagnostic/Diagnostic.js';
|
|
3
|
+
import { PackageEntity, TextKey, TextTranslationEntity, TypeEntity, TypeExtensionEntity } from '../../../entities/index.js';
|
|
4
|
+
import { SourceFileA } from '../../../project/SourceFile.js';
|
|
5
|
+
import * as tree from '../../../tree/a/index.js';
|
|
6
|
+
import { DiagnosticArgumentFactory } from '../../DiagnosticArgumentFactory.js';
|
|
7
|
+
import { PackageMemberLookupContext } from '../../PackageMemberLookup.js';
|
|
8
|
+
import { TypeMemberLookupContext } from '../../TypeMemberLookup.js';
|
|
6
9
|
import { Analyzer } from '../Analyzer.js';
|
|
7
|
-
import { DiagnosticArgumentFactory } from '../DiagnosticArgumentFactory.js';
|
|
8
|
-
import { PackageMemberLookupContext } from '../PackageMemberLookup.js';
|
|
9
|
-
import { TextKey } from '../TextIdentity.js';
|
|
10
|
-
import { TypeMemberLookupContext } from '../TypeMemberLookup.js';
|
|
11
10
|
import { NamedDeclaration, TypeOrContainerWithTypes } from './Declarations.js';
|
|
12
11
|
import { SemanticContext } from './SemanticContext.js';
|
|
13
12
|
import { NamedDeclarationLookupResult, ObjectVariableInfo, SemanticContextBase, SemanticContextLookupState, SubprogramInfo, TryStatementContextKind, TypeOrTypeExtension } from './SemanticContextBase.js';
|
|
@@ -34,7 +33,7 @@ export declare class SourceFileSemanticContext extends SemanticContextBase {
|
|
|
34
33
|
getContainingSubprogram(): SubprogramInfo | undefined;
|
|
35
34
|
getContainingTypeOrTypeExtension(): TypeOrTypeExtension | undefined;
|
|
36
35
|
getObjectVariableInfo(): ObjectVariableInfo | undefined;
|
|
37
|
-
getSourceFile():
|
|
36
|
+
getSourceFile(): SourceFileA;
|
|
38
37
|
getPackage(): PackageEntity;
|
|
39
38
|
getTryStatementContext(): TryStatementContextKind | undefined;
|
|
40
39
|
isStatic(): boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LocalVariableEntity } from '
|
|
2
|
-
import * as tree from '
|
|
1
|
+
import { LocalVariableEntity } from '../../../entities/index.js';
|
|
2
|
+
import * as tree from '../../../tree/a/index.js';
|
|
3
3
|
import { Analyzer } from '../Analyzer.js';
|
|
4
4
|
type SpecialLocalDeclarationEntity = LocalVariableEntity;
|
|
5
5
|
export declare class SpecialLocalDeclarationsBuilder {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DiagnosticAcceptor } from '
|
|
2
|
-
import { ParameterEntity } from '
|
|
3
|
-
import * as tree from '
|
|
1
|
+
import { DiagnosticAcceptor } from '../../../diagnostic/Diagnostic.js';
|
|
2
|
+
import { ParameterEntity } from '../../../entities/index.js';
|
|
3
|
+
import * as tree from '../../../tree/a/index.js';
|
|
4
4
|
import { Analyzer } from '../Analyzer.js';
|
|
5
5
|
import { ReservedNameKind } from '../ReservedNameDictionary.js';
|
|
6
6
|
import { SemanticContext } from './SemanticContext.js';
|
package/build/types/analysis/{semantic-context → a/semantic-context}/SubprogramSemanticContext.d.ts
RENAMED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { Name } from '
|
|
2
|
-
import { ParameterEntity } from '
|
|
3
|
-
import * as tree from '
|
|
1
|
+
import { Name } from '../../../common/index.js';
|
|
2
|
+
import { ParameterEntity } from '../../../entities/index.js';
|
|
3
|
+
import * as tree from '../../../tree/a/index.js';
|
|
4
4
|
import { Analyzer } from '../Analyzer.js';
|
|
5
|
-
import { DereferencedVariableAccessorDeclaration, FieldAccessorDeclaration, FunctionDeclaration, IndexedElementAccessorDeclaration, PackageVariableAccessorDeclaration, RegularOrBlockFunctionLiteral } from '../NodeTypeUtils.js';
|
|
6
5
|
import { NamedDeclaration, TypeOrContainerWithTypes } from './Declarations.js';
|
|
7
6
|
import { SemanticContext } from './SemanticContext.js';
|
|
8
7
|
import { NamedDeclarationLookupResult, ObjectVariableInfo, SemanticContextLookupState, SubprogramInfo, TryStatementContextKind } from './SemanticContextBase.js';
|
|
@@ -39,7 +38,7 @@ export declare class FunctionSemanticContext extends OutermostSemanticContextOfS
|
|
|
39
38
|
protected readonly analyzer: Analyzer;
|
|
40
39
|
private readonly node;
|
|
41
40
|
private readonly subprogramInfo;
|
|
42
|
-
constructor(analyzer: Analyzer, node: FunctionDeclaration, outer: SemanticContext);
|
|
41
|
+
constructor(analyzer: Analyzer, node: tree.FunctionDeclaration, outer: SemanticContext);
|
|
43
42
|
getContainingSubprogram(): SubprogramInfo;
|
|
44
43
|
isStatic(): boolean;
|
|
45
44
|
protected findObjectParameter(): ParameterEntity | undefined;
|
|
@@ -86,7 +85,7 @@ export declare class DestructorSemanticContext extends OutermostSemanticContextO
|
|
|
86
85
|
protected findObjectParameter(): ParameterEntity | undefined;
|
|
87
86
|
}
|
|
88
87
|
export type AccessorSemanticContextParent = SemanticContextContainingTypeMember | SourceFileSemanticContext;
|
|
89
|
-
export type VariableAccessorDeclaration = PackageVariableAccessorDeclaration | FieldAccessorDeclaration | DereferencedVariableAccessorDeclaration;
|
|
88
|
+
export type VariableAccessorDeclaration = tree.PackageVariableAccessorDeclaration | tree.FieldAccessorDeclaration | tree.DereferencedVariableAccessorDeclaration;
|
|
90
89
|
export declare class VariableAccessorSemanticContext extends OutermostSemanticContextOfSubprogram {
|
|
91
90
|
readonly outer: AccessorSemanticContextParent;
|
|
92
91
|
protected readonly asContext: SemanticContext;
|
|
@@ -104,7 +103,7 @@ export declare class IndexedElementAccessorSemanticContext extends OutermostSema
|
|
|
104
103
|
protected readonly analyzer: Analyzer;
|
|
105
104
|
private readonly node;
|
|
106
105
|
private readonly subprogramInfo;
|
|
107
|
-
constructor(analyzer: Analyzer, node: IndexedElementAccessorDeclaration, outer: AccessorSemanticContextParent);
|
|
106
|
+
constructor(analyzer: Analyzer, node: tree.IndexedElementAccessorDeclaration, outer: AccessorSemanticContextParent);
|
|
108
107
|
getContainingSubprogram(): SubprogramInfo;
|
|
109
108
|
isStatic(): boolean;
|
|
110
109
|
protected findObjectParameter(): ParameterEntity | undefined;
|
|
@@ -115,7 +114,7 @@ export declare class FunctionLiteralSemanticContext extends OutermostSemanticCon
|
|
|
115
114
|
protected readonly analyzer: Analyzer;
|
|
116
115
|
private readonly node;
|
|
117
116
|
private readonly subprogramInfo;
|
|
118
|
-
constructor(analyzer: Analyzer, node: RegularOrBlockFunctionLiteral, outer: SemanticContext);
|
|
117
|
+
constructor(analyzer: Analyzer, node: tree.RegularOrBlockFunctionLiteral, outer: SemanticContext);
|
|
119
118
|
getContainingSubprogram(): SubprogramInfo;
|
|
120
119
|
protected findObjectParameter(): ParameterEntity | undefined;
|
|
121
120
|
}
|