@artel/artc 0.6.26039 → 0.9.26001
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 +19 -15
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +11426 -5066
- package/build/{chunk-LTJPPRSR.js → chunk-FLMCFMMG.js} +87218 -50777
- package/build/{chunk-AEW4TILW.js → chunk-V2TFXOVJ.js} +1 -1
- package/build/{chunk-5VVFNKOH.js → chunk-XMOVE7NP.js} +2 -2
- package/build/types/analysis/Analyzer.d.ts +6 -1
- package/build/types/analysis/TypeMemberLookup.d.ts +3 -1
- package/build/types/analysis/WellKnownDeclarations.d.ts +54 -0
- package/build/types/analysis/a/Analyzer.d.ts +10 -10
- package/build/types/analysis/a/IdentifierExpressionMeaning.d.ts +3 -3
- package/build/types/analysis/a/MemberAccessExpressionMeaning.d.ts +3 -3
- package/build/types/analysis/a/ModifierValidator.d.ts +3 -2
- package/build/types/analysis/a/ResolvedTranslationPackage.d.ts +2 -1
- package/build/types/analysis/a/SourceFileAnalyzer.d.ts +1 -1
- package/build/types/analysis/a/SourcePackageMembersCreator.d.ts +1 -2
- package/build/types/analysis/a/TreeQuery.d.ts +1 -2
- package/build/types/analysis/a/TypeMemberLookup.d.ts +3 -1
- package/build/types/analysis/a/semantic-context/FieldWithInitializerSemanticContext.d.ts +3 -3
- package/build/types/analysis/a/semantic-context/SemanticContext.d.ts +2 -2
- package/build/types/analysis/a/semantic-context/SemanticContextBuilder.d.ts +10 -12
- package/build/types/analysis/a/semantic-context/SpecialLocalDeclarationsBuilder.d.ts +0 -1
- package/build/types/analysis/a/semantic-context/SubprogramBodyAndParametersSemanticContext.d.ts +5 -4
- package/build/types/analysis/a/semantic-context/SubprogramSemanticContext.d.ts +11 -10
- package/build/types/analysis/a/semantic-context/TypeSemanticContext.d.ts +13 -13
- package/build/types/analysis/m/Analyzer.d.ts +425 -1
- package/build/types/analysis/m/ArgumentToParameterMatchResult.d.ts +23 -0
- package/build/types/analysis/m/ArgumentsToParametersMatcher.d.ts +40 -0
- package/build/types/analysis/m/BaseExpressionMeaning.d.ts +25 -0
- package/build/types/analysis/m/CallExpressionMeaning.d.ts +72 -0
- package/build/types/analysis/m/ConstructorCallResolver.d.ts +24 -0
- package/build/types/analysis/m/DeclarationsUsageCounter.d.ts +12 -0
- package/build/types/analysis/m/DereferenceExpressionMeaning.d.ts +28 -0
- package/build/types/analysis/m/ExpressionAnalysisOptions.d.ts +21 -0
- package/build/types/analysis/m/FunctionAccessResolver.d.ts +19 -0
- package/build/types/analysis/m/IdentifierExpressionMeaning.d.ts +137 -0
- package/build/types/analysis/m/IndexedAccessExpressionMeaning.d.ts +32 -0
- package/build/types/analysis/m/InstanceFieldsInitializationValidator.d.ts +18 -0
- package/build/types/analysis/m/MemberAccessExpressionMeaning.d.ts +137 -0
- package/build/types/analysis/m/ModifierFlags.d.ts +20 -0
- package/build/types/analysis/m/NamedTypeResolver.d.ts +44 -0
- package/build/types/analysis/m/NamedTypeSpecifierResolver.d.ts +19 -0
- package/build/types/analysis/m/ObjectExpressionMeaning.d.ts +29 -0
- package/build/types/analysis/m/OverloadResolver.d.ts +104 -0
- package/build/types/analysis/m/OwnAndBaseConstructorCallsChecker.d.ts +36 -0
- package/build/types/analysis/m/PackageAndStaticVariablesInitializationValidator.d.ts +17 -0
- package/build/types/analysis/m/ReachabilityChecker.d.ts +27 -0
- package/build/types/analysis/m/ReductionSourceMemberFinder.d.ts +17 -0
- package/build/types/analysis/m/ReservedNameDictionary.d.ts +15 -0
- package/build/types/analysis/m/ResolvedTranslationPackage.d.ts +68 -0
- package/build/types/analysis/m/ReturnTypeInferrer.d.ts +13 -0
- package/build/types/analysis/m/SourceFileAnalyzer.d.ts +131 -0
- package/build/types/analysis/m/SourcePackageMembersCreator.d.ts +7 -0
- package/build/types/analysis/m/SourceTypeMembersCreator.d.ts +9 -0
- package/build/types/analysis/m/StaticDeclarationMeaning.d.ts +32 -0
- package/build/types/analysis/m/SyntacticAccessKind.d.ts +6 -0
- package/build/types/analysis/m/TagMeaning.d.ts +70 -0
- package/build/types/analysis/m/TextIdentity.d.ts +7 -0
- package/build/types/analysis/m/TranslatedEntityNameConflictsValidator.d.ts +28 -0
- package/build/types/analysis/m/TreeQuery.d.ts +15 -0
- package/build/types/analysis/m/TypeArgumentInferrer.d.ts +52 -0
- package/build/types/analysis/m/TypeInferrer.d.ts +11 -0
- package/build/types/analysis/m/TypeMemberLookup.d.ts +4 -1
- package/build/types/analysis/m/TypeNarrower.d.ts +31 -0
- package/build/types/analysis/m/TypeOverloadResolver.d.ts +9 -0
- package/build/types/analysis/m/UserDefinableBinaryOperatorResolver.d.ts +34 -0
- package/build/types/analysis/m/UserDefinableUnaryOperatorResolver.d.ts +23 -0
- package/build/types/analysis/m/VariableIsAssignedChecker.d.ts +11 -0
- package/build/types/analysis/m/VariableIsNotAssignedChecker.d.ts +12 -0
- package/build/types/analysis/m/control-flow/GraphBuilder.d.ts +52 -0
- package/build/types/analysis/m/control-flow/GraphVisualizer.d.ts +12 -0
- package/build/types/analysis/m/control-flow/NarrowableExpression.d.ts +5 -0
- package/build/types/analysis/m/control-flow/NarrowableReference.d.ts +72 -0
- package/build/types/analysis/m/control-flow/Nodes.d.ts +112 -0
- package/build/types/analysis/m/control-flow/index.d.ts +5 -0
- package/build/types/analysis/m/semantic-context/Declarations.d.ts +94 -0
- package/build/types/analysis/m/semantic-context/FieldWithInitializerSemanticContext.d.ts +28 -0
- package/build/types/analysis/m/semantic-context/SemanticContext.d.ts +14 -0
- package/build/types/analysis/m/semantic-context/SemanticContextBase.d.ts +190 -0
- package/build/types/analysis/m/semantic-context/SemanticContextBuilder.d.ts +69 -0
- package/build/types/analysis/m/semantic-context/SemanticContextValidatingNameConflicts.d.ts +51 -0
- package/build/types/analysis/m/semantic-context/SemanticContextWithParent.d.ts +12 -0
- package/build/types/analysis/m/semantic-context/SourceFileSemanticContext.d.ts +63 -0
- package/build/types/analysis/m/semantic-context/StaticDeclarationSemanticContext.d.ts +26 -0
- package/build/types/analysis/m/semantic-context/SubprogramBodyAndParametersSemanticContext.d.ts +108 -0
- package/build/types/analysis/m/semantic-context/SubprogramSemanticContext.d.ts +92 -0
- package/build/types/analysis/m/semantic-context/TypeSemanticContext.d.ts +93 -0
- package/build/types/analysis/m/semantic-context/index.d.ts +10 -0
- package/build/types/common/LocalizationHelper.d.ts +3 -1
- package/build/types/common/LocalizationHelperA.d.ts +0 -2
- package/build/types/common/LocalizationHelperM.d.ts +13 -0
- package/build/types/common/Name.d.ts +1 -1
- package/build/types/common/index.d.ts +1 -0
- package/build/types/diagnostic/DiagnosticCode.d.ts +211 -192
- package/build/types/diagnostic/TokenDiagnosticM.d.ts +2 -0
- package/build/types/emitter/EmitPhaseName.d.ts +2 -2
- package/build/types/emitter/EmitterContext.d.ts +4 -4
- package/build/types/emitter/Entities.d.ts +4 -2
- package/build/types/emitter/IrBuilderM.d.ts +124 -0
- package/build/types/emitter/IrFactory.d.ts +2 -2
- package/build/types/entities/Entity.d.ts +8 -5
- package/build/types/entities/EntityLocalizationContext.d.ts +3 -2
- package/build/types/entities/OperatorKind.d.ts +13 -18
- package/build/types/entities/Translation.d.ts +4 -3
- package/build/types/entities/interfaces/AliasTypeEntity.d.ts +4 -1
- package/build/types/entities/interfaces/DereferenceOperatorEntity.d.ts +3 -1
- package/build/types/entities/interfaces/FunctionEntity.d.ts +3 -1
- package/build/types/entities/interfaces/FunctionTypeEntity.d.ts +3 -1
- package/build/types/entities/interfaces/IndexerEntity.d.ts +4 -1
- package/build/types/entities/interfaces/PackageAliasEntity.d.ts +4 -1
- package/build/types/entities/interfaces/PackageEntity.d.ts +2 -1
- package/build/types/entities/interfaces/ReducedTypeEntity.d.ts +3 -1
- package/build/types/entities/interfaces/StructuredTypeEntity.d.ts +9 -2
- package/build/types/entities/interfaces/TextTranslationEntity.d.ts +4 -1
- package/build/types/entities/interfaces/TypeExtensionEntity.d.ts +4 -1
- package/build/types/entities/interfaces/TypeParameterEntity.d.ts +7 -3
- package/build/types/entities/interfaces/VariableEntity.d.ts +3 -2
- package/build/types/entities/interfaces/VariantTypeEntity.d.ts +3 -1
- package/build/types/entities/interfaces/m/ConstructorEntityM.d.ts +10 -0
- package/build/types/entities/interfaces/m/DestructorEntityM.d.ts +8 -0
- package/build/types/entities/interfaces/m/index.d.ts +2 -0
- package/build/types/entities/source/a/SourceFunctionEntity.d.ts +1 -1
- package/build/types/entities/source/a/SourcePackageEntity.d.ts +2 -1
- package/build/types/entities/source/a/SourceStructuredTypeEntity.d.ts +3 -5
- package/build/types/entities/source/m/SourceAliasTypeEntity.d.ts +32 -0
- package/build/types/entities/source/m/SourceConstructorEntity.d.ts +40 -0
- package/build/types/entities/source/m/SourceDestructorEntity.d.ts +38 -0
- package/build/types/entities/source/m/SourceFunctionEntity.d.ts +252 -0
- package/build/types/entities/source/m/SourceFunctionTypeEntity.d.ts +35 -0
- package/build/types/entities/source/m/SourceGetterEntity.d.ts +122 -0
- package/build/types/entities/source/m/SourceIndexerEntity.d.ts +36 -0
- package/build/types/entities/source/m/SourcePackageAliasEntity.d.ts +22 -0
- package/build/types/entities/source/m/SourcePackageEntity.d.ts +68 -0
- package/build/types/entities/source/m/SourceSetterEntity.d.ts +122 -0
- package/build/types/entities/source/m/SourceStructuredTypeEntity.d.ts +111 -0
- package/build/types/entities/source/m/SourceTextTranslationEntity.d.ts +29 -0
- package/build/types/entities/source/m/SourceTypeParameterEntity.d.ts +30 -0
- package/build/types/entities/source/m/SourceVariableEntity.d.ts +447 -0
- package/build/types/entities/source/m/SourceVariantTypeEntity.d.ts +38 -0
- package/build/types/entities/source/m/index.d.ts +15 -0
- package/build/types/entities/translated/TranslatedPackageEntity.d.ts +2 -1
- package/build/types/entities/translated/TranslatedStructuredTypeEntity.d.ts +33 -1
- package/build/types/entities/translated/source/a/SourceTranslatedPackageStructuredTypeEntity.d.ts +8 -2
- package/build/types/entities/translated/source/m/SourceTranslatedAliasTypeEntity.d.ts +14 -0
- package/build/types/entities/translated/source/m/SourceTranslatedDestructorEntity.d.ts +12 -0
- package/build/types/entities/translated/source/m/SourceTranslatedFunctionEntity.d.ts +24 -0
- package/build/types/entities/translated/source/m/SourceTranslatedFunctionTypeEntity.d.ts +13 -0
- package/build/types/entities/translated/source/m/SourceTranslatedIndexerEntity.d.ts +12 -0
- package/build/types/entities/translated/source/m/SourceTranslatedPackageEntity.d.ts +19 -0
- package/build/types/entities/translated/source/m/SourceTranslatedPackageStructuredTypeEntity.d.ts +26 -0
- package/build/types/entities/translated/source/m/SourceTranslatedPackageVariantTypeEntity.d.ts +14 -0
- package/build/types/entities/translated/source/m/SourceTranslatedReducedTypeEntity.d.ts +14 -0
- package/build/types/entities/translated/source/m/index.d.ts +9 -0
- package/build/types/parser/a/KeywordDictionary.d.ts +2 -3
- package/build/types/parser/a/Parser.d.ts +2 -2
- package/build/types/parser/m/ConvertTokenKind.d.ts +3 -0
- package/build/types/parser/m/KeywordDictionary.d.ts +33 -0
- package/build/types/parser/m/Parser.d.ts +7 -0
- package/build/types/parser/m/Scanner.d.ts +56 -0
- package/build/types/parser/m/TokenKind.d.ts +81 -0
- package/build/types/parser/m/TriviaInterner.d.ts +8 -0
- package/build/types/project/SourceFile.d.ts +5 -6
- package/build/types/services/LanguageServer.d.ts +23 -12
- package/build/types/services/a/NodeSemanticInfo.d.ts +2 -2
- package/build/types/services/common/WorkspaceItemsService.d.ts +1 -0
- package/build/types/services/common/completion/Types.d.ts +8 -2
- package/build/types/services/common/display/DisplayService.d.ts +3 -0
- package/build/types/services/common/display/Types.d.ts +2 -2
- package/build/types/services/m/CodeActionsService.d.ts +10 -0
- package/build/types/services/m/CompletionService.d.ts +60 -0
- package/build/types/services/m/DefinitionService.d.ts +11 -0
- package/build/types/services/m/DisplayService.d.ts +52 -0
- package/build/types/services/m/EvaluatableExpressionService.d.ts +10 -0
- package/build/types/services/m/HoverService.d.ts +11 -0
- package/build/types/services/m/NodeSemanticInfo.d.ts +46 -0
- package/build/types/services/m/RenameService.d.ts +11 -0
- package/build/types/services/m/SelectionRangeService.d.ts +7 -0
- package/build/types/services/m/SemanticTokensService.d.ts +11 -0
- package/build/types/services/m/SourceFileItemsService.d.ts +10 -0
- package/build/types/services/m/TranslationService.d.ts +23 -0
- package/build/types/services/m/TranslationsGenerationService.d.ts +7 -0
- package/build/types/services/m/TreeUtils.d.ts +58 -0
- package/build/types/services/m/references/DefinitionInfoFinder.d.ts +6 -0
- package/build/types/services/m/references/ReferencesFinder.d.ts +7 -0
- package/build/types/services/m/signature-help/ParametersSignatureHelpProvider.d.ts +15 -0
- package/build/types/services/m/signature-help/SignatureHelpService.d.ts +6 -0
- package/build/types/services/m/signature-help/SignatureWithParameters.d.ts +94 -0
- package/build/types/services/m/signature-help/TypeParameterSignatureHelpProvider.d.ts +21 -0
- package/build/types/services/m/signature-help/utils.d.ts +9 -0
- package/build/types/tree/a/KeywordKind.d.ts +1 -3
- package/build/types/tree/a/NodeKind.d.ts +113 -114
- package/build/types/tree/a/Nodes.d.ts +6 -5
- package/build/types/tree/a/OperatorKind.d.ts +5 -0
- package/build/types/tree/a/Types.d.ts +9 -4
- package/build/types/tree/m/BaseNode.d.ts +8 -40
- package/build/types/tree/m/KeywordFlags.d.ts +4 -0
- package/build/types/tree/m/KeywordKind.d.ts +40 -0
- package/build/types/tree/m/NodeKind.d.ts +147 -2
- package/build/types/tree/m/Nodes.d.ts +2064 -9
- package/build/types/tree/m/NodesDebug.d.ts +9 -0
- package/build/types/tree/m/OperatorKind.d.ts +39 -0
- package/build/types/tree/m/SyntaxToCode.d.ts +107 -0
- package/build/types/tree/m/Token.d.ts +46 -0
- package/build/types/tree/m/TokenFlags.d.ts +12 -0
- package/build/types/tree/m/TokenKind.d.ts +61 -60
- package/build/types/tree/m/TreeTraversal.d.ts +18 -0
- package/build/types/tree/m/Types.d.ts +46 -0
- package/build/types/tree/m/Utils.d.ts +7 -0
- package/build/types/tree/m/index.d.ts +9 -0
- package/build/types/types/StandardTypes.d.ts +2 -0
- package/package.json +2 -2
- /package/build/types/diagnostic/{TokenDiagnostic.d.ts → TokenDiagnosticA.d.ts} +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Analyzer } from '../../analysis/Analyzer.js';
|
|
2
|
+
import { Range } from '../../common/index.js';
|
|
3
|
+
import { SourceFileM } from '../../project/index.js';
|
|
4
|
+
import { HoverService } from '../common/hover/HoverService.js';
|
|
5
|
+
import { NodeSemanticInfo } from '../common/node-semantic-info/Types.js';
|
|
6
|
+
export declare class HoverServiceM extends HoverService<SourceFileM> {
|
|
7
|
+
protected getSemanticInfoAndRangeAtOffset(analyzer: Analyzer, sourceFile: SourceFileM, offset: number): {
|
|
8
|
+
semanticInfo: NodeSemanticInfo;
|
|
9
|
+
range: Range;
|
|
10
|
+
} | undefined;
|
|
11
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Analyzer } from '../../analysis/m/Analyzer.js';
|
|
2
|
+
import * as tree from '../../tree/m/index.js';
|
|
3
|
+
import { TokenOrKeyword } from '../m/TreeUtils.js';
|
|
4
|
+
import { NodeSemanticInfo } from '../common/node-semantic-info/Types.js';
|
|
5
|
+
export declare class NodeSemanticInfoServiceM {
|
|
6
|
+
static ofTokenOrKeyword(analyzer: Analyzer, tokenOrKeyword: TokenOrKeyword, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
|
7
|
+
static ofRegularOrBlockFunctionLiteral(analyzer: Analyzer, node: tree.RegularOrBlockFunctionLiteral): NodeSemanticInfo | undefined;
|
|
8
|
+
static ofDefaultMatchExpression(analyzer: Analyzer, node: tree.DefaultMatchExpression): NodeSemanticInfo | undefined;
|
|
9
|
+
static ofNonKeywordIdentifier(analyzer: Analyzer, node: tree.Identifier, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
|
10
|
+
static ofPackageNameQualifier(analyzer: Analyzer, node: tree.PackageName, qualifier: tree.Identifier, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
|
11
|
+
static ofMember(analyzer: Analyzer, node: tree.MemberAccessExpression, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
|
12
|
+
static ofQualifiedNameQualifier(analyzer: Analyzer, node: tree.QualifiedName, qualifier: tree.Identifier, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
|
13
|
+
static ofNamedTypeSpecifierNameQualifier(analyzer: Analyzer, node: tree.NamedTypeSpecifier, qualifier: tree.Identifier, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
|
14
|
+
static ofStaticNameClause(analyzer: Analyzer, node: tree.StaticNameClause, qualifier: tree.Identifier, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
|
15
|
+
static ofTagNameQualifier(analyzer: Analyzer, node: tree.Tag, qualifier: tree.Identifier, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
|
16
|
+
static ofIdentifierExpression(analyzer: Analyzer, node: tree.IdentifierExpression, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
|
17
|
+
static ofIndexedElementAccessorDeclaration(analyzer: Analyzer, node: tree.IndexedElementAccessorDeclaration): NodeSemanticInfo;
|
|
18
|
+
static ofIndexedAccessExpressionOperator(analyzer: Analyzer, node: tree.IndexedAccessExpression, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
|
19
|
+
static ofAssignmentStatementOperator(analyzer: Analyzer, node: tree.AssignmentStatement, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
|
20
|
+
static ofBinaryExpressionOperator(analyzer: Analyzer, node: tree.BinaryExpression, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
|
21
|
+
static ofPrefixUnaryExpressionOperator(analyzer: Analyzer, node: tree.PrefixUnaryExpression, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
|
22
|
+
static ofObjectExpression(analyzer: Analyzer, node: tree.ObjectExpression, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
|
23
|
+
static ofBaseExpression(analyzer: Analyzer, node: tree.BaseExpression, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
|
24
|
+
static ofIndexerTranslationSourceIndexer(analyzer: Analyzer, node: tree.IndexerTranslation, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
|
25
|
+
static ofIndexerTranslationTranslatedIndexer(analyzer: Analyzer, node: tree.IndexerTranslation, options: NodeSemanticInfoServiceOptions): NodeSemanticInfo | undefined;
|
|
26
|
+
static ofObjectParameterDeclaration(analyzer: Analyzer, node: tree.ParameterDeclaration, _objectKeyword: tree.Keyword<tree.KeywordKind.Object>): NodeSemanticInfo;
|
|
27
|
+
private static ofPackageNameSegmentAccess;
|
|
28
|
+
private static ofConstructorCallWithTypeAccess;
|
|
29
|
+
private static ofTranslationTypeParameterListParameter;
|
|
30
|
+
private static ofTranslationParameterListParameter;
|
|
31
|
+
private static getBetterReferenceTargetsOrPreserve;
|
|
32
|
+
private static getBetterReferenceTargets;
|
|
33
|
+
private static getResolvedContainingTranslationPackage;
|
|
34
|
+
private static ofAccessedFunctions;
|
|
35
|
+
private static ofConstructors;
|
|
36
|
+
}
|
|
37
|
+
export type NodeSemanticInfoServiceOptions = {
|
|
38
|
+
readonly preferredTargetOfExplicitConstructorCall: 'type-declaration' | 'constructor-declaration';
|
|
39
|
+
readonly includeBetterReferenceTargets: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Для всех сегментов имени пакета `NodeSemanticInfoService` возвращает одинаковую семантическую информацию - ссылку
|
|
42
|
+
* на пакет (`PackageEntity`). Если флаг установлен, сервис вернёт семантическую информацию только для последнего
|
|
43
|
+
* сегмента, чтобы учесть имя при поиске ссылок только один раз.
|
|
44
|
+
*/
|
|
45
|
+
readonly isForReferencesSearch: boolean;
|
|
46
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Analyzer } from '../../analysis/Analyzer.js';
|
|
2
|
+
import { Range } from '../../common/index.js';
|
|
3
|
+
import { SourceFileM } from '../../project/index.js';
|
|
4
|
+
import { NodeSemanticInfo } from '../common/node-semantic-info/Types.js';
|
|
5
|
+
import { RenameService } from '../common/rename/RenameService.js';
|
|
6
|
+
export declare class RenameServiceM extends RenameService<SourceFileM> {
|
|
7
|
+
protected getSemanticInfoAndRangeOffset(analyzer: Analyzer, sourceFile: SourceFileM, offset: number): {
|
|
8
|
+
semanticInfo: NodeSemanticInfo;
|
|
9
|
+
range: Range;
|
|
10
|
+
} | undefined;
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SourceFileM } from '../../project/SourceFile.js';
|
|
2
|
+
import { SelectionRange } from '../common/selection-rage/Types.js';
|
|
3
|
+
export declare class SelectionRangeServiceM {
|
|
4
|
+
getSelectionRange(sourceFile: SourceFileM, offset: number): SelectionRange | undefined;
|
|
5
|
+
private nodeContainsOffset;
|
|
6
|
+
private nodeShouldBeSkipped;
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Analyzer } from '../../analysis/m/Analyzer.js';
|
|
2
|
+
import { Range, TaskController } from '../../common/index.js';
|
|
3
|
+
import { SourceFileM } from '../../project/index.js';
|
|
4
|
+
import { SemanticToken } from '../common/semantic-tokens/Types.js';
|
|
5
|
+
export declare class SemanticTokensServiceM {
|
|
6
|
+
getSemanticTokens(analyzer: Analyzer, sourceFile: SourceFileM, taskController: TaskController): Promise<SemanticToken[]>;
|
|
7
|
+
getSemanticTokensInRange(analyzer: Analyzer, sourceFile: SourceFileM, range: Range, taskController: TaskController): Promise<SemanticToken[]>;
|
|
8
|
+
private rangesOverlap;
|
|
9
|
+
private getSemanticTokenKindForNamedFunctionEntity;
|
|
10
|
+
private isCapitalizedName;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SourceFileM } from '../../project/index.js';
|
|
2
|
+
import { SourceFileItem } from '../common/source-file-items/Types.js';
|
|
3
|
+
export declare class SourceFileItemsServiceM {
|
|
4
|
+
private sourceFile;
|
|
5
|
+
getItems(sourceFile: SourceFileM): SourceFileItem[];
|
|
6
|
+
private get locale();
|
|
7
|
+
private getChildItems;
|
|
8
|
+
private createItem;
|
|
9
|
+
private getNameOrStubIfEmpty;
|
|
10
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { TextDocument } from 'vscode-languageserver-textdocument';
|
|
2
|
+
import { Analyzer } from '../../analysis/m/Analyzer.js';
|
|
3
|
+
import { Range } from '../../common/index.js';
|
|
4
|
+
import { SourceFileM } from '../../project/index.js';
|
|
5
|
+
export declare class TranslationService {
|
|
6
|
+
private readonly translationCache;
|
|
7
|
+
constructor();
|
|
8
|
+
translateSourceFile(analyzer: Analyzer, sourceFile: SourceFileM, localeText: string): Translation;
|
|
9
|
+
clearTranslationCache(): void;
|
|
10
|
+
private translateIdentifier;
|
|
11
|
+
private translateKeywords;
|
|
12
|
+
private translateReservedName;
|
|
13
|
+
private createRangeMaps;
|
|
14
|
+
private getTranslationId;
|
|
15
|
+
}
|
|
16
|
+
export type Translation = {
|
|
17
|
+
translatedDocument: TextDocument;
|
|
18
|
+
rangeMaps: RangeMap[];
|
|
19
|
+
};
|
|
20
|
+
export type RangeMap = {
|
|
21
|
+
sourceRange: Range;
|
|
22
|
+
translationRange: Range;
|
|
23
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Analyzer } from '../../analysis/m/Analyzer.js';
|
|
2
|
+
import { SourceFileM } from '../../project/SourceFile.js';
|
|
3
|
+
import { SourceFileEdit } from '../common/Types.js';
|
|
4
|
+
export declare class TranslationsGenerationServiceM {
|
|
5
|
+
generateMissingTranslations(analyzer: Analyzer, sourceFile: SourceFileM, offset: number, onlyTypeMembers: boolean): SourceFileEdit[] | undefined;
|
|
6
|
+
isOffsetAtTranslationsContainingPartiallyTranslatedTypes(analyzer: Analyzer, sourceFile: SourceFileM, offset: number): boolean;
|
|
7
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as tree from '../../tree/m/index.js';
|
|
2
|
+
/**
|
|
3
|
+
* Получить самый правый токен, для которого `rangeWithoutTrivia.end <= offset`.
|
|
4
|
+
*/
|
|
5
|
+
export declare function getPrecedingToken(sourceFile: tree.SourceFile, offset: number): tree.Token | undefined;
|
|
6
|
+
/**
|
|
7
|
+
* Возвращает токен, для которого `offset >= range.start` и `offset < range.end`,
|
|
8
|
+
* или токен конца файла (`TokenKind.EndOfFile`) если смещение находится в конце файла.
|
|
9
|
+
*/
|
|
10
|
+
export declare function getTokenAtOffset(sourceFile: tree.SourceFile, offset: number, searchInTrivia: boolean): tree.Token | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Возвращает не пустой токен или ключевое слово, для которых `offset >= rangeWithoutTrivia.start` и `offset <= rangeWithoutTrivia.end`.
|
|
13
|
+
*
|
|
14
|
+
* Если смещение находится между двумя токенами / ключевыми словами (например а|.б), то возвращаются оба.
|
|
15
|
+
*/
|
|
16
|
+
export declare function getTokenOrKeywordsTouchingOffset(sourceFile: tree.SourceFile, offset: number): TokenOrKeywordsTouchingOffset;
|
|
17
|
+
export declare class TokenOrKeyword {
|
|
18
|
+
readonly value: tree.Token | tree.Keyword;
|
|
19
|
+
get parent(): tree.Node;
|
|
20
|
+
constructor(value: tree.Token | tree.Keyword);
|
|
21
|
+
isToken<T extends tree.TokenKind>(kind?: T): this is TokenOrKeyword & {
|
|
22
|
+
value: tree.Token<T>;
|
|
23
|
+
};
|
|
24
|
+
isKeyword<T extends tree.KeywordKind>(kind?: T): this is TokenOrKeyword & {
|
|
25
|
+
value: tree.Keyword<T>;
|
|
26
|
+
};
|
|
27
|
+
equals(other: TokenOrKeyword): boolean;
|
|
28
|
+
}
|
|
29
|
+
export type TokenOrKeywordsTouchingOffset = TokenOrKeywordsTouchingOffset_none | TokenOrKeywordsTouchingOffset_single | TokenOrKeywordsTouchingOffset_two;
|
|
30
|
+
export declare class TokenOrKeywordsTouchingOffset_none implements ITokenOrKeywordsTouchingOffset {
|
|
31
|
+
readonly kind = "none";
|
|
32
|
+
getSinglePrioritizingNamed(): TokenOrKeyword | undefined;
|
|
33
|
+
getSingleWithHighestPriority(_getPriority: (token: TokenOrKeyword) => number): TokenOrKeyword | undefined;
|
|
34
|
+
}
|
|
35
|
+
export declare class TokenOrKeywordsTouchingOffset_single implements ITokenOrKeywordsTouchingOffset {
|
|
36
|
+
readonly value: TokenOrKeyword;
|
|
37
|
+
readonly kind = "single";
|
|
38
|
+
constructor(value: TokenOrKeyword);
|
|
39
|
+
getSinglePrioritizingNamed(): TokenOrKeyword | undefined;
|
|
40
|
+
getSingleWithHighestPriority(_getPriority: (token: TokenOrKeyword) => number): TokenOrKeyword | undefined;
|
|
41
|
+
}
|
|
42
|
+
export declare class TokenOrKeywordsTouchingOffset_two implements ITokenOrKeywordsTouchingOffset {
|
|
43
|
+
readonly left: TokenOrKeyword;
|
|
44
|
+
readonly right: TokenOrKeyword;
|
|
45
|
+
readonly kind = "two";
|
|
46
|
+
constructor(left: TokenOrKeyword, right: TokenOrKeyword);
|
|
47
|
+
getSinglePrioritizingNamed(): TokenOrKeyword | undefined;
|
|
48
|
+
getSingleWithHighestPriority(getPriority: (token: TokenOrKeyword) => number): TokenOrKeyword | undefined;
|
|
49
|
+
}
|
|
50
|
+
interface ITokenOrKeywordsTouchingOffset {
|
|
51
|
+
getSinglePrioritizingNamed(): TokenOrKeyword | undefined;
|
|
52
|
+
getSingleWithHighestPriority(getPriority: (token: TokenOrKeyword) => number): TokenOrKeyword | undefined;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Возвращает trivia, для которого `offset >= range.start` и `offset < range.end`.
|
|
56
|
+
*/
|
|
57
|
+
export declare function getTriviaAtOffset(sourceFile: tree.SourceFile, offset: number): tree.TokenTrivia | undefined;
|
|
58
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Analyzer } from '../../../analysis/Analyzer.js';
|
|
2
|
+
import { SourceFileM } from '../../../project/index.js';
|
|
3
|
+
import { DefinitionInfo, ReferencesSearchOptions } from '../../common/references/Types.js';
|
|
4
|
+
export declare class DefinitionInfoFinderM {
|
|
5
|
+
static getReferencedDefinitionInfosAtOffsetM(analyzer: Analyzer, sourceFile: SourceFileM, offset: number, options: ReferencesSearchOptions): DefinitionInfo[];
|
|
6
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TaskController } from '../../../common/index.js';
|
|
2
|
+
import { SourceFileM } from '../../../project/SourceFile.js';
|
|
3
|
+
import { ReferencesFinder } from '../../common/references/ReferencesFinder.js';
|
|
4
|
+
import { Reference } from '../../common/references/Types.js';
|
|
5
|
+
export declare class ReferencesFinderM extends ReferencesFinder {
|
|
6
|
+
findReferencesInSourceFileM(sourceFile: SourceFileM, result: Reference[], taskController: TaskController): Promise<void>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Analyzer } from '../../../analysis/m/Analyzer.js';
|
|
2
|
+
import { SourceFileM } from '../../../project/index.js';
|
|
3
|
+
import { SignatureHelp } from '../../common/signature-help/Types.js';
|
|
4
|
+
export declare class ParametersSignatureHelpProvider {
|
|
5
|
+
private readonly signatureContext_;
|
|
6
|
+
private readonly analyzer;
|
|
7
|
+
private readonly sourceFile;
|
|
8
|
+
private readonly offset;
|
|
9
|
+
private get signatureContext();
|
|
10
|
+
constructor(analyzer: Analyzer, sourceFile: SourceFileM, offset: number);
|
|
11
|
+
provideSignatureHelp(): SignatureHelp | undefined;
|
|
12
|
+
private getNodeWithArgumentsInfoAtOffset;
|
|
13
|
+
private getArgumentIndexInList;
|
|
14
|
+
private getSignatureDisplayParts;
|
|
15
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Analyzer } from '../../../analysis/m/Analyzer.js';
|
|
2
|
+
import { SourceFileM } from '../../../project/index.js';
|
|
3
|
+
import { SignatureHelp } from '../../common/signature-help/Types.js';
|
|
4
|
+
export declare class SignatureHelpServiceM {
|
|
5
|
+
getSignatureHelp(analyzer: Analyzer, sourceFile: SourceFileM, offset: number): SignatureHelp | undefined;
|
|
6
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { AccessedFunction } from '../../../analysis/AccessedFunction.js';
|
|
2
|
+
import { Analyzer } from '../../../analysis/m/Analyzer.js';
|
|
3
|
+
import { Name } from '../../../common/index.js';
|
|
4
|
+
import { ParameterEntity } from '../../../entities/index.js';
|
|
5
|
+
import * as tree from '../../../tree/m/index.js';
|
|
6
|
+
import * as types from '../../../types/index.js';
|
|
7
|
+
export declare class ArgumentFactory {
|
|
8
|
+
static createArgumentsOfCallExpression(node: tree.CallExpression): Argument[];
|
|
9
|
+
static createArgumentsOfIndexedAccessExpression(node: tree.IndexedAccessExpression): Argument[];
|
|
10
|
+
static createArgumentsOfTag(node: tree.Tag): Argument[];
|
|
11
|
+
private static createArgumentsFromList;
|
|
12
|
+
}
|
|
13
|
+
export declare class SignatureForNode {
|
|
14
|
+
static getSignaturesForNode(analyzer: Analyzer, node: NodeWithArguments): SignaturesWithSingleSuitable | undefined;
|
|
15
|
+
static getSignaturesForCallExpression(analyzer: Analyzer, node: tree.CallExpression): SignaturesWithSingleSuitable | undefined;
|
|
16
|
+
static getSignaturesForIndexedAccessExpression(analyzer: Analyzer, node: tree.IndexedAccessExpression): SignaturesWithSingleSuitable | undefined;
|
|
17
|
+
static getSignaturesForTag(analyzer: Analyzer, node: tree.Tag): SignaturesWithSingleSuitable | undefined;
|
|
18
|
+
private static getSignaturesOfConstructors;
|
|
19
|
+
}
|
|
20
|
+
export declare class SimplifiedArgumentToParameterMatcher {
|
|
21
|
+
static match(analyzer: Analyzer, arguments_: readonly Argument[], signature: Signature): SimplifiedArgumentToParameterMatchResult;
|
|
22
|
+
}
|
|
23
|
+
export declare class SimplifiedArgumentToParameterMatchResult {
|
|
24
|
+
readonly arguments: readonly Argument[];
|
|
25
|
+
readonly parameterByArgumentIndex: ReadonlyArray<Parameter | undefined>;
|
|
26
|
+
private readonly parameterByArgument_;
|
|
27
|
+
get parameterByArgument(): ReadonlyMap<Argument, Parameter>;
|
|
28
|
+
constructor(arguments_: readonly Argument[], parameterByArgumentIndex: ReadonlyArray<Parameter | undefined>);
|
|
29
|
+
}
|
|
30
|
+
export declare class SimplifiedOverloadResolver {
|
|
31
|
+
static isSuitableSignature(analyzer: Analyzer, matchedSignature: MatchedSignature, args: readonly Argument[]): boolean;
|
|
32
|
+
static getMostSuitableSignatureIndex(analyzer: Analyzer, matchedSignatures: readonly MatchedSignature[], args: readonly Argument[]): number;
|
|
33
|
+
}
|
|
34
|
+
export type NodeWithArguments = tree.CallExpression | tree.IndexedAccessExpression | tree.Tag;
|
|
35
|
+
export declare class Argument {
|
|
36
|
+
readonly name: string | undefined;
|
|
37
|
+
readonly expression: tree.Expression | undefined;
|
|
38
|
+
constructor(name: string | undefined, expression: tree.Expression | undefined);
|
|
39
|
+
}
|
|
40
|
+
export declare class SignaturesWithSingleSuitable {
|
|
41
|
+
readonly values: readonly Signature[];
|
|
42
|
+
readonly suitableSignatureIndex: number | undefined;
|
|
43
|
+
constructor(values: readonly Signature[], suitableSignatureIndex: number | undefined);
|
|
44
|
+
}
|
|
45
|
+
export declare class MatchedSignature {
|
|
46
|
+
readonly value: Signature;
|
|
47
|
+
readonly matchResult: SimplifiedArgumentToParameterMatchResult;
|
|
48
|
+
constructor(value: Signature, matchResult: SimplifiedArgumentToParameterMatchResult);
|
|
49
|
+
}
|
|
50
|
+
export type Signature = AccessedFunctionSignature | FunctionTypeSignature | ConstructorSignature | IndexerSignature;
|
|
51
|
+
export declare class AccessedFunctionSignature implements ISignature {
|
|
52
|
+
readonly kind = "accessed-function";
|
|
53
|
+
readonly func: AccessedFunction;
|
|
54
|
+
private readonly parameters;
|
|
55
|
+
constructor(func: AccessedFunction);
|
|
56
|
+
getParameters(): readonly Parameter[];
|
|
57
|
+
}
|
|
58
|
+
export declare class FunctionTypeSignature implements ISignature {
|
|
59
|
+
readonly kind = "function-type";
|
|
60
|
+
readonly functionType: types.FunctionType;
|
|
61
|
+
private readonly parameters;
|
|
62
|
+
constructor(functionType: types.FunctionType);
|
|
63
|
+
getParameters(): readonly Parameter[];
|
|
64
|
+
}
|
|
65
|
+
export declare class ConstructorSignature implements ISignature {
|
|
66
|
+
readonly kind = "constructor";
|
|
67
|
+
readonly constructor_: types.Method;
|
|
68
|
+
private readonly parameters;
|
|
69
|
+
constructor(constructor_: types.Method);
|
|
70
|
+
getParameters(): readonly Parameter[];
|
|
71
|
+
}
|
|
72
|
+
export declare class IndexerSignature implements ISignature {
|
|
73
|
+
readonly kind = "indexer";
|
|
74
|
+
readonly indexer: types.Indexer;
|
|
75
|
+
private readonly parameters;
|
|
76
|
+
constructor(indexer: types.Indexer);
|
|
77
|
+
getParameters(): readonly Parameter[];
|
|
78
|
+
}
|
|
79
|
+
interface ISignature {
|
|
80
|
+
getParameters(): readonly Parameter[];
|
|
81
|
+
}
|
|
82
|
+
export type Parameter = UniversalParameter;
|
|
83
|
+
export declare class UniversalParameter implements IParameter {
|
|
84
|
+
readonly type: types.Type;
|
|
85
|
+
readonly entity: ParameterEntity;
|
|
86
|
+
constructor(type: types.Type, entity: ParameterEntity);
|
|
87
|
+
getName(): Name;
|
|
88
|
+
getType(): types.Type;
|
|
89
|
+
}
|
|
90
|
+
interface IParameter {
|
|
91
|
+
getName(): Name;
|
|
92
|
+
getType(): types.Type;
|
|
93
|
+
}
|
|
94
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Analyzer } from '../../../analysis/m/Analyzer.js';
|
|
2
|
+
import { SourceFileM } from '../../../project/index.js';
|
|
3
|
+
import { SignatureHelp } from '../../common/signature-help/Types.js';
|
|
4
|
+
export declare class TypeParameterSignatureHelpProvider {
|
|
5
|
+
private readonly signatureContext_;
|
|
6
|
+
private readonly analyzer;
|
|
7
|
+
private readonly sourceFile;
|
|
8
|
+
private readonly offset;
|
|
9
|
+
private get signatureContext();
|
|
10
|
+
constructor(analyzer: Analyzer, sourceFile: SourceFileM, offset: number);
|
|
11
|
+
provideSignatureHelp(): SignatureHelp | undefined;
|
|
12
|
+
private getNodeWithTypeArgumentsInfoAtOffset;
|
|
13
|
+
private getArgumentIndex;
|
|
14
|
+
private countArguments;
|
|
15
|
+
private getSignaturesForNode;
|
|
16
|
+
private getSignaturesForNamedTypeSpecifier;
|
|
17
|
+
private getSignaturesForTag;
|
|
18
|
+
private getSignaturesForGenericSpecializationExpression;
|
|
19
|
+
private getSignatureForAccessedFunction;
|
|
20
|
+
private getSignatureForNamedType;
|
|
21
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SignatureInfo } from '../../common/signature-help/Types.js';
|
|
2
|
+
export declare class SignatureDisplayParts {
|
|
3
|
+
readonly prefix: string;
|
|
4
|
+
readonly parameters: readonly string[];
|
|
5
|
+
readonly parameterSeparator: string;
|
|
6
|
+
readonly postfix: string;
|
|
7
|
+
constructor(prefix: string, parameters: readonly string[], parameterSeparator: string, postfix: string);
|
|
8
|
+
}
|
|
9
|
+
export declare function convertSignatureDisplayPartsToSignatureInfo(displayParts: SignatureDisplayParts, activeParameterIndex: number): SignatureInfo;
|
|
@@ -47,118 +47,117 @@ export declare enum NodeKind {
|
|
|
47
47
|
DereferencedVariableGetterDeclaration = 45,
|
|
48
48
|
DereferencedVariableSetterDeclaration = 46,
|
|
49
49
|
MethodDeclaration = 47,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
ReducesClause = 161
|
|
50
|
+
FieldDeclaration = 48,
|
|
51
|
+
FieldGetterDeclaration = 49,
|
|
52
|
+
FieldSetterDeclaration = 50,
|
|
53
|
+
MissingTypeMemberDeclaration = 51,
|
|
54
|
+
NestedFunctionDeclaration = 52,
|
|
55
|
+
LocalVariableDeclaration = 53,
|
|
56
|
+
ForStatementVariableDeclaration = 54,
|
|
57
|
+
ArrayLiteral = 55,
|
|
58
|
+
ArrayLiteralElementList = 56,
|
|
59
|
+
AssertionExpression = 57,
|
|
60
|
+
AssumptionExpression = 58,
|
|
61
|
+
AsExpression = 59,
|
|
62
|
+
BinaryExpression = 60,
|
|
63
|
+
FunctionLiteral = 61,
|
|
64
|
+
FunctionBlockLiteral = 62,
|
|
65
|
+
ArgumentList = 63,
|
|
66
|
+
CallExpression = 64,
|
|
67
|
+
AutotypeCallExpression = 65,
|
|
68
|
+
IndexedAccessExpression = 66,
|
|
69
|
+
MissingExpression = 67,
|
|
70
|
+
IsExpression = 68,
|
|
71
|
+
ParenthesizedExpression = 69,
|
|
72
|
+
ConditionalExpression = 70,
|
|
73
|
+
PrefixUnaryExpression = 71,
|
|
74
|
+
MemberAccessExpression = 72,
|
|
75
|
+
ReferenceExpression = 73,
|
|
76
|
+
DereferenceExpression = 74,
|
|
77
|
+
TextTemplateLiteral = 75,
|
|
78
|
+
LocalizableTextTemplateLiteral = 76,
|
|
79
|
+
TextTemplateSpanList = 77,
|
|
80
|
+
TextTemplateSpan = 78,
|
|
81
|
+
TokenExpression = 79,
|
|
82
|
+
TextLiteral = 80,
|
|
83
|
+
LocalizableTextLiteral = 81,
|
|
84
|
+
KeywordExpression = 82,
|
|
85
|
+
ObjectExpression = 83,
|
|
86
|
+
BaseExpression = 84,
|
|
87
|
+
IdentifierExpression = 85,
|
|
88
|
+
GenericSpecializationExpression = 86,
|
|
89
|
+
DefaultMatchExpression = 87,
|
|
90
|
+
OwnConstructorCallExpression = 88,
|
|
91
|
+
AssignmentStatement = 89,
|
|
92
|
+
StatementList = 90,
|
|
93
|
+
StatementBlock = 91,
|
|
94
|
+
FunctionBlock = 92,
|
|
95
|
+
BreakLoopStatement = 93,
|
|
96
|
+
ContinueLoopStatement = 94,
|
|
97
|
+
DisposeStatement = 95,
|
|
98
|
+
RunStatement = 96,
|
|
99
|
+
TryStatement = 97,
|
|
100
|
+
CatchClause = 98,
|
|
101
|
+
ErrorVariableDeclaration = 99,
|
|
102
|
+
FinallyClause = 100,
|
|
103
|
+
ErrorStatement = 101,
|
|
104
|
+
ImportantStatement = 102,
|
|
105
|
+
ExpressionStatement = 103,
|
|
106
|
+
ForStatement = 104,
|
|
107
|
+
IfStatement = 105,
|
|
108
|
+
ElseIfClauseList = 106,
|
|
109
|
+
ElseIfClause = 107,
|
|
110
|
+
ElseClause = 108,
|
|
111
|
+
MissingStatement = 109,
|
|
112
|
+
NestedFunctionDeclarationStatement = 110,
|
|
113
|
+
LocalVariableDeclarationStatement = 111,
|
|
114
|
+
LoopStatement = 112,
|
|
115
|
+
ReturnStatement = 113,
|
|
116
|
+
CaseClauseList = 114,
|
|
117
|
+
SwitchStatement = 115,
|
|
118
|
+
MatchExpressionList = 116,
|
|
119
|
+
CaseClause = 117,
|
|
120
|
+
WhileStatement = 118,
|
|
121
|
+
YieldStatement = 119,
|
|
122
|
+
TranslationsDeclaration = 120,
|
|
123
|
+
TopLevelTranslationList = 121,
|
|
124
|
+
TranslationParameterList = 122,
|
|
125
|
+
TranslationParameterClause = 123,
|
|
126
|
+
ConstructorTranslation = 124,
|
|
127
|
+
IndexParameterTranslationClause = 125,
|
|
128
|
+
IndexerTranslation = 126,
|
|
129
|
+
TranslationTypeParameterList = 127,
|
|
130
|
+
TranslationTypeParameterClause = 128,
|
|
131
|
+
PackageFunctionTranslationDeclaration = 129,
|
|
132
|
+
MethodTranslation = 130,
|
|
133
|
+
FunctionTypeTranslationDeclaration = 131,
|
|
134
|
+
QualifiedName = 132,
|
|
135
|
+
PackageVariableTranslationDeclaration = 133,
|
|
136
|
+
FieldOrVariantTranslation = 134,
|
|
137
|
+
TypeMemberTranslationList = 135,
|
|
138
|
+
TypeTranslationDeclaration = 136,
|
|
139
|
+
TextTranslationDeclaration = 137,
|
|
140
|
+
TextTranslationFunctionDeclaration = 138,
|
|
141
|
+
TranslationTextLiteral = 139,
|
|
142
|
+
TranslationTextTemplate = 140,
|
|
143
|
+
TranslationTextTemplateSpanList = 141,
|
|
144
|
+
TranslationTextTemplateSpan = 142,
|
|
145
|
+
TranslationTextTemplateParameter = 143,
|
|
146
|
+
VariantValueDeclaration = 144,
|
|
147
|
+
TypeParameterDeclaration = 145,
|
|
148
|
+
ParameterDeclaration = 146,
|
|
149
|
+
Argument = 147,
|
|
150
|
+
TagList = 148,
|
|
151
|
+
Tag = 149,
|
|
152
|
+
ModifierList = 150,
|
|
153
|
+
Modifier = 151,
|
|
154
|
+
ParameterClause = 152,
|
|
155
|
+
ParameterList = 153,
|
|
156
|
+
TypeArgumentClause = 154,
|
|
157
|
+
TypeArgumentList = 155,
|
|
158
|
+
TypeParameterClause = 156,
|
|
159
|
+
TypeParameterList = 157,
|
|
160
|
+
TypeAnnotation = 158,
|
|
161
|
+
ExtendsClause = 159,
|
|
162
|
+
ReducesClause = 160
|
|
164
163
|
}
|