@artel/artc 0.6.25191
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 +20 -0
- package/build/api/Api.js +664 -0
- package/build/api/ApiNodeJS.js +20 -0
- package/build/api/ApiServices.js +12847 -0
- package/build/chunk-BQHCAH6D.js +588 -0
- package/build/chunk-O2JKESUU.js +63219 -0
- package/build/chunk-QRBDQKYM.js +94 -0
- package/build/types/Cli.d.ts +3 -0
- package/build/types/analysis/AccessedMethod.d.ts +53 -0
- package/build/types/analysis/AnalyzedTranslationPackage.d.ts +191 -0
- package/build/types/analysis/Analyzer.d.ts +665 -0
- package/build/types/analysis/AutotypeCallExpressionMeaning.d.ts +25 -0
- package/build/types/analysis/BaseExpressionMeaning.d.ts +47 -0
- package/build/types/analysis/BuiltInOperators.d.ts +14 -0
- package/build/types/analysis/CallArgumentToParameterMatchResult.d.ts +30 -0
- package/build/types/analysis/CallArgumentsToParametersMatcher.d.ts +44 -0
- package/build/types/analysis/CallExpressionMeaning.d.ts +39 -0
- package/build/types/analysis/ConstructorOverloadResolver.d.ts +34 -0
- package/build/types/analysis/DeclarationsUsageCounter.d.ts +18 -0
- package/build/types/analysis/DereferenceExpressionMeaning.d.ts +23 -0
- package/build/types/analysis/DiagnosticCollector.d.ts +68 -0
- package/build/types/analysis/EntityLocalizationHelper.d.ts +15 -0
- package/build/types/analysis/FindModifier.d.ts +4 -0
- package/build/types/analysis/FoundDeclaration.d.ts +19 -0
- package/build/types/analysis/IdentifierExpressionMeaning.d.ts +98 -0
- package/build/types/analysis/ImportedPackageNameTree.d.ts +22 -0
- package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +26 -0
- package/build/types/analysis/IndexerAccess.d.ts +10 -0
- package/build/types/analysis/Localization.d.ts +54 -0
- package/build/types/analysis/LocalizationContext.d.ts +15 -0
- package/build/types/analysis/Lookup.d.ts +23 -0
- package/build/types/analysis/NamedTypeResolver.d.ts +42 -0
- package/build/types/analysis/NamedTypeSpecifierResolver.d.ts +20 -0
- package/build/types/analysis/NodeTypeUtils.d.ts +28 -0
- package/build/types/analysis/ObjectExpressionMeaning.d.ts +38 -0
- package/build/types/analysis/OperationOverloadResolver.d.ts +19 -0
- package/build/types/analysis/OverloadResolver.d.ts +12 -0
- package/build/types/analysis/PackageMemberLookup.d.ts +15 -0
- package/build/types/analysis/PrefixUnaryOperatorResolver.d.ts +27 -0
- package/build/types/analysis/PropertyAccessExpressionMeaning.d.ts +100 -0
- package/build/types/analysis/Scope.d.ts +309 -0
- package/build/types/analysis/SemanticContext.d.ts +320 -0
- package/build/types/analysis/SemanticContextBuilder.d.ts +54 -0
- package/build/types/analysis/SourceFileMembers.d.ts +92 -0
- package/build/types/analysis/SourcePackageDependencyGraph.d.ts +41 -0
- package/build/types/analysis/SourcePackageMembersCreator.d.ts +6 -0
- package/build/types/analysis/StatementBlockScopeBuilder.d.ts +22 -0
- package/build/types/analysis/SubstitutedMethod.d.ts +49 -0
- package/build/types/analysis/TagMeaning.d.ts +26 -0
- package/build/types/analysis/Tags.d.ts +29 -0
- package/build/types/analysis/TargetTypeHint.d.ts +5 -0
- package/build/types/analysis/TypeInferrer.d.ts +9 -0
- package/build/types/analysis/TypeMemberLookup.d.ts +27 -0
- package/build/types/analysis/TypeOverloadResolver.d.ts +7 -0
- package/build/types/analysis/UserDefinableBinaryOperatorResolver.d.ts +37 -0
- package/build/types/analysis/Utils.d.ts +17 -0
- package/build/types/analysis/VariableAccess.d.ts +10 -0
- package/build/types/analysis/VariantLookup.d.ts +20 -0
- package/build/types/analysis/Visitor.d.ts +7 -0
- package/build/types/analysis/WellKnownDeclarations.d.ts +34 -0
- package/build/types/analysis/index.d.ts +8 -0
- package/build/types/api/Api.d.ts +59 -0
- package/build/types/api/ApiNodeJS.d.ts +5 -0
- package/build/types/api/ApiServices.d.ts +3 -0
- package/build/types/common/AccessKind.d.ts +4 -0
- package/build/types/common/ArtelFileCheck.d.ts +2 -0
- package/build/types/common/Cached.d.ts +6 -0
- package/build/types/common/CancellationToken.d.ts +13 -0
- package/build/types/common/Constants.d.ts +19 -0
- package/build/types/common/Debug.d.ts +10 -0
- package/build/types/common/Delayed.d.ts +7 -0
- package/build/types/common/ErrorHandlingStrategy.d.ts +3 -0
- package/build/types/common/FormatString.d.ts +5 -0
- package/build/types/common/HelperPhrases.d.ts +11 -0
- package/build/types/common/Interner.d.ts +4 -0
- package/build/types/common/L10nConfig.d.ts +1 -0
- package/build/types/common/Lazy.d.ts +9 -0
- package/build/types/common/LocalizationHelper.d.ts +10 -0
- package/build/types/common/Logger.d.ts +10 -0
- package/build/types/common/Name.d.ts +83 -0
- package/build/types/common/NameFormatConversion.d.ts +12 -0
- package/build/types/common/NonEmptyArray.d.ts +8 -0
- package/build/types/common/Option.d.ts +28 -0
- package/build/types/common/PackageDialect.d.ts +5 -0
- package/build/types/common/PackageLocale.d.ts +15 -0
- package/build/types/common/PackageLocaleGuard.d.ts +1 -0
- package/build/types/common/Path.d.ts +8 -0
- package/build/types/common/PerformanceMeasurement.d.ts +20 -0
- package/build/types/common/Query.d.ts +39 -0
- package/build/types/common/Range.d.ts +10 -0
- package/build/types/common/Result.d.ts +13 -0
- package/build/types/common/SearchName.d.ts +13 -0
- package/build/types/common/ThrottledCancellationToken.d.ts +17 -0
- package/build/types/common/TreeQuery.d.ts +53 -0
- package/build/types/common/TreeTraversal.d.ts +13 -0
- package/build/types/common/Uri.d.ts +28 -0
- package/build/types/common/UriTree.d.ts +41 -0
- package/build/types/common/UserLocale.d.ts +2 -0
- package/build/types/common/WithDiagnostics.d.ts +19 -0
- package/build/types/common/YieldExecution.d.ts +1 -0
- package/build/types/common/index.d.ts +32 -0
- package/build/types/diagnostic/Diagnostic.d.ts +21 -0
- package/build/types/diagnostic/DiagnosticCode.d.ts +146 -0
- package/build/types/diagnostic/DiagnosticData.d.ts +20 -0
- package/build/types/diagnostic/DiagnosticFormatter.d.ts +8 -0
- package/build/types/diagnostic/RangeDiagnostic.d.ts +19 -0
- package/build/types/emitter/BlockStatementTransformationResult.d.ts +10 -0
- package/build/types/emitter/CustomModuleLoader.d.ts +1 -0
- package/build/types/emitter/DebugStack.d.ts +10 -0
- package/build/types/emitter/Emitter.d.ts +61 -0
- package/build/types/emitter/EmitterContext.d.ts +342 -0
- package/build/types/emitter/EmitterGeneratedDeclarationKind.d.ts +36 -0
- package/build/types/emitter/EmitterPackage.d.ts +60 -0
- package/build/types/emitter/EntityNameProviders.d.ts +33 -0
- package/build/types/emitter/ExpressionTransformationResult.d.ts +17 -0
- package/build/types/emitter/GeneralLowering.d.ts +72 -0
- package/build/types/emitter/Internal.d.ts +10 -0
- package/build/types/emitter/IntrinsicEntities.d.ts +118 -0
- package/build/types/emitter/IrBuilder.d.ts +108 -0
- package/build/types/emitter/IrToJs.d.ts +113 -0
- package/build/types/emitter/JavaScriptName.d.ts +1 -0
- package/build/types/emitter/PackageMemberDeclarationTransformationResult.d.ts +17 -0
- package/build/types/emitter/SimpleTransformationResult.d.ts +14 -0
- package/build/types/emitter/StatementTransformationResult.d.ts +16 -0
- package/build/types/emitter/StructuredTypeMemberDeclarationTransformationResult.d.ts +13 -0
- package/build/types/emitter/TransformationContinuationAction.d.ts +4 -0
- package/build/types/emitter/Transformer.d.ts +282 -0
- package/build/types/emitter/TypeAccessExpressionTransformationResult.d.ts +12 -0
- package/build/types/emitter/error-boundary.d.ts +10 -0
- package/build/types/emitter/index.d.ts +1 -0
- package/build/types/emitter/ir/AccessedEntities.d.ts +19 -0
- package/build/types/emitter/ir/LoweringOptions.d.ts +34 -0
- package/build/types/emitter/ir/Nodes.d.ts +1585 -0
- package/build/types/emitter/ir/SourceLocation.d.ts +10 -0
- package/build/types/emitter/ir/index.d.ts +5 -0
- package/build/types/emitter/ir/types.d.ts +10 -0
- package/build/types/entities/AliasTypeEntity.d.ts +84 -0
- package/build/types/entities/BinaryOperatorEntity.d.ts +48 -0
- package/build/types/entities/ConstructorEntity.d.ts +99 -0
- package/build/types/entities/DereferenceOperatorEntity.d.ts +40 -0
- package/build/types/entities/DestructorEntity.d.ts +31 -0
- package/build/types/entities/EntityHiding.d.ts +27 -0
- package/build/types/entities/EntityNaming.d.ts +12 -0
- package/build/types/entities/GetterEntity.d.ts +86 -0
- package/build/types/entities/IndexerEntity.d.ts +51 -0
- package/build/types/entities/MethodEntity.d.ts +174 -0
- package/build/types/entities/MethodTypeEntity.d.ts +98 -0
- package/build/types/entities/PackageAliasEntity.d.ts +30 -0
- package/build/types/entities/PackageEntity.d.ts +56 -0
- package/build/types/entities/PackageMembers.d.ts +98 -0
- package/build/types/entities/SetterEntity.d.ts +78 -0
- package/build/types/entities/StructuredTypeEntity.d.ts +199 -0
- package/build/types/entities/SubstitutionApplicationMode.d.ts +4 -0
- package/build/types/entities/TypeEntityMembers.d.ts +36 -0
- package/build/types/entities/TypeExtensionEntity.d.ts +33 -0
- package/build/types/entities/TypeMemberContainer.d.ts +23 -0
- package/build/types/entities/TypeParameterEntity.d.ts +94 -0
- package/build/types/entities/UnaryOperatorEntity.d.ts +33 -0
- package/build/types/entities/VariableEntity.d.ts +423 -0
- package/build/types/entities/VariantEntity.d.ts +31 -0
- package/build/types/entities/VariantTypeEntity.d.ts +83 -0
- package/build/types/entities/Variants.d.ts +10 -0
- package/build/types/entities/index.d.ts +87 -0
- package/build/types/executor/CommandLineCompiler.d.ts +8 -0
- package/build/types/executor/Compiler.d.ts +15 -0
- package/build/types/executor/FileSystemUri.d.ts +5 -0
- package/build/types/executor/NodeCompiler.d.ts +39 -0
- package/build/types/executor/PhysicalFileSystem.d.ts +12 -0
- package/build/types/executor/PhysicalTypeScriptLibrariesProvider.d.ts +12 -0
- package/build/types/generated/BuiltInSystemPackages.d.ts +3 -0
- package/build/types/old/Executor.d.ts +14 -0
- package/build/types/old/JavaScriptEmitter.d.ts +1 -0
- package/build/types/old/JavaScriptEmittingVisitor.d.ts +1 -0
- package/build/types/old/NzonParser.d.ts +1 -0
- package/build/types/old/NzonScanner.d.ts +1 -0
- package/build/types/old/NzonSyntax.d.ts +1 -0
- package/build/types/old/RemoteWorkspaceFileSystem.d.ts +1 -0
- package/build/types/parser/CharacterCodes.d.ts +21 -0
- package/build/types/parser/ConvertTokenKind.d.ts +3 -0
- package/build/types/parser/KeywordDictionary.d.ts +12 -0
- package/build/types/parser/ParseNumber.d.ts +5 -0
- package/build/types/parser/Parser.d.ts +7 -0
- package/build/types/parser/ParserDiagnostic.d.ts +7 -0
- package/build/types/parser/ReservedIdentifierDictionary.d.ts +12 -0
- package/build/types/parser/Scanner.d.ts +60 -0
- package/build/types/parser/TokenKind.d.ts +73 -0
- package/build/types/parser/UnescapeText.d.ts +2 -0
- package/build/types/project/Compilation.d.ts +21 -0
- package/build/types/project/CompilationLoader.d.ts +104 -0
- package/build/types/project/FileSystemTree.d.ts +70 -0
- package/build/types/project/PackageConfigurationSerializer.d.ts +1 -0
- package/build/types/project/Position.d.ts +5 -0
- package/build/types/project/SourceFile.d.ts +21 -0
- package/build/types/project/SourcePackage.d.ts +151 -0
- package/build/types/project/TextFile.d.ts +11 -0
- package/build/types/project/configuration/BuildPackageApi.d.ts +75 -0
- package/build/types/project/configuration/ConfigurationConverter.d.ts +25 -0
- package/build/types/project/configuration/ConfigurationFileParser.d.ts +26 -0
- package/build/types/project/configuration/PackageConfigurationInterpreter.d.ts +27 -0
- package/build/types/project/configuration/types/PackageConfigurationEn.d.ts +90 -0
- package/build/types/project/configuration/types/PackageConfigurationRu.d.ts +91 -0
- package/build/types/project/index.d.ts +12 -0
- package/build/types/services/AddPropertyAssignmentService.d.ts +15 -0
- package/build/types/services/CompletionService.d.ts +95 -0
- package/build/types/services/CustomCommand.d.ts +120 -0
- package/build/types/services/DefinitionService.d.ts +19 -0
- package/build/types/services/DisplayService.d.ts +830 -0
- package/build/types/services/DocumentHighlightsService.d.ts +18 -0
- package/build/types/services/EvaluatableExpressionService.d.ts +15 -0
- package/build/types/services/FileSystemTreeDisplayService.d.ts +7 -0
- package/build/types/services/HoverService.d.ts +17 -0
- package/build/types/services/LanguageServer.d.ts +125 -0
- package/build/types/services/NodeSemanticInfo.d.ts +132 -0
- package/build/types/services/ProjectItemsService.d.ts +6 -0
- package/build/types/services/ReferencesService.d.ts +30 -0
- package/build/types/services/RenameService.d.ts +16 -0
- package/build/types/services/SelectionRangeService.d.ts +12 -0
- package/build/types/services/SemanticTokensService.d.ts +40 -0
- package/build/types/services/SourceFileItemsService.d.ts +42 -0
- package/build/types/services/TranslationService.d.ts +23 -0
- package/build/types/services/TreeUtils.d.ts +58 -0
- package/build/types/services/TypeDefinitionService.d.ts +9 -0
- package/build/types/services/Types.d.ts +22 -0
- package/build/types/services/Utils.d.ts +5 -0
- package/build/types/services/signature-help/SignatureHelpService.d.ts +17 -0
- package/build/types/services/signature-help/SignatureWithValueParameters.d.ts +114 -0
- package/build/types/services/signature-help/TypeParameterSignatureHelpProvider.d.ts +20 -0
- package/build/types/services/signature-help/ValueParametersSignatureHelpProvider.d.ts +15 -0
- package/build/types/services/signature-help/utils.d.ts +9 -0
- package/build/types/services/source-generation/EntityToSyntax.d.ts +47 -0
- package/build/types/services/source-generation/SourceGenerationService.d.ts +22 -0
- package/build/types/services/workspace/ClientTrackedSourceFiles.d.ts +41 -0
- package/build/types/services/workspace/CompilationController.d.ts +108 -0
- package/build/types/services/workspace/FileSystemTreeProviderBasedOnWatchedFileSystem.d.ts +61 -0
- package/build/types/services/workspace/ManuallyUpdatedFileSystemTreeProvider.d.ts +21 -0
- package/build/types/services/workspace/Workspace.d.ts +59 -0
- package/build/types/services/workspace/WorkspaceFileSystem.d.ts +5 -0
- package/build/types/services/workspace/WorkspaceFiles.d.ts +35 -0
- package/build/types/services/workspace/index.d.ts +7 -0
- package/build/types/tree/KeywordKind.d.ts +64 -0
- package/build/types/tree/NodeKind.d.ts +163 -0
- package/build/types/tree/TokenKind.d.ts +132 -0
- package/build/types/tree/TriviaKind.d.ts +7 -0
- package/build/types/tree/green/BaseNode.d.ts +12 -0
- package/build/types/tree/green/Nodes.d.ts +2235 -0
- package/build/types/tree/green/SyntaxFactory.d.ts +67 -0
- package/build/types/tree/green/SyntaxToCode.d.ts +116 -0
- package/build/types/tree/green/Token.d.ts +37 -0
- package/build/types/tree/green/Utils.d.ts +2 -0
- package/build/types/tree/green/index.d.ts +7 -0
- package/build/types/tree/index.d.ts +4 -0
- package/build/types/tree/red/BaseNode.d.ts +15 -0
- package/build/types/tree/red/Internal.d.ts +2 -0
- package/build/types/tree/red/NodePath.d.ts +10 -0
- package/build/types/tree/red/Nodes.d.ts +2237 -0
- package/build/types/tree/red/Token.d.ts +29 -0
- package/build/types/tree/red/Utils.d.ts +6 -0
- package/build/types/tree/red/index.d.ts +6 -0
- package/build/types/ts-interop/Entities.d.ts +634 -0
- package/build/types/ts-interop/TsInteropContext.d.ts +179 -0
- package/build/types/ts-interop/TsLibrariesProvider.d.ts +12 -0
- package/build/types/ts-interop/TsPackageContents.d.ts +64 -0
- package/build/types/ts-interop/TsPackageMembersCreator.d.ts +69 -0
- package/build/types/ts-interop/TsProgramLoader.d.ts +38 -0
- package/build/types/ts-interop/TsTypeMembersCreator.d.ts +45 -0
- package/build/types/ts-interop/Utils.d.ts +43 -0
- package/build/types/types/AliasType.d.ts +20 -0
- package/build/types/types/Internal.d.ts +1 -0
- package/build/types/types/MethodType.d.ts +23 -0
- package/build/types/types/ParameterType.d.ts +19 -0
- package/build/types/types/StandardTypes.d.ts +42 -0
- package/build/types/types/StructuredType.d.ts +25 -0
- package/build/types/types/Substitutions.d.ts +18 -0
- package/build/types/types/Type.d.ts +16 -0
- package/build/types/types/TypeFactory.d.ts +15 -0
- package/build/types/types/TypeMembers.d.ts +134 -0
- package/build/types/types/UnionType.d.ts +20 -0
- package/build/types/types/UnresolvedType.d.ts +16 -0
- package/build/types/types/VariantType.d.ts +19 -0
- package/build/types/types/index.d.ts +12 -0
- package/package.json +73 -0
@@ -0,0 +1,39 @@
|
|
1
|
+
import { Analyzer } from '../analysis/index.js';
|
2
|
+
import { CancellationToken, Uri } from '../common/index.js';
|
3
|
+
import { Diagnostic, DiagnosticAcceptor } from '../diagnostic/Diagnostic.js';
|
4
|
+
import { EmitOptions } from '../emitter/index.js';
|
5
|
+
import { Compilation } from '../project/index.js';
|
6
|
+
import { TypeScriptLibrariesProvider } from '../ts-interop/TsLibrariesProvider.js';
|
7
|
+
export type LaunchPath = string;
|
8
|
+
export declare class NodeCompiler {
|
9
|
+
private static _fileSystem;
|
10
|
+
private static get fileSystem();
|
11
|
+
static findStandardTypeScriptLibrary(nodeModulesSearchPaths: readonly string[], defaultTsLibraryPath?: string): Promise<Uri | undefined>;
|
12
|
+
static createTypeScriptLibrariesProvider(nodeModulesSearchPaths: readonly string[], defaultTsLibraryPath: string | undefined, diagnostics: DiagnosticAcceptor | undefined): Promise<TypeScriptLibrariesProvider | undefined>;
|
13
|
+
static loadCompilation(projectPath: string, tsLibrariesProvider: TypeScriptLibrariesProvider, diagnostics: DiagnosticAcceptor | undefined, workspacePath?: string, standardPackagesPath?: string, cancellationToken?: CancellationToken): Promise<Compilation | undefined>;
|
14
|
+
static createAnalyzer(compilation: Compilation, tsLibrariesProvider: TypeScriptLibrariesProvider, diagnostics: DiagnosticAcceptor | undefined, cancellationToken?: CancellationToken): Promise<Analyzer | undefined>;
|
15
|
+
static analyze(analyzer: Analyzer, diagnostics: DiagnosticAcceptor | undefined, cancellationToken?: CancellationToken): Promise<boolean>;
|
16
|
+
static emit(analyzer: Analyzer, outputPath: string, diagnostics: DiagnosticAcceptor | undefined, emitOptions?: EmitOptions, cancellationToken?: CancellationToken): Promise<LaunchPath | undefined>;
|
17
|
+
static compile(task: NodeCompilerTask): Promise<LaunchPath | undefined>;
|
18
|
+
}
|
19
|
+
export interface NodeCompilerTask {
|
20
|
+
nodeModulesWithTypeScriptSearchPaths: readonly string[];
|
21
|
+
projectPath: string;
|
22
|
+
outputPath: string;
|
23
|
+
workspacePath?: string;
|
24
|
+
standardPackagesPath?: string;
|
25
|
+
diagnostics: DiagnosticAcceptor | undefined;
|
26
|
+
defaultTsLibraryPath?: string;
|
27
|
+
emitOptions?: EmitOptions;
|
28
|
+
cancellationToken?: CancellationToken;
|
29
|
+
}
|
30
|
+
export declare class PrintingDiagnosticAcceptor implements DiagnosticAcceptor {
|
31
|
+
private readonly _formatter;
|
32
|
+
constructor(basePath?: string);
|
33
|
+
addDiagnostic(diagnostic: Diagnostic): void;
|
34
|
+
}
|
35
|
+
export declare class NodeDiagnosticFormatter {
|
36
|
+
private readonly _formatDiagnosticOptions;
|
37
|
+
constructor(basePath?: string);
|
38
|
+
format(diagnostic: Diagnostic): string;
|
39
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { Uri } from '../common/index.js';
|
2
|
+
import { OutputAcceptor } from '../emitter/Emitter.js';
|
3
|
+
import { DirectoryEntry, SourcesProvider } from '../project/index.js';
|
4
|
+
import { WorkspaceFileSystem } from '../services/workspace/WorkspaceFileSystem.js';
|
5
|
+
export declare class PhysicalFileSystem implements WorkspaceFileSystem, SourcesProvider, OutputAcceptor {
|
6
|
+
readDirectory(uri: Uri): Promise<readonly DirectoryEntry[]>;
|
7
|
+
readFile(uri: Uri): Promise<string | undefined>;
|
8
|
+
readEntry(uri: Uri): Promise<DirectoryEntry | undefined>;
|
9
|
+
clearDirectory(uri: Uri): Promise<void>;
|
10
|
+
writeFile(uri: Uri, content: string): Promise<void>;
|
11
|
+
private tryLstat;
|
12
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { Uri } from '../common/Uri.js';
|
2
|
+
import { TypeScriptLibrariesProvider } from '../ts-interop/TsLibrariesProvider.js';
|
3
|
+
export declare class PhysicalTypeScriptLibrariesProvider implements TypeScriptLibrariesProvider {
|
4
|
+
private readonly _standardLibraryUri;
|
5
|
+
private readonly _isCaseSensitive;
|
6
|
+
constructor(standardLibraryUri: Uri);
|
7
|
+
getStandardLibraryUri(): Uri;
|
8
|
+
readFileSync(uri: Uri): string | undefined;
|
9
|
+
fileExistsSync(uri: Uri): boolean;
|
10
|
+
directoryExistsSync(uri: Uri): boolean;
|
11
|
+
isCaseSensitive(): boolean;
|
12
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { Analyzer, TsInteropInputs } from '../analysis/index.js';
|
2
|
+
import { Uri } from '../common/index.js';
|
3
|
+
import { Compilation } from '../project/index.js';
|
4
|
+
import { PhysicalFileSystem } from '../executor/PhysicalFileSystem.js';
|
5
|
+
export declare class Executor {
|
6
|
+
readonly fileSystem: PhysicalFileSystem;
|
7
|
+
readonly outputUri: Uri;
|
8
|
+
readonly compilation: Compilation;
|
9
|
+
readonly programUri: Uri;
|
10
|
+
readonly analyzer: Analyzer;
|
11
|
+
constructor(compilation: Compilation, tsInteropInputs: TsInteropInputs, outputUri: Uri);
|
12
|
+
setup(): void;
|
13
|
+
createPackageJsonFile(): Promise<void>;
|
14
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export declare const enum CharacterCodes {
|
2
|
+
Minus = 45,
|
3
|
+
_ = 95,
|
4
|
+
_0 = 48,
|
5
|
+
_1 = 49,
|
6
|
+
_9 = 57,
|
7
|
+
A = 65,
|
8
|
+
F = 70,
|
9
|
+
Z = 90,
|
10
|
+
a = 97,
|
11
|
+
f = 102,
|
12
|
+
z = 122,
|
13
|
+
Ё = 1025,
|
14
|
+
ё = 1105,
|
15
|
+
А = 1040,
|
16
|
+
Е = 1045,
|
17
|
+
Я = 1071,
|
18
|
+
а = 1072,
|
19
|
+
е = 1077,
|
20
|
+
я = 1103
|
21
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { PackageDialect, PackageLocale } from '../common/index.js';
|
2
|
+
import { KeywordKind } from '../tree/KeywordKind.js';
|
3
|
+
export type KeywordDictionary = Map<string, KeywordPart>;
|
4
|
+
export type KeywordKindDictionary = Map<KeywordKind, Array<string>>;
|
5
|
+
export declare class KeywordPart {
|
6
|
+
value: string;
|
7
|
+
keywordKind: KeywordKind;
|
8
|
+
subsequentParts?: KeywordDictionary;
|
9
|
+
constructor(value: string);
|
10
|
+
}
|
11
|
+
export declare function getOrCreateKeywordDictionary(locale: PackageLocale, dialect: PackageDialect): KeywordDictionary;
|
12
|
+
export declare function getOrCreateKeywordKindDictionary(locale: PackageLocale, dialect: PackageDialect): KeywordKindDictionary;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export declare function parseIntegerLiteral(value: string): number;
|
2
|
+
export declare function parseLatinHexInteger(text: string): number;
|
3
|
+
export declare function parseCyrillicHexInteger(text: string): number;
|
4
|
+
export declare function parseDecimalInteger(text: string): number;
|
5
|
+
export declare function parseBinaryInteger(text: string): number;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { PackageLocale } from '../common/index.js';
|
2
|
+
export declare const enum ReservedIdentifierKind {
|
3
|
+
Result = 0,
|
4
|
+
Param = 1,
|
5
|
+
Value = 2
|
6
|
+
}
|
7
|
+
export declare const reservedIdentifiersByLocale: {
|
8
|
+
[T in PackageLocale]: {
|
9
|
+
[T in ReservedIdentifierKind]: string;
|
10
|
+
};
|
11
|
+
};
|
12
|
+
export declare const reservedIdentifiersKindByValue: { [T in PackageLocale]: ReadonlyMap<string, ReservedIdentifierKind>; };
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import { TokenKind } from './TokenKind.js';
|
2
|
+
export declare const enum Notation {
|
3
|
+
Artel = 0,
|
4
|
+
Nzon = 1
|
5
|
+
}
|
6
|
+
export interface ScannerOptions {
|
7
|
+
notation?: Notation;
|
8
|
+
startPosition?: number;
|
9
|
+
length?: number;
|
10
|
+
skipWhitespace?: boolean;
|
11
|
+
}
|
12
|
+
export declare class Token {
|
13
|
+
readonly kind: TokenKind;
|
14
|
+
readonly value: string;
|
15
|
+
readonly startPosition: number;
|
16
|
+
readonly unterminated: boolean;
|
17
|
+
constructor(kind: TokenKind, value: string, startPosition: number, unterminated: boolean);
|
18
|
+
}
|
19
|
+
export declare class Scanner {
|
20
|
+
readonly text: string;
|
21
|
+
private token;
|
22
|
+
private notation;
|
23
|
+
private skipWhitespace;
|
24
|
+
private endPosition;
|
25
|
+
private currentPosition;
|
26
|
+
private braceBalance;
|
27
|
+
private textTemplateBraceBalanceStack;
|
28
|
+
private readonly uniqueTokenValues;
|
29
|
+
constructor(text: string, options?: ScannerOptions);
|
30
|
+
getToken(): Token;
|
31
|
+
lookAhead(callback: () => boolean): boolean;
|
32
|
+
tryScan(callback: () => boolean): boolean;
|
33
|
+
nextToken(): Token;
|
34
|
+
private tryScanOrLookAhead;
|
35
|
+
private isCloseBraceEndingTextTemplate;
|
36
|
+
private scanCharOrTextOrTextTemplateElement;
|
37
|
+
private isSingleCharOrEscapedChar;
|
38
|
+
private scanWhitespaceAndTabs;
|
39
|
+
private scanNumber;
|
40
|
+
private scanDigitSequence;
|
41
|
+
private scanLatinHexDigitSequence;
|
42
|
+
private scanCyrillicHexDigitSequence;
|
43
|
+
private scanBinaryDigitSequence;
|
44
|
+
private scanMeasureUnits;
|
45
|
+
private scanSingleLineComment;
|
46
|
+
private scanIdentifier;
|
47
|
+
private scanQuotedIdentifier;
|
48
|
+
static isWhitespaceOrTab(char: string): boolean;
|
49
|
+
static isLineBreak(char: string): boolean;
|
50
|
+
static isLetter(char: number): boolean;
|
51
|
+
static isDigit(char: number): boolean;
|
52
|
+
static isLatinHexDigit(char: number): boolean;
|
53
|
+
static isCyrillicHexDigit(char: number): boolean;
|
54
|
+
static isBinaryDigit(char: number): boolean;
|
55
|
+
static isDigitOrDigitSeparator(char: number): boolean;
|
56
|
+
static isIdentifierStart(char: number): boolean;
|
57
|
+
static isIdentifierPart(char: number): boolean;
|
58
|
+
static isMeasureUnit(char: number): boolean;
|
59
|
+
static isPlainIdentifier(textWithoutQuotes: string): boolean;
|
60
|
+
}
|
@@ -0,0 +1,73 @@
|
|
1
|
+
export declare enum TokenKind {
|
2
|
+
Unknown = 0,
|
3
|
+
EndOfFile = 1,
|
4
|
+
Whitespace = 2,
|
5
|
+
NewLine = 3,
|
6
|
+
SingleLineComment = 4,
|
7
|
+
MultiLineComment = 5,
|
8
|
+
IntegerLiteral = 6,
|
9
|
+
RealLiteral = 7,
|
10
|
+
MeasureLiteral = 8,
|
11
|
+
CharLiteral = 9,
|
12
|
+
TextLiteral = 10,
|
13
|
+
TextTemplateHead = 11,
|
14
|
+
TextTemplatePart = 12,
|
15
|
+
TextTemplateTail = 13,
|
16
|
+
LocalizableTextLiteral = 14,
|
17
|
+
LocalizableTextTemplateHead = 15,
|
18
|
+
Ampersand = 16,
|
19
|
+
AmpersandAmpersand = 17,
|
20
|
+
AmpersandEquals = 18,
|
21
|
+
Asterisk = 19,
|
22
|
+
AsteriskAsterisk = 20,
|
23
|
+
AsteriskEquals = 21,
|
24
|
+
BackQuote = 22,
|
25
|
+
Bar = 23,
|
26
|
+
BarBar = 24,
|
27
|
+
Caret = 25,
|
28
|
+
RightBrace = 26,
|
29
|
+
RightParenthesis = 27,
|
30
|
+
RightSquareBracket = 28,
|
31
|
+
Colon = 29,
|
32
|
+
Comma = 30,
|
33
|
+
CommercialAt = 31,
|
34
|
+
Dot = 32,
|
35
|
+
DoublePeriod = 33,
|
36
|
+
Ellipsis = 34,
|
37
|
+
EqualsEquals = 35,
|
38
|
+
EqualsRightAngle = 36,
|
39
|
+
Exclamation = 37,
|
40
|
+
ExclamationEquals = 38,
|
41
|
+
RightAngle = 39,
|
42
|
+
RightAngleEquals = 40,
|
43
|
+
HashSign = 41,
|
44
|
+
LeftAngle = 42,
|
45
|
+
LeftAngleEquals = 43,
|
46
|
+
LeftAngleMinus = 44,
|
47
|
+
Minus = 45,
|
48
|
+
MinusMinus = 46,
|
49
|
+
MinusEquals = 47,
|
50
|
+
MinusRightAngle = 48,
|
51
|
+
LeftBrace = 49,
|
52
|
+
LeftParenthesis = 50,
|
53
|
+
LeftSquareBracket = 51,
|
54
|
+
Plus = 52,
|
55
|
+
PlusPlus = 53,
|
56
|
+
PlusEquals = 54,
|
57
|
+
Question = 55,
|
58
|
+
QuestionQuestion = 56,
|
59
|
+
Semicolon = 57,
|
60
|
+
Slash = 58,
|
61
|
+
SlashEquals = 59,
|
62
|
+
Tilde = 60,
|
63
|
+
TildeTilde = 61,
|
64
|
+
Underscore = 62,
|
65
|
+
Equals = 63,
|
66
|
+
Percent = 64,
|
67
|
+
PercentPercent = 65,
|
68
|
+
BackSlash = 66,
|
69
|
+
BackSlashEquals = 67,
|
70
|
+
BackSlashBackSlash = 68,
|
71
|
+
Identifier = 69,
|
72
|
+
QuotedIdentifier = 70
|
73
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { Uri } from '../common/index.js';
|
2
|
+
import * as tree from '../tree/index.js';
|
3
|
+
import { SourceFile } from './SourceFile.js';
|
4
|
+
import { PackageName, ProgramPackage, SourcePackage } from './SourcePackage.js';
|
5
|
+
export declare class Compilation {
|
6
|
+
readonly uri: Uri;
|
7
|
+
readonly mainPackage: ProgramPackage | undefined;
|
8
|
+
readonly userPackages: readonly SourcePackage[];
|
9
|
+
readonly libraryPackages: readonly SourcePackage[];
|
10
|
+
readonly allPackages: readonly SourcePackage[];
|
11
|
+
private _parsedSourceFiles;
|
12
|
+
private readonly _packageByUri;
|
13
|
+
private readonly _sourceFileByUri;
|
14
|
+
constructor(uri: Uri, mainPackage: ProgramPackage | undefined, userPackages: readonly SourcePackage[], libraryPackages: readonly SourcePackage[]);
|
15
|
+
getSourceFileByUri(uri: Uri): SourceFile | undefined;
|
16
|
+
getSourceFileByNode(node: tree.SourceFile): SourceFile;
|
17
|
+
getPackageByUri(uri: Uri): SourcePackage | undefined;
|
18
|
+
getPackageByName(name: PackageName): SourcePackage | undefined;
|
19
|
+
enumerateSourceFiles(): Iterable<SourceFile>;
|
20
|
+
private updateParsedSourceFiles;
|
21
|
+
}
|
@@ -0,0 +1,104 @@
|
|
1
|
+
import { CancellationToken, Uri } from '../common/index.js';
|
2
|
+
import { Diagnostic, DiagnosticAcceptor } from '../diagnostic/Diagnostic.js';
|
3
|
+
import { Compilation } from './Compilation.js';
|
4
|
+
import * as fsTree from './FileSystemTree.js';
|
5
|
+
import { PackageName, ProgramPackageConfiguration } from './SourcePackage.js';
|
6
|
+
import { ConvertedConfiguration } from './configuration/ConfigurationConverter.js';
|
7
|
+
export declare class CompilationLoader {
|
8
|
+
static readonly artelSystemPackageName: PackageName;
|
9
|
+
private readonly _rootDirectory;
|
10
|
+
private readonly _fileSystemTree;
|
11
|
+
private readonly _config;
|
12
|
+
private readonly _diagnostics;
|
13
|
+
private readonly _cancellationToken;
|
14
|
+
private _configurationsByPackageOrGroupUri;
|
15
|
+
private readonly _userPackages;
|
16
|
+
private readonly _libraryPackages;
|
17
|
+
private constructor();
|
18
|
+
static loadUsingSourcesProvider(uri: Uri, sourcesProvider: SourcesProvider, config: CompilationLoadConfig, diagnostics: DiagnosticAcceptor | undefined, workspaceUri?: Uri, namesOfDirectoriesToIgnore?: readonly string[], cancellationToken?: CancellationToken): Promise<{
|
19
|
+
loadResult: CompilationLoadResult;
|
20
|
+
fileSystemTree: fsTree.FileSystemTree;
|
21
|
+
}>;
|
22
|
+
static loadFromFileSystemTree(rootDirectory: fsTree.Directory, fileSystemTree: fsTree.ReadonlyFileSystemTree | undefined, config: CompilationLoadConfig, diagnostics: DiagnosticAcceptor | undefined, cancellationToken?: CancellationToken): Promise<CompilationLoadResult>;
|
23
|
+
/**
|
24
|
+
* Ищет папку с конфигурацией (папку '.артель') в переданной папке.
|
25
|
+
*/
|
26
|
+
static findConfigurationDirectory(parentDirectory: fsTree.Directory): ConfigurationDirectoryInfo | undefined;
|
27
|
+
/**
|
28
|
+
* Проверяет, является ли папка конфигурационной.
|
29
|
+
*
|
30
|
+
* Папка является конфигурационной, если называется '.артель' и содержит хотя бы один файл.
|
31
|
+
*/
|
32
|
+
static isConfigurationDirectory(directory: fsTree.Directory): boolean;
|
33
|
+
/**
|
34
|
+
* Проверяет, содержит ли папка конфигурационную папку (папку с именем '.артель').
|
35
|
+
*/
|
36
|
+
static checkIfDirectoryContainsArtelConfiguration(directory: fsTree.Directory): boolean;
|
37
|
+
/**
|
38
|
+
* Проверяет, содержит ли папка конфигурационную папку (папку с именем '.артель').
|
39
|
+
*/
|
40
|
+
static checkIfDirectoryContainsArtelConfigurationUsingSourcesProvider(uri: Uri, sourcesProvider: SourcesProvider): Promise<boolean>;
|
41
|
+
private static convertConfig;
|
42
|
+
private static loadArtelFiles;
|
43
|
+
private load;
|
44
|
+
private loadSystemPackages;
|
45
|
+
private loadPackagesFromAllAccessibleNodeModulesDirectories;
|
46
|
+
private loadAndAccumulatePackagesFromSingleNodeModulesDirectory;
|
47
|
+
private loadPackageGroupRecursively;
|
48
|
+
private loadDirectoryWithUnprocessedConfiguration;
|
49
|
+
private loadDirectoryWithProcessedConfiguration;
|
50
|
+
private loadPackage;
|
51
|
+
private loadPackageDirectoryAndAccumulateFilesRecursively;
|
52
|
+
private createOrReuseSourceFile;
|
53
|
+
private processOrReuseConfiguration;
|
54
|
+
private processConfiguration;
|
55
|
+
}
|
56
|
+
export declare class DirectoryEntry {
|
57
|
+
readonly uri: Uri;
|
58
|
+
readonly isFile: boolean;
|
59
|
+
get name(): string;
|
60
|
+
constructor(uri: Uri, isFile: boolean);
|
61
|
+
}
|
62
|
+
export interface SourcesProvider {
|
63
|
+
/**
|
64
|
+
* @param fileNameExtensions Интересуемые расширения файлов. Реализующая сторона может использовать данный
|
65
|
+
* набор расширений для оптимизации работы с файловой системой. Вызывающая сторона не должна полагаться
|
66
|
+
* на то, что расширения возвращённых файлов соответствуют перечисленным здесь расширениям.
|
67
|
+
*/
|
68
|
+
readDirectory(uri: Uri, fileNameExtensions?: Set<string>): Promise<readonly DirectoryEntry[]>;
|
69
|
+
readFile(uri: Uri): Promise<string | undefined>;
|
70
|
+
}
|
71
|
+
export interface CompilationLoadConfig {
|
72
|
+
previousLoadResult?: CompilationLoadResult;
|
73
|
+
treatRootAsPackageIfConfigIsMissing?: boolean;
|
74
|
+
/**
|
75
|
+
* Позволяет предоставить конфигурацию для корневого пакета программы в случае отсутствия конфигурации (папки .артель).
|
76
|
+
*/
|
77
|
+
getMainPackageConfigurationIfAbsent?: MainPackageConfigurationProvider;
|
78
|
+
compilationKind?: CompilationKind;
|
79
|
+
systemProjectDirectoriesOverride?: readonly fsTree.Directory[];
|
80
|
+
provideConfiguration?: ConfigurationProvider;
|
81
|
+
standardPackagesUri?: Uri;
|
82
|
+
}
|
83
|
+
export declare enum CompilationKind {
|
84
|
+
Regular = 0,
|
85
|
+
Configuration = 1
|
86
|
+
}
|
87
|
+
export type ConfigurationDirectoryInfo = {
|
88
|
+
directory: fsTree.Directory;
|
89
|
+
packageOrGroupUri: Uri;
|
90
|
+
jsonConfigurationFile: fsTree.File | undefined;
|
91
|
+
};
|
92
|
+
export declare class CompilationLoadResult {
|
93
|
+
readonly compilation: Compilation | undefined;
|
94
|
+
readonly configurationsByPackageOrGroupUri: ReadonlyMap<string, ProcessedConfigurationInfo>;
|
95
|
+
constructor(compilation: Compilation | undefined, configurationsByPackageOrGroupUri: ReadonlyMap<string, ProcessedConfigurationInfo>);
|
96
|
+
}
|
97
|
+
interface ProcessedConfigurationInfo {
|
98
|
+
processedConfiguration: ConvertedConfiguration | undefined;
|
99
|
+
diagnostics: readonly Diagnostic[];
|
100
|
+
configurationFileVersion: number;
|
101
|
+
}
|
102
|
+
export type MainPackageConfigurationProvider = () => Promise<ProgramPackageConfiguration>;
|
103
|
+
export type ConfigurationProvider = (configurationDirectory: ConfigurationDirectoryInfo, isLoadedFromNodeModules: boolean, process: (configurationDirectory: ConfigurationDirectoryInfo) => Promise<ConvertedConfiguration | undefined>) => Promise<ConvertedConfiguration | undefined>;
|
104
|
+
export {};
|
@@ -0,0 +1,70 @@
|
|
1
|
+
import { ObservableObject } from 'reactronic';
|
2
|
+
import { Uri } from '../common/index.js';
|
3
|
+
export declare class FileSystemTree extends ObservableObject implements ReadonlyFileSystemTree {
|
4
|
+
private readonly _handleInconsistentRequestsWithoutErrors;
|
5
|
+
private readonly _deleteEmptyDirectories;
|
6
|
+
private readonly _rootByScheme;
|
7
|
+
private _version;
|
8
|
+
private _createdDirectoriesVersion;
|
9
|
+
private _deletedDirectoriesVersion;
|
10
|
+
get version(): number;
|
11
|
+
get createdDirectoriesVersion(): number;
|
12
|
+
get deletedDirectoriesVersion(): number;
|
13
|
+
constructor(handleInconsistentRequestsWithoutErrors?: boolean, deleteEmptyDirectories?: boolean);
|
14
|
+
addFile(uri: Uri, text: string): File;
|
15
|
+
addDirectory(uri: Uri): Directory;
|
16
|
+
getDirectory(uri: Uri): Directory | undefined;
|
17
|
+
getFile(uri: Uri): File | undefined;
|
18
|
+
getFileOrDirectory(uri: Uri): FileOrDirectory | undefined;
|
19
|
+
deleteFileOrDirectory(uri: Uri): void;
|
20
|
+
updateFile(uri: Uri, text: string): void;
|
21
|
+
addOrUpdateFile(uri: Uri, text: string): void;
|
22
|
+
dispose(): void;
|
23
|
+
private getOrCreateDirectoryWithAllAncestors;
|
24
|
+
private getOrCreateChildDirectory;
|
25
|
+
private getOrCreateChildFile;
|
26
|
+
private getFileOrDirectoryInternal;
|
27
|
+
}
|
28
|
+
export interface ReadonlyFileSystemTree {
|
29
|
+
get version(): number;
|
30
|
+
get createdDirectoriesVersion(): number;
|
31
|
+
get deletedDirectoriesVersion(): number;
|
32
|
+
getDirectory(uri: Uri): Directory | undefined;
|
33
|
+
getFile(uri: Uri): File | undefined;
|
34
|
+
getFileOrDirectory(uri: Uri): FileOrDirectory | undefined;
|
35
|
+
}
|
36
|
+
export type FileOrDirectory = File | Directory;
|
37
|
+
export interface File extends IFileOrDirectory {
|
38
|
+
readonly kind: 'file';
|
39
|
+
readonly uri: Uri;
|
40
|
+
/**
|
41
|
+
* Название файла включая расширение, например "Программа.арт".
|
42
|
+
*/
|
43
|
+
readonly name: string;
|
44
|
+
/**
|
45
|
+
* Расширение включая точку, например ".арт".
|
46
|
+
*/
|
47
|
+
readonly extension: string;
|
48
|
+
readonly text: string;
|
49
|
+
readonly version: number;
|
50
|
+
readonly isDisposed: boolean;
|
51
|
+
}
|
52
|
+
export interface Directory extends IFileOrDirectory {
|
53
|
+
readonly kind: 'directory';
|
54
|
+
readonly uri: Uri;
|
55
|
+
readonly name: string;
|
56
|
+
/**
|
57
|
+
* Версия увеличивается при добавлении и удалении дочерних папок и файлов (только на текущем уровне вложенности).
|
58
|
+
*/
|
59
|
+
readonly version: number;
|
60
|
+
readonly isDisposed: boolean;
|
61
|
+
getChildren(): Iterable<FileOrDirectory>;
|
62
|
+
getChild(name: string): FileOrDirectory | undefined;
|
63
|
+
enumerateDescendants(): Iterable<FileOrDirectory>;
|
64
|
+
}
|
65
|
+
interface IFileOrDirectory {
|
66
|
+
readonly uri: Uri;
|
67
|
+
readonly name: string;
|
68
|
+
readonly isDisposed: boolean;
|
69
|
+
}
|
70
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { Uri } from '../common/index.js';
|
2
|
+
import * as tree from '../tree/index.js';
|
3
|
+
import { SourcePackage } from './SourcePackage.js';
|
4
|
+
import { TextFile } from './TextFile.js';
|
5
|
+
export declare class SourceFile extends TextFile {
|
6
|
+
readonly name: string;
|
7
|
+
private _package;
|
8
|
+
private readonly _node;
|
9
|
+
get package(): SourcePackage;
|
10
|
+
private constructor();
|
11
|
+
static create(text: string, uri: Uri, name: string, version: number): SourceFile;
|
12
|
+
/**
|
13
|
+
* Данный метод должен вызываться только пакетом этого исходного файла.
|
14
|
+
*/
|
15
|
+
setPackage(package_: SourcePackage): void;
|
16
|
+
createCopy(): SourceFile;
|
17
|
+
getSourceText(): string;
|
18
|
+
getSyntaxNode(): tree.SourceFile;
|
19
|
+
parse(): tree.SourceFile;
|
20
|
+
getSyntaxNodeIfParsed(): tree.SourceFile | undefined;
|
21
|
+
}
|