@artel/artc 0.6.25281 → 0.6.25283
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 +18 -16
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +1182 -979
- package/build/{chunk-TIWNEKIS.js → chunk-2Q4QKW7T.js} +9266 -8683
- package/build/{chunk-7OXU5662.js → chunk-7RAZAZE6.js} +3 -3
- package/build/{chunk-NVHCHE3R.js → chunk-MJ2ZVHII.js} +3 -3
- package/build/types/analysis/AccessedFunction.d.ts +4 -0
- package/build/types/analysis/Analyzer.d.ts +68 -109
- package/build/types/analysis/AutotypeCallExpressionMeaning.d.ts +5 -5
- package/build/types/analysis/BaseExpressionMeaning.d.ts +8 -18
- package/build/types/analysis/CallExpressionMeaning.d.ts +4 -9
- package/build/types/analysis/DereferenceExpressionMeaning.d.ts +3 -4
- package/build/types/analysis/IdentifierExpressionMeaning.d.ts +8 -16
- package/build/types/analysis/IndexedAccessExpressionMeaning.d.ts +4 -8
- package/build/types/analysis/MemberAccessExpressionMeaning.d.ts +8 -16
- package/build/types/analysis/NamedTypeResolver.d.ts +4 -4
- package/build/types/analysis/NamedTypeSpecifierResolver.d.ts +4 -4
- package/build/types/analysis/NodeTypeUtils.d.ts +1 -1
- package/build/types/analysis/ObjectExpressionMeaning.d.ts +4 -9
- package/build/types/analysis/PackageMemberConflictsValidator.d.ts +1 -1
- package/build/types/analysis/ResolvedImplementationPackage.d.ts +48 -0
- package/build/types/analysis/SourceFileAnalyzer.d.ts +1 -0
- package/build/types/analysis/SubstitutedFunction.d.ts +3 -0
- package/build/types/analysis/TagMeaning.d.ts +4 -4
- package/build/types/analysis/UserDefinableBinaryOperatorResolver.d.ts +4 -3
- package/build/types/analysis/UserDefinableUnaryOperatorResolver.d.ts +4 -3
- package/build/types/analysis/Utils.d.ts +1 -0
- package/build/types/analysis/semantic-context/FieldWithInitializerSemanticContext.d.ts +4 -5
- package/build/types/analysis/semantic-context/SemanticContextBase.d.ts +4 -4
- package/build/types/analysis/semantic-context/SemanticContextValidatingNameConflicts.d.ts +4 -5
- package/build/types/analysis/semantic-context/SourceFileSemanticContext.d.ts +11 -7
- package/build/types/analysis/semantic-context/SubprogramSemanticContext.d.ts +4 -5
- package/build/types/analysis/semantic-context/TypeSemanticContext.d.ts +8 -8
- package/build/types/api/Api.d.ts +4 -5
- package/build/types/common/ArrayUtils.d.ts +3 -1
- package/build/types/common/Displayable.d.ts +4 -4
- package/build/types/common/FormatString.d.ts +1 -1
- package/build/types/common/HelperPhrases.d.ts +2 -1
- package/build/types/common/LocalizationHelper.d.ts +6 -4
- package/build/types/common/index.d.ts +3 -0
- package/build/types/diagnostic/DiagnosticCode.d.ts +248 -238
- package/build/types/diagnostic/DiagnosticData.d.ts +2 -2
- package/build/types/emitter/EntityMap.d.ts +1 -1
- package/build/types/emitter/IrBuilder.d.ts +3 -1
- package/build/types/emitter/IrFactory.d.ts +2 -2
- package/build/types/emitter/Transformer.d.ts +3 -3
- package/build/types/emitter/ir/Nodes.d.ts +17 -8
- package/build/types/emitter/ir/types.d.ts +2 -2
- package/build/types/entities/Entity.d.ts +0 -12
- package/build/types/entities/EntityLocalizationContext.d.ts +1 -2
- package/build/types/entities/IEntity.d.ts +2 -1
- package/build/types/entities/OperatorKind.d.ts +6 -3
- package/build/types/entities/{PackageMembers.d.ts → PackageEntityMembers.d.ts} +1 -1
- package/build/types/entities/TypeEntity.d.ts +4 -4
- package/build/types/entities/index.d.ts +1 -1
- package/build/types/entities/interfaces/AliasTypeEntity.d.ts +3 -8
- package/build/types/entities/interfaces/ConstructorEntity.d.ts +0 -4
- package/build/types/entities/interfaces/DereferenceOperatorEntity.d.ts +0 -4
- package/build/types/entities/interfaces/DestructorEntity.d.ts +0 -4
- package/build/types/entities/interfaces/FunctionEntity.d.ts +1 -8
- package/build/types/entities/interfaces/FunctionTypeEntity.d.ts +0 -8
- package/build/types/entities/interfaces/GetterEntity.d.ts +0 -4
- package/build/types/entities/interfaces/IndexerEntity.d.ts +0 -4
- package/build/types/entities/interfaces/OperatorEntity.d.ts +0 -4
- package/build/types/entities/interfaces/PackageAliasEntity.d.ts +0 -5
- package/build/types/entities/interfaces/PackageEntity.d.ts +2 -11
- package/build/types/entities/interfaces/SetterEntity.d.ts +0 -4
- package/build/types/entities/interfaces/StructuredTypeEntity.d.ts +0 -8
- package/build/types/entities/interfaces/TextTranslationEntity.d.ts +1 -0
- package/build/types/entities/interfaces/TypeExtensionEntity.d.ts +1 -7
- package/build/types/entities/interfaces/TypeParameterEntity.d.ts +0 -2
- package/build/types/entities/interfaces/VariableEntity.d.ts +2 -12
- package/build/types/entities/interfaces/VariantTypeEntity.d.ts +1 -8
- package/build/types/entities/intrinsic/IntrinsicFunctionTypeEntity.d.ts +3 -3
- package/build/types/entities/intrinsic/IntrinsicStructuredTypeEntity.d.ts +3 -3
- package/build/types/entities/intrinsic/IntrinsicTypeParameterEntity.d.ts +2 -4
- package/build/types/entities/source/SourceAliasTypeEntity.d.ts +1 -2
- package/build/types/entities/source/SourceFunctionTypeEntity.d.ts +1 -3
- package/build/types/entities/source/SourcePackageEntity.d.ts +1 -2
- package/build/types/entities/source/SourceStructuredTypeEntity.d.ts +1 -3
- package/build/types/entities/source/SourceTextTranslationEntity.d.ts +1 -0
- package/build/types/entities/source/SourceTypeExtensionEntity.d.ts +1 -2
- package/build/types/entities/source/SourceTypeParameterEntity.d.ts +1 -2
- package/build/types/entities/source/SourceVariableEntity.d.ts +2 -2
- package/build/types/entities/source/SourceVariantTypeEntity.d.ts +1 -3
- package/build/types/entities/translated/TranslatedAliasTypeEntity.d.ts +1 -3
- package/build/types/entities/translated/TranslatedFunctionTypeEntity.d.ts +1 -5
- package/build/types/entities/translated/TranslatedPackageEntity.d.ts +2 -3
- package/build/types/entities/translated/TranslatedStructuredTypeEntity.d.ts +1 -5
- package/build/types/entities/translated/TranslatedTypeExtensionEntity.d.ts +1 -3
- package/build/types/entities/translated/TranslatedTypeParameterEntity.d.ts +1 -3
- package/build/types/entities/translated/TranslatedVariantTypeEntity.d.ts +1 -5
- package/build/types/parser/KeywordDictionary.d.ts +10 -2
- package/build/types/parser/TokenKind.d.ts +46 -44
- package/build/types/services/CustomRequests.d.ts +24 -4
- package/build/types/services/DisplayService.d.ts +10 -3
- package/build/types/services/LanguageServer.d.ts +4 -3
- package/build/types/services/ScriptEditingService.d.ts +25 -0
- package/build/types/services/SourceFileItemsService.d.ts +1 -1
- package/build/types/services/Types.d.ts +6 -0
- package/build/types/services/source-generation/EntityToSyntax.d.ts +12 -0
- package/build/types/tree/BaseNode.d.ts +56 -2
- package/build/types/tree/KeywordFlags.d.ts +28 -0
- package/build/types/tree/KeywordKind.d.ts +3 -1
- package/build/types/tree/NodeKind.d.ts +1 -1
- package/build/types/tree/Nodes.d.ts +10 -24
- package/build/types/tree/NodesDebug.d.ts +9 -0
- package/build/types/tree/OperatorKind.d.ts +6 -3
- package/build/types/tree/SyntaxFactory.d.ts +31 -29
- package/build/types/tree/SyntaxToCode.d.ts +4 -1
- package/build/types/tree/TokenFlags.d.ts +15 -0
- package/build/types/tree/TokenKind.d.ts +63 -51
- package/build/types/tree/Utils.d.ts +2 -2
- package/build/types/tree/index.d.ts +2 -1
- package/build/types/ts-interop/Entities.d.ts +1 -11
- package/build/types/ts-interop/TsInteropContext.d.ts +1 -2
- package/build/types/types/AliasType.d.ts +1 -2
- package/build/types/types/FunctionType.d.ts +2 -3
- package/build/types/types/IntersectionType.d.ts +1 -2
- package/build/types/types/ParameterType.d.ts +1 -2
- package/build/types/types/StructuredType.d.ts +1 -2
- package/build/types/types/SubstitutionStubType.d.ts +21 -0
- package/build/types/types/Substitutions.d.ts +1 -1
- package/build/types/types/Type.d.ts +5 -7
- package/build/types/types/TypeFactory.d.ts +2 -1
- package/build/types/types/TypeMembers.d.ts +8 -8
- package/build/types/types/UnionType.d.ts +1 -2
- package/build/types/types/UnresolvedType.d.ts +0 -1
- package/build/types/types/VariantType.d.ts +1 -2
- package/build/types/types/index.d.ts +2 -1
- package/package.json +1 -1
- package/build/types/analysis/SourceFileMembers.d.ts +0 -29
- package/build/types/services/AssignFieldService.d.ts +0 -10
- package/build/types/services/DeleteBlockFromScriptService.d.ts +0 -6
- package/build/types/tree/Token.d.ts +0 -57
- /package/build/types/services/{ProjectItemsService.d.ts → WorkspaceItemsService.d.ts} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export interface Displayable {
|
|
2
2
|
getDisplayText(): string;
|
|
3
3
|
}
|
|
4
|
+
export type DisplayableOrPrimitive = Displayable | string | number | boolean;
|
|
5
|
+
export declare namespace DisplayableOrPrimitive {
|
|
6
|
+
function getDisplayText(value: DisplayableOrPrimitive): string;
|
|
7
|
+
}
|
|
4
8
|
export declare class DisplayableArray implements Displayable {
|
|
5
9
|
private readonly array;
|
|
6
10
|
private readonly separator;
|
|
7
11
|
constructor(array: readonly DisplayableOrPrimitive[], separator: string);
|
|
8
12
|
getDisplayText(): string;
|
|
9
13
|
}
|
|
10
|
-
export type DisplayableOrPrimitive = Displayable | string | number | boolean;
|
|
11
|
-
export declare namespace DisplayableOrPrimitive {
|
|
12
|
-
function getDisplayText(value: DisplayableOrPrimitive): string;
|
|
13
|
-
}
|
|
@@ -3,4 +3,4 @@ import { DisplayableOrPrimitive } from './Displayable.js';
|
|
|
3
3
|
* @example
|
|
4
4
|
* "Сообщение: {0} Экранирование: \{0}", ["Привет!"] -> "Сообщение: Привет! Экранирование: {0}"
|
|
5
5
|
*/
|
|
6
|
-
export declare function formatString(text: string,
|
|
6
|
+
export declare function formatString(text: string, formatArguments?: readonly DisplayableOrPrimitive[]): string;
|
|
@@ -10,6 +10,7 @@ export declare const enum HelperPhraseKind {
|
|
|
10
10
|
Overloads = 7,
|
|
11
11
|
EnumeratorMethodName = 8,
|
|
12
12
|
InvokeMethodName = 9,
|
|
13
|
-
EmptyUnionType = 10
|
|
13
|
+
EmptyUnionType = 10,
|
|
14
|
+
Stub = 11
|
|
14
15
|
}
|
|
15
16
|
export declare function getHelperPhrase(kind: HelperPhraseKind, locale: PackageLocale): string;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { OperatorKind } from '../entities/OperatorKind.js';
|
|
2
|
+
import { Keyword } from '../parser/KeywordDictionary.js';
|
|
2
3
|
import { ReservedIdentifierKind } from '../parser/ReservedIdentifierDictionary.js';
|
|
3
4
|
import * as tree from '../tree/index.js';
|
|
4
5
|
import { HelperPhraseKind } from './HelperPhrases.js';
|
|
5
6
|
import { PackageDialect, PackageLocale } from './index.js';
|
|
6
7
|
export declare class LocalizationHelper {
|
|
7
|
-
static localizeKeyword(kind: tree.KeywordKind, locale: PackageLocale, dialect
|
|
8
|
-
static localizeKeywordAndTakeFirst(kind: tree.KeywordKind, locale: PackageLocale, dialect
|
|
8
|
+
static localizeKeyword(kind: tree.KeywordKind, locale: PackageLocale, dialect: PackageDialect): readonly Keyword[];
|
|
9
|
+
static localizeKeywordAndTakeFirst(kind: tree.KeywordKind, locale: PackageLocale, dialect: PackageDialect): string;
|
|
10
|
+
static localizeKeywordAndTakeBest(kind: tree.KeywordKind, locale: PackageLocale, dialect: PackageDialect, preferredFlags?: tree.KeywordFlags): string;
|
|
9
11
|
static localizeReservedIdentifier(kind: ReservedIdentifierKind, locale: PackageLocale): string;
|
|
10
12
|
static localizeHelperPhrase(kind: HelperPhraseKind, locale: PackageLocale): string;
|
|
11
|
-
static localizeOperatorKind(kind: OperatorKind, locale: PackageLocale, dialect
|
|
12
|
-
static localizeSyntacticalOperatorKind(kind: tree.OperatorKind, locale: PackageLocale, dialect
|
|
13
|
+
static localizeOperatorKind(kind: OperatorKind, locale: PackageLocale, dialect: PackageDialect): string;
|
|
14
|
+
static localizeSyntacticalOperatorKind(kind: tree.OperatorKind, locale: PackageLocale, dialect: PackageDialect): string;
|
|
13
15
|
}
|
|
@@ -6,9 +6,12 @@ export * from './CancellationToken.js';
|
|
|
6
6
|
export * from './Constants.js';
|
|
7
7
|
export * from './Debug.js';
|
|
8
8
|
export * from './Displayable.js';
|
|
9
|
+
export * from './ErrorHandlingStrategy.js';
|
|
9
10
|
export * from './FormatString.js';
|
|
11
|
+
export * from './HelperPhrases.js';
|
|
10
12
|
export * from './Interner.js';
|
|
11
13
|
export * from './JavaScriptIdentifier.js';
|
|
14
|
+
export * from './L10nConfig.js';
|
|
12
15
|
export * from './Lazy.js';
|
|
13
16
|
export * from './LocalizationHelper.js';
|
|
14
17
|
export * from './Logger.js';
|
|
@@ -1,240 +1,250 @@
|
|
|
1
1
|
export declare enum DiagnosticCode {
|
|
2
|
-
UnterminatedToken =
|
|
3
|
-
UnterminatedMultiLineComment =
|
|
4
|
-
UnterminatedNumber =
|
|
5
|
-
UnterminatedTextOrTextTemplate =
|
|
6
|
-
UnterminatedQuotedIdentifier =
|
|
7
|
-
IdentifierExpected =
|
|
8
|
-
TypeNameExpected =
|
|
9
|
-
PackageNameExpected =
|
|
10
|
-
TypeMemberDeclarationExpected =
|
|
11
|
-
PackageMemberDeclarationExpected =
|
|
12
|
-
ForStatementVariableDeclarationExpected =
|
|
13
|
-
StatementExpected =
|
|
14
|
-
ExpressionExpected =
|
|
15
|
-
ExpressionCannotBeUsedAsStatement =
|
|
16
|
-
Expected0But1Found =
|
|
17
|
-
Delimiter0Expected =
|
|
18
|
-
BaseTypeNameExpected =
|
|
19
|
-
TypeSpecifierExpected =
|
|
20
|
-
TypeBodyExpected =
|
|
21
|
-
ParameterExpected =
|
|
22
|
-
TypeParameterExpected =
|
|
23
|
-
CatchClauseOrFinallyClauseExpected =
|
|
24
|
-
PackageImportExpected =
|
|
25
|
-
DeclarationOrPackageImportExpected =
|
|
26
|
-
InvalidTextTemplate =
|
|
27
|
-
ModifierListExpected =
|
|
28
|
-
RunKeywordCreationKeywordOrModifierListExpected =
|
|
29
|
-
HidingLevelExpected =
|
|
30
|
-
ParameterNameCanContainOnlyOneBackQuote =
|
|
31
|
-
FieldNameCanContainOnlyTwoBackQuote =
|
|
32
|
-
BackQuotesCanOnlyBeUsedInParameterAndFieldNames =
|
|
33
|
-
NameThatMatchesKeywordMustBeEnclosedInSingleQuotes =
|
|
34
|
-
TagNameExpected =
|
|
35
|
-
TypeMemberTranslationExpected =
|
|
36
|
-
TranslationExpected =
|
|
37
|
-
TranslatedTextTemplateOrTranslationFunctionBlockExpected =
|
|
38
|
-
TranslatedTextCannotBeginOrEndWithTilde =
|
|
39
|
-
TypeCannotBeUsedAsValue =
|
|
40
|
-
PackageNameCannotBeUsedAsValue =
|
|
41
|
-
PackageAliasCannotBeUsedAsValue =
|
|
42
|
-
PackageMemberOrPackageNotFound =
|
|
43
|
-
PackageMemberNotFound =
|
|
44
|
-
TypeMemberNotFound =
|
|
45
|
-
ConstructorNotFound =
|
|
46
|
-
ConstructorWithTheGivenParameterNamesNotFound =
|
|
47
|
-
IndexerOfTheSpecifiedTypeNotFound =
|
|
48
|
-
DereferenceOperatorOfTheSpecifiedTypeNotFound =
|
|
49
|
-
IndexerNotFound =
|
|
50
|
-
IndexerWithTheGivenParameterNamesNotFound =
|
|
51
|
-
CannotAccessStaticMembersOnTypeParameter =
|
|
52
|
-
CannotCreateInstanceOfAspect =
|
|
53
|
-
CannotCreateInstanceOfAbstractType =
|
|
54
|
-
CannotCreateInstanceOfTypeParameter =
|
|
55
|
-
CannotCreateInstanceOfUnresolvedType =
|
|
56
|
-
ExpressionIsNotCallable =
|
|
57
|
-
ParameterForPositionalArgumentNotFound =
|
|
58
|
-
ParameterWithGivenNameNotFound =
|
|
59
|
-
PositionalArgumentsCannotFollowNamedArguments =
|
|
60
|
-
ArgumentForParameterAlreadyAssigned =
|
|
61
|
-
RequiredParameter0IsNotProvidedWithAnArgument =
|
|
62
|
-
ExtraArgumentExpected0Arguments =
|
|
63
|
-
ExtraArgumentExpectedFrom0ATo1Arguments =
|
|
64
|
-
UnknownVariable =
|
|
65
|
-
UnknownType =
|
|
66
|
-
TypeWithArity0NotFound =
|
|
67
|
-
TypeWithName0NotFound =
|
|
68
|
-
TypeWithTheGivenParameterAndTypeParameterNamesNotFound =
|
|
69
|
-
TypeWithTheGivenTypeParameterNamesNotFound =
|
|
70
|
-
VariableUsedBeforeBeingDeclared =
|
|
71
|
-
Type0IsNotAssignableToType1 =
|
|
72
|
-
Type0OfTheImplicitlyReturnedExpressionIsNotAssignableToType1 =
|
|
73
|
-
VariableWithName0NotFound =
|
|
74
|
-
FunctionWithName0NotFound =
|
|
75
|
-
FunctionWithTheGivenParameterAndTypeParameterNamesNotFound =
|
|
76
|
-
UnknownPackage =
|
|
77
|
-
CannotAssignValueToExpression =
|
|
78
|
-
AutotypeExpressionCannotBeUsedHere =
|
|
79
|
-
CannotDetermineTargetTypeToCallTheConstructor =
|
|
80
|
-
AmbiguousAccess =
|
|
81
|
-
AmbiguousAccess0 =
|
|
82
|
-
CannotAssignValueToContextVariable =
|
|
83
|
-
ExpectedPackageNameOrAliasButFoundType =
|
|
84
|
-
TypeExpected =
|
|
85
|
-
NameOfTypeOrPackageNotFound =
|
|
86
|
-
TypeIsNotATag =
|
|
87
|
-
Operator0IsNotDefinedForTypes1And2 =
|
|
88
|
-
Operator0IsNotDefinedForType1 =
|
|
89
|
-
VariantMustHaveAssociatedValue =
|
|
90
|
-
TranslationsCanOnlyBeDeclaredInTranslationPackage =
|
|
91
|
-
UnknownTranslatingPackage0 =
|
|
92
|
-
BaseCannotBeUsedInThisContext =
|
|
93
|
-
OverriddenMethodNotFound =
|
|
94
|
-
ObjectCannotBeUsedInThisContext =
|
|
95
|
-
BaseCannotBeUsedAsAnExpressionInItself =
|
|
96
|
-
InterfacePackageMustNotContainImplementation =
|
|
97
|
-
InterfacePackageVariablesMustNotHaveInitializers =
|
|
98
|
-
BodyIsMissing =
|
|
99
|
-
AbstractTypeMembersMustNotHaveBody =
|
|
100
|
-
MembersOfAspectTypeMustNotHaveBody =
|
|
101
|
-
AspectTypeFieldsMustBeAbstract =
|
|
102
|
-
DeclarationsMarkedWithBuiltIntoPlatformTagMustNotHaveBody =
|
|
103
|
-
AbstractFieldsMustNotHaveInitializers =
|
|
104
|
-
PackageIsAlreadyImported =
|
|
105
|
-
OnlySubprogramsWithReturnTypeCanReturnValue =
|
|
106
|
-
FunctionsUsingYieldStatementCannotReturnValue =
|
|
107
|
-
YieldStatementCannotBeUsedInAnonymousFunctions =
|
|
108
|
-
YieldStatementCannotBeUsedHere =
|
|
109
|
-
FunctionsUsingYieldStatementMustHaveEnumerableAsReturnType =
|
|
110
|
-
YieldStatementCannotBeUsedInTryStatementThatHasCatchClause =
|
|
111
|
-
YieldStatementCannotBeUsedInFinallyClause =
|
|
112
|
-
SubprogramMustReturnValue =
|
|
113
|
-
ResultVariableCannotBeUsedInFunctionsUsingYieldStatement =
|
|
114
|
-
TypeAliasReferencesItself =
|
|
115
|
-
TypeParameterHasCircularConstraint =
|
|
116
|
-
BaseTypeCausesInheritanceCycle =
|
|
117
|
-
OnlyGenericTypesAndFunctionsCanBeSpecialized =
|
|
118
|
-
Expected0TypeArguments =
|
|
119
|
-
ExpectedFrom0To1TypeArguments =
|
|
120
|
-
Type0IsNotAssignableToConstraint1 =
|
|
121
|
-
VariableIsDeclaredButItsValueIsNeverRead =
|
|
122
|
-
FunctionIsDeclaredButNotUsed =
|
|
123
|
-
TypeParameterIsDeclaredButNotUsed =
|
|
124
|
-
DefaultConstructorArgumentsMustBeNamed =
|
|
125
|
-
IncorrectBodyOfBasicAliasTypeMethod =
|
|
126
|
-
TheFollowingDeclarationsAreNotTranslated0 =
|
|
127
|
-
TheFollowingDeclarationsAreNotTranslated0And1More =
|
|
128
|
-
TheFollowingTextsAreNotTranslated0 =
|
|
129
|
-
TheFollowingTextsAreNotTranslated0And1More =
|
|
130
|
-
OperatorFunction0MustNotHaveParameters =
|
|
131
|
-
OperatorFunction0MustHaveOneParameter =
|
|
132
|
-
OperatorFunction0MustHaveNoMoreThanOneParameter =
|
|
133
|
-
CorrespondingBasicTypeMemberNotFound =
|
|
134
|
-
AsyncFunctionCanOnlyBeCalledFromFunctionMarkedWithAsyncModifier =
|
|
135
|
-
TagNotFound =
|
|
136
|
-
TypeOrFunctionNameExpected =
|
|
137
|
-
PackageNameOrAliasExpected =
|
|
138
|
-
ExpressionCanBeNull =
|
|
139
|
-
TargetVariableExpressionInTheAssignmentStatementCannotContainQuestionOperator =
|
|
140
|
-
UnreachableCode =
|
|
141
|
-
RecursionOccurredWhileCalculatingTheTypeOfTheExpression =
|
|
142
|
-
RecursionOccurredWhileInferringTheTypeOfTheVariable =
|
|
143
|
-
ScopeAlreadyContainsDeclarationWithTheSameName =
|
|
144
|
-
ScopeAlreadyContainsFunctionWithTheSameNameAndParameterTypes =
|
|
145
|
-
ParameterName0ConflictsWithAutomaticallyGeneratedVariableName =
|
|
146
|
-
PackageAlreadyContainsDeclarationWithTheSameName =
|
|
147
|
-
PackageAlreadyContainsFunctionWithTheSameNameAndParameterTypes =
|
|
148
|
-
PackageAlreadyContainsTypeWithTheSameNameAndSameOrIntersectingTypeParameterCount =
|
|
149
|
-
PackageAliasWithTheSameNameAlreadyExits =
|
|
150
|
-
TypeAlreadyContainsDeclarationWithTheSameName =
|
|
151
|
-
TypeAlreadyContainsMethodWithTheSameNameAndParameterTypes =
|
|
152
|
-
TypeAlreadyContainsConstructorWithTheSameParameterTypes =
|
|
153
|
-
TypeAlreadyContainsOperatorFunctionWithTheSameParameterTypes =
|
|
154
|
-
TypeAlreadyContainsIndexerWithTheSameParameterTypes =
|
|
155
|
-
TypeCanHaveOnlyOneDestructor =
|
|
156
|
-
TypeCanHaveOnlyOneDereferenceOperator =
|
|
157
|
-
VariableIsUsedBeforeItsDeclaration =
|
|
158
|
-
VariableMayNotHasBeenAssignedBeforeUsage =
|
|
159
|
-
NotAllCodePathsReturnAValueAndResultLocalVariableMayNotHasBeenAssigned =
|
|
160
|
-
WriteFunctionHasNoCorrespondingReadFunction =
|
|
161
|
-
TypeCannotHaveMultipleBaseObjectTypes =
|
|
162
|
-
TypeThatIsNotMarkedAsBasicCannotBeUsedAsBaseType =
|
|
163
|
-
PlainObjectTypeCannotBeUsedAsBaseType =
|
|
164
|
-
ThisTypeIsAlreadyListedInBaseTypeList =
|
|
165
|
-
OnlyObjectAndAspectTypesCanBeUsedAsBaseTypes =
|
|
166
|
-
PlainObjectTypeCanHaveOnlyAspectsAsBaseTypes =
|
|
167
|
-
AspectTypeCanHaveOnlyAspectsAsBaseTypes =
|
|
168
|
-
ModifierListAlreadyContains0Modifier =
|
|
169
|
-
ModifierListOfOuterDeclarationGroupAlreadyContains0Modifier =
|
|
170
|
-
_0ModifierIsNotAllowedHere =
|
|
171
|
-
DeclarationCannotBePlacedInGroupHaving0Modifier =
|
|
172
|
-
PackageConstructorDeclarationCannotHaveModifiers =
|
|
173
|
-
PackageEntryPointDeclarationCannotHaveModifiers =
|
|
174
|
-
TranslationsCannotHaveModifiers =
|
|
175
|
-
AbstractModifierCanOnlyBeUsedInAbstractObjectTypes =
|
|
176
|
-
BasicModifierCanOnlyBeUsedInObjectTypesAspectTypesAndTypeAliases =
|
|
177
|
-
OverrideModifierCanOnlyBeUsedInObjectAndAspectTypes =
|
|
178
|
-
_0ModifierCannotBeUsedWith1Modifier =
|
|
179
|
-
|
|
180
|
-
BasicModifierCanOnlyBeAppliedToObjectTypes =
|
|
181
|
-
AbstractModifierCanOnlyBeAppliedToObjectTypes =
|
|
182
|
-
NotBasicObjectTypesCannotHaveBasicMembers =
|
|
183
|
-
BasicModifierCannotBeAppliedToAspectTypeFields =
|
|
184
|
-
WriteFunctionMustHaveTheSameModifiersAsReadFunction =
|
|
185
|
-
WriteFunctionMustHaveTheSameOrMoreRestrictiveHidingLevelThenReadFunction =
|
|
186
|
-
DeclarationConflictsWithBaseTypeMember0 =
|
|
187
|
-
DeclarationConflictsWithBaseTypeMember0AddOverrideModifier =
|
|
188
|
-
DeclarationConflictsWithBaseTypeMember0ThisMemberCannotBeOverridden =
|
|
189
|
-
DeclarationConflictsWithBaseTypeMember0ToOverrideTypeMustBeAssignableTo1 =
|
|
190
|
-
DeclarationConflictsWithBaseTypeMember0ToOverrideReturnTypeMustBeAssignableTo1 =
|
|
191
|
-
OverridingMemberMustHaveTheSameHidingLevelAsBaseMember0 =
|
|
192
|
-
OverridingMethodMustBeAsyncBecauseBaseMethod0IsAsync =
|
|
193
|
-
OverridingMethodMustNotBeAsyncBecauseBaseMethod0IsNotAsync =
|
|
194
|
-
OverridingFieldMustNotBeConstOrHaveWriteFunctionToMatchBaseField0 =
|
|
195
|
-
OverridingMemberMustHaveWriteFunctionToMatchBaseMember0 =
|
|
196
|
-
TypeDoesNotImplementMember0 =
|
|
197
|
-
TypeDoesNotImplementMember0ImplicitImplementationTypeMismatch1 =
|
|
198
|
-
TypeDoesNotImplementMember0ImplicitImplementation1IsAsync =
|
|
199
|
-
TypeDoesNotImplementMember0ImplicitImplementation1IsNotAsync =
|
|
200
|
-
TypeDoesNotImplementMember0ImplicitImplementation1IsNotWriteable =
|
|
201
|
-
TypeDoesNotImplementMember0ImplicitImplementation1WriteFunctionIsHidden =
|
|
202
|
-
CannotAccessAbstractMemberOfBaseType =
|
|
203
|
-
TheFollowingBaseTypeMembersConflictAndMustBeOverridden0 =
|
|
204
|
-
TheFollowingBaseTypeMembersConflictBecauseTheyHaveTheSameOriginalName0AndMustBeOverridden1 =
|
|
205
|
-
TheFirstStatementOfConstructorBlockMustBeEitherBaseOrOwnConstructorCall =
|
|
206
|
-
ThisCallCausesOwnConstructorCallCycle =
|
|
207
|
-
OwnConstructorCallMustBeTheFirstStatementOfConstructorBlock =
|
|
208
|
-
BaseConstructorCallMustBeTheFirstStatementOfConstructorBlock =
|
|
209
|
-
Field0HasNoInitializerAndMayNotBeAssignedInConstructor =
|
|
210
|
-
Field0HasNoInitializerAndMayNotBeAssignedInPackageConstructor =
|
|
211
|
-
Variable0HasNoInitializerAndMayNotBeAssignedInPackageConstructor =
|
|
212
|
-
ExpressionOfType0CanNotBeUsedInForLoopBecauseNotEnumerableAndNoMethod1 =
|
|
213
|
-
ForExpressionToBeUsedInForLoopMethod0MustReturnEnumeratorType =
|
|
214
|
-
CannotInferTypeArguments =
|
|
215
|
-
CanNotInferReturnTypeAddExplicitReturnTypeSpecifier =
|
|
216
|
-
ConstantVariablesBustBeInitialized =
|
|
217
|
-
VariableTypeIsNotSpecified =
|
|
218
|
-
CannotInferTypeOfFunctionLiteralAddTypeSpecifierForParameter =
|
|
219
|
-
TypeParameterDefaultCanReferenceOnlyPreviouslyDeclaredTypeParameters =
|
|
220
|
-
RequiredTypeParametersCannotFollowTypeParametersWithDefaults =
|
|
221
|
-
RequiredParametersCannotFollowOptionalParameters =
|
|
222
|
-
ExpressionCannotBeReferenced =
|
|
223
|
-
TextIsMissingAmongPrimaryTextTranslationDefinitions =
|
|
224
|
-
DeclarationHasAlreadyBeenTranslated =
|
|
225
|
-
TheNumberOfTranslatedParametersMustBeEqualToTheNumberOfSourceParameters =
|
|
226
|
-
TheNumberOfTranslatedTypeParametersMustBeEqualToTheNumberOfSourceTypeParameters =
|
|
227
|
-
TheNameOfTheTranslatedOperatorMustMeTheSameAsSourceOperatorName =
|
|
228
|
-
TranslationOfFunctionTypeMustIncludeParameterList =
|
|
229
|
-
OnlyOneTextTranslationPackageShouldBeMarkedAsPrimary =
|
|
230
|
-
Declarations0And1HaveTheSameSourceNamesButDifferentTranslatedNames23 =
|
|
231
|
-
TranslatedDeclarations0And1HaveTheSameTranslatedNamesButDifferentSourceNames23 =
|
|
232
|
-
TranslatedOverridingMember0MustTheSameNameAsBaseMember1 =
|
|
233
|
-
TextTranslationAlreadyExistsInTheTextTranslationPackage =
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
2
|
+
UnterminatedToken = 1000,
|
|
3
|
+
UnterminatedMultiLineComment = 1001,
|
|
4
|
+
UnterminatedNumber = 1002,
|
|
5
|
+
UnterminatedTextOrTextTemplate = 1003,
|
|
6
|
+
UnterminatedQuotedIdentifier = 1004,
|
|
7
|
+
IdentifierExpected = 1100,
|
|
8
|
+
TypeNameExpected = 1101,
|
|
9
|
+
PackageNameExpected = 1102,
|
|
10
|
+
TypeMemberDeclarationExpected = 1103,
|
|
11
|
+
PackageMemberDeclarationExpected = 1104,
|
|
12
|
+
ForStatementVariableDeclarationExpected = 1105,
|
|
13
|
+
StatementExpected = 1106,
|
|
14
|
+
ExpressionExpected = 1107,
|
|
15
|
+
ExpressionCannotBeUsedAsStatement = 1108,
|
|
16
|
+
Expected0But1Found = 1109,
|
|
17
|
+
Delimiter0Expected = 1110,
|
|
18
|
+
BaseTypeNameExpected = 1111,
|
|
19
|
+
TypeSpecifierExpected = 1112,
|
|
20
|
+
TypeBodyExpected = 1113,
|
|
21
|
+
ParameterExpected = 1114,
|
|
22
|
+
TypeParameterExpected = 1115,
|
|
23
|
+
CatchClauseOrFinallyClauseExpected = 1116,
|
|
24
|
+
PackageImportExpected = 1117,
|
|
25
|
+
DeclarationOrPackageImportExpected = 1118,
|
|
26
|
+
InvalidTextTemplate = 1119,
|
|
27
|
+
ModifierListExpected = 1120,
|
|
28
|
+
RunKeywordCreationKeywordOrModifierListExpected = 1121,
|
|
29
|
+
HidingLevelExpected = 1122,
|
|
30
|
+
ParameterNameCanContainOnlyOneBackQuote = 1123,
|
|
31
|
+
FieldNameCanContainOnlyTwoBackQuote = 1124,
|
|
32
|
+
BackQuotesCanOnlyBeUsedInParameterAndFieldNames = 1125,
|
|
33
|
+
NameThatMatchesKeywordMustBeEnclosedInSingleQuotes = 1126,
|
|
34
|
+
TagNameExpected = 1127,
|
|
35
|
+
TypeMemberTranslationExpected = 1128,
|
|
36
|
+
TranslationExpected = 1129,
|
|
37
|
+
TranslatedTextTemplateOrTranslationFunctionBlockExpected = 1130,
|
|
38
|
+
TranslatedTextCannotBeginOrEndWithTilde = 1131,
|
|
39
|
+
TypeCannotBeUsedAsValue = 2000,
|
|
40
|
+
PackageNameCannotBeUsedAsValue = 2001,
|
|
41
|
+
PackageAliasCannotBeUsedAsValue = 2002,
|
|
42
|
+
PackageMemberOrPackageNotFound = 2003,
|
|
43
|
+
PackageMemberNotFound = 2004,
|
|
44
|
+
TypeMemberNotFound = 2005,
|
|
45
|
+
ConstructorNotFound = 2006,
|
|
46
|
+
ConstructorWithTheGivenParameterNamesNotFound = 2007,
|
|
47
|
+
IndexerOfTheSpecifiedTypeNotFound = 2008,
|
|
48
|
+
DereferenceOperatorOfTheSpecifiedTypeNotFound = 2009,
|
|
49
|
+
IndexerNotFound = 2010,
|
|
50
|
+
IndexerWithTheGivenParameterNamesNotFound = 2011,
|
|
51
|
+
CannotAccessStaticMembersOnTypeParameter = 2012,
|
|
52
|
+
CannotCreateInstanceOfAspect = 2013,
|
|
53
|
+
CannotCreateInstanceOfAbstractType = 2014,
|
|
54
|
+
CannotCreateInstanceOfTypeParameter = 2015,
|
|
55
|
+
CannotCreateInstanceOfUnresolvedType = 2016,
|
|
56
|
+
ExpressionIsNotCallable = 2017,
|
|
57
|
+
ParameterForPositionalArgumentNotFound = 2018,
|
|
58
|
+
ParameterWithGivenNameNotFound = 2019,
|
|
59
|
+
PositionalArgumentsCannotFollowNamedArguments = 2020,
|
|
60
|
+
ArgumentForParameterAlreadyAssigned = 2021,
|
|
61
|
+
RequiredParameter0IsNotProvidedWithAnArgument = 2022,
|
|
62
|
+
ExtraArgumentExpected0Arguments = 2023,
|
|
63
|
+
ExtraArgumentExpectedFrom0ATo1Arguments = 2024,
|
|
64
|
+
UnknownVariable = 2025,
|
|
65
|
+
UnknownType = 2026,
|
|
66
|
+
TypeWithArity0NotFound = 2027,
|
|
67
|
+
TypeWithName0NotFound = 2028,
|
|
68
|
+
TypeWithTheGivenParameterAndTypeParameterNamesNotFound = 2029,
|
|
69
|
+
TypeWithTheGivenTypeParameterNamesNotFound = 2030,
|
|
70
|
+
VariableUsedBeforeBeingDeclared = 2031,
|
|
71
|
+
Type0IsNotAssignableToType1 = 2032,
|
|
72
|
+
Type0OfTheImplicitlyReturnedExpressionIsNotAssignableToType1 = 2033,
|
|
73
|
+
VariableWithName0NotFound = 2034,
|
|
74
|
+
FunctionWithName0NotFound = 2035,
|
|
75
|
+
FunctionWithTheGivenParameterAndTypeParameterNamesNotFound = 2036,
|
|
76
|
+
UnknownPackage = 2037,
|
|
77
|
+
CannotAssignValueToExpression = 2038,
|
|
78
|
+
AutotypeExpressionCannotBeUsedHere = 2039,
|
|
79
|
+
CannotDetermineTargetTypeToCallTheConstructor = 2040,
|
|
80
|
+
AmbiguousAccess = 2041,
|
|
81
|
+
AmbiguousAccess0 = 2042,
|
|
82
|
+
CannotAssignValueToContextVariable = 2043,
|
|
83
|
+
ExpectedPackageNameOrAliasButFoundType = 2044,
|
|
84
|
+
TypeExpected = 2045,
|
|
85
|
+
NameOfTypeOrPackageNotFound = 2046,
|
|
86
|
+
TypeIsNotATag = 2047,
|
|
87
|
+
Operator0IsNotDefinedForTypes1And2 = 2048,
|
|
88
|
+
Operator0IsNotDefinedForType1 = 2049,
|
|
89
|
+
VariantMustHaveAssociatedValue = 2050,
|
|
90
|
+
TranslationsCanOnlyBeDeclaredInTranslationPackage = 2051,
|
|
91
|
+
UnknownTranslatingPackage0 = 2052,
|
|
92
|
+
BaseCannotBeUsedInThisContext = 2053,
|
|
93
|
+
OverriddenMethodNotFound = 2054,
|
|
94
|
+
ObjectCannotBeUsedInThisContext = 2055,
|
|
95
|
+
BaseCannotBeUsedAsAnExpressionInItself = 2056,
|
|
96
|
+
InterfacePackageMustNotContainImplementation = 2057,
|
|
97
|
+
InterfacePackageVariablesMustNotHaveInitializers = 2058,
|
|
98
|
+
BodyIsMissing = 2059,
|
|
99
|
+
AbstractTypeMembersMustNotHaveBody = 2060,
|
|
100
|
+
MembersOfAspectTypeMustNotHaveBody = 2061,
|
|
101
|
+
AspectTypeFieldsMustBeAbstract = 2062,
|
|
102
|
+
DeclarationsMarkedWithBuiltIntoPlatformTagMustNotHaveBody = 2063,
|
|
103
|
+
AbstractFieldsMustNotHaveInitializers = 2064,
|
|
104
|
+
PackageIsAlreadyImported = 2065,
|
|
105
|
+
OnlySubprogramsWithReturnTypeCanReturnValue = 2066,
|
|
106
|
+
FunctionsUsingYieldStatementCannotReturnValue = 2067,
|
|
107
|
+
YieldStatementCannotBeUsedInAnonymousFunctions = 2068,
|
|
108
|
+
YieldStatementCannotBeUsedHere = 2069,
|
|
109
|
+
FunctionsUsingYieldStatementMustHaveEnumerableAsReturnType = 2070,
|
|
110
|
+
YieldStatementCannotBeUsedInTryStatementThatHasCatchClause = 2071,
|
|
111
|
+
YieldStatementCannotBeUsedInFinallyClause = 2072,
|
|
112
|
+
SubprogramMustReturnValue = 2073,
|
|
113
|
+
ResultVariableCannotBeUsedInFunctionsUsingYieldStatement = 2074,
|
|
114
|
+
TypeAliasReferencesItself = 2075,
|
|
115
|
+
TypeParameterHasCircularConstraint = 2076,
|
|
116
|
+
BaseTypeCausesInheritanceCycle = 2077,
|
|
117
|
+
OnlyGenericTypesAndFunctionsCanBeSpecialized = 2078,
|
|
118
|
+
Expected0TypeArguments = 2079,
|
|
119
|
+
ExpectedFrom0To1TypeArguments = 2080,
|
|
120
|
+
Type0IsNotAssignableToConstraint1 = 2081,
|
|
121
|
+
VariableIsDeclaredButItsValueIsNeverRead = 2082,
|
|
122
|
+
FunctionIsDeclaredButNotUsed = 2083,
|
|
123
|
+
TypeParameterIsDeclaredButNotUsed = 2084,
|
|
124
|
+
DefaultConstructorArgumentsMustBeNamed = 2085,
|
|
125
|
+
IncorrectBodyOfBasicAliasTypeMethod = 2086,
|
|
126
|
+
TheFollowingDeclarationsAreNotTranslated0 = 2087,
|
|
127
|
+
TheFollowingDeclarationsAreNotTranslated0And1More = 2088,
|
|
128
|
+
TheFollowingTextsAreNotTranslated0 = 2089,
|
|
129
|
+
TheFollowingTextsAreNotTranslated0And1More = 2090,
|
|
130
|
+
OperatorFunction0MustNotHaveParameters = 2091,
|
|
131
|
+
OperatorFunction0MustHaveOneParameter = 2092,
|
|
132
|
+
OperatorFunction0MustHaveNoMoreThanOneParameter = 2093,
|
|
133
|
+
CorrespondingBasicTypeMemberNotFound = 2094,
|
|
134
|
+
AsyncFunctionCanOnlyBeCalledFromFunctionMarkedWithAsyncModifier = 2095,
|
|
135
|
+
TagNotFound = 2096,
|
|
136
|
+
TypeOrFunctionNameExpected = 2097,
|
|
137
|
+
PackageNameOrAliasExpected = 2098,
|
|
138
|
+
ExpressionCanBeNull = 2099,
|
|
139
|
+
TargetVariableExpressionInTheAssignmentStatementCannotContainQuestionOperator = 2100,
|
|
140
|
+
UnreachableCode = 2101,
|
|
141
|
+
RecursionOccurredWhileCalculatingTheTypeOfTheExpression = 2102,
|
|
142
|
+
RecursionOccurredWhileInferringTheTypeOfTheVariable = 2103,
|
|
143
|
+
ScopeAlreadyContainsDeclarationWithTheSameName = 2104,
|
|
144
|
+
ScopeAlreadyContainsFunctionWithTheSameNameAndParameterTypes = 2105,
|
|
145
|
+
ParameterName0ConflictsWithAutomaticallyGeneratedVariableName = 2106,
|
|
146
|
+
PackageAlreadyContainsDeclarationWithTheSameName = 2107,
|
|
147
|
+
PackageAlreadyContainsFunctionWithTheSameNameAndParameterTypes = 2108,
|
|
148
|
+
PackageAlreadyContainsTypeWithTheSameNameAndSameOrIntersectingTypeParameterCount = 2109,
|
|
149
|
+
PackageAliasWithTheSameNameAlreadyExits = 2110,
|
|
150
|
+
TypeAlreadyContainsDeclarationWithTheSameName = 2111,
|
|
151
|
+
TypeAlreadyContainsMethodWithTheSameNameAndParameterTypes = 2112,
|
|
152
|
+
TypeAlreadyContainsConstructorWithTheSameParameterTypes = 2113,
|
|
153
|
+
TypeAlreadyContainsOperatorFunctionWithTheSameParameterTypes = 2114,
|
|
154
|
+
TypeAlreadyContainsIndexerWithTheSameParameterTypes = 2115,
|
|
155
|
+
TypeCanHaveOnlyOneDestructor = 2116,
|
|
156
|
+
TypeCanHaveOnlyOneDereferenceOperator = 2117,
|
|
157
|
+
VariableIsUsedBeforeItsDeclaration = 2118,
|
|
158
|
+
VariableMayNotHasBeenAssignedBeforeUsage = 2119,
|
|
159
|
+
NotAllCodePathsReturnAValueAndResultLocalVariableMayNotHasBeenAssigned = 2120,
|
|
160
|
+
WriteFunctionHasNoCorrespondingReadFunction = 2121,
|
|
161
|
+
TypeCannotHaveMultipleBaseObjectTypes = 2122,
|
|
162
|
+
TypeThatIsNotMarkedAsBasicCannotBeUsedAsBaseType = 2123,
|
|
163
|
+
PlainObjectTypeCannotBeUsedAsBaseType = 2124,
|
|
164
|
+
ThisTypeIsAlreadyListedInBaseTypeList = 2125,
|
|
165
|
+
OnlyObjectAndAspectTypesCanBeUsedAsBaseTypes = 2126,
|
|
166
|
+
PlainObjectTypeCanHaveOnlyAspectsAsBaseTypes = 2127,
|
|
167
|
+
AspectTypeCanHaveOnlyAspectsAsBaseTypes = 2128,
|
|
168
|
+
ModifierListAlreadyContains0Modifier = 2129,
|
|
169
|
+
ModifierListOfOuterDeclarationGroupAlreadyContains0Modifier = 2130,
|
|
170
|
+
_0ModifierIsNotAllowedHere = 2131,
|
|
171
|
+
DeclarationCannotBePlacedInGroupHaving0Modifier = 2132,
|
|
172
|
+
PackageConstructorDeclarationCannotHaveModifiers = 2133,
|
|
173
|
+
PackageEntryPointDeclarationCannotHaveModifiers = 2134,
|
|
174
|
+
TranslationsCannotHaveModifiers = 2135,
|
|
175
|
+
AbstractModifierCanOnlyBeUsedInAbstractObjectTypes = 2136,
|
|
176
|
+
BasicModifierCanOnlyBeUsedInObjectTypesAspectTypesAndTypeAliases = 2137,
|
|
177
|
+
OverrideModifierCanOnlyBeUsedInObjectAndAspectTypes = 2138,
|
|
178
|
+
_0ModifierCannotBeUsedWith1Modifier = 2139,
|
|
179
|
+
VariantValueCannotBeHidden = 2140,
|
|
180
|
+
BasicModifierCanOnlyBeAppliedToObjectTypes = 2141,
|
|
181
|
+
AbstractModifierCanOnlyBeAppliedToObjectTypes = 2142,
|
|
182
|
+
NotBasicObjectTypesCannotHaveBasicMembers = 2143,
|
|
183
|
+
BasicModifierCannotBeAppliedToAspectTypeFields = 2144,
|
|
184
|
+
WriteFunctionMustHaveTheSameModifiersAsReadFunction = 2145,
|
|
185
|
+
WriteFunctionMustHaveTheSameOrMoreRestrictiveHidingLevelThenReadFunction = 2146,
|
|
186
|
+
DeclarationConflictsWithBaseTypeMember0 = 2147,
|
|
187
|
+
DeclarationConflictsWithBaseTypeMember0AddOverrideModifier = 2148,
|
|
188
|
+
DeclarationConflictsWithBaseTypeMember0ThisMemberCannotBeOverridden = 2149,
|
|
189
|
+
DeclarationConflictsWithBaseTypeMember0ToOverrideTypeMustBeAssignableTo1 = 2150,
|
|
190
|
+
DeclarationConflictsWithBaseTypeMember0ToOverrideReturnTypeMustBeAssignableTo1 = 2151,
|
|
191
|
+
OverridingMemberMustHaveTheSameHidingLevelAsBaseMember0 = 2152,
|
|
192
|
+
OverridingMethodMustBeAsyncBecauseBaseMethod0IsAsync = 2153,
|
|
193
|
+
OverridingMethodMustNotBeAsyncBecauseBaseMethod0IsNotAsync = 2154,
|
|
194
|
+
OverridingFieldMustNotBeConstOrHaveWriteFunctionToMatchBaseField0 = 2155,
|
|
195
|
+
OverridingMemberMustHaveWriteFunctionToMatchBaseMember0 = 2156,
|
|
196
|
+
TypeDoesNotImplementMember0 = 2157,
|
|
197
|
+
TypeDoesNotImplementMember0ImplicitImplementationTypeMismatch1 = 2158,
|
|
198
|
+
TypeDoesNotImplementMember0ImplicitImplementation1IsAsync = 2159,
|
|
199
|
+
TypeDoesNotImplementMember0ImplicitImplementation1IsNotAsync = 2160,
|
|
200
|
+
TypeDoesNotImplementMember0ImplicitImplementation1IsNotWriteable = 2161,
|
|
201
|
+
TypeDoesNotImplementMember0ImplicitImplementation1WriteFunctionIsHidden = 2162,
|
|
202
|
+
CannotAccessAbstractMemberOfBaseType = 2163,
|
|
203
|
+
TheFollowingBaseTypeMembersConflictAndMustBeOverridden0 = 2164,
|
|
204
|
+
TheFollowingBaseTypeMembersConflictBecauseTheyHaveTheSameOriginalName0AndMustBeOverridden1 = 2165,
|
|
205
|
+
TheFirstStatementOfConstructorBlockMustBeEitherBaseOrOwnConstructorCall = 2166,
|
|
206
|
+
ThisCallCausesOwnConstructorCallCycle = 2167,
|
|
207
|
+
OwnConstructorCallMustBeTheFirstStatementOfConstructorBlock = 2168,
|
|
208
|
+
BaseConstructorCallMustBeTheFirstStatementOfConstructorBlock = 2169,
|
|
209
|
+
Field0HasNoInitializerAndMayNotBeAssignedInConstructor = 2170,
|
|
210
|
+
Field0HasNoInitializerAndMayNotBeAssignedInPackageConstructor = 2171,
|
|
211
|
+
Variable0HasNoInitializerAndMayNotBeAssignedInPackageConstructor = 2172,
|
|
212
|
+
ExpressionOfType0CanNotBeUsedInForLoopBecauseNotEnumerableAndNoMethod1 = 2173,
|
|
213
|
+
ForExpressionToBeUsedInForLoopMethod0MustReturnEnumeratorType = 2174,
|
|
214
|
+
CannotInferTypeArguments = 2175,
|
|
215
|
+
CanNotInferReturnTypeAddExplicitReturnTypeSpecifier = 2176,
|
|
216
|
+
ConstantVariablesBustBeInitialized = 2177,
|
|
217
|
+
VariableTypeIsNotSpecified = 2178,
|
|
218
|
+
CannotInferTypeOfFunctionLiteralAddTypeSpecifierForParameter = 2179,
|
|
219
|
+
TypeParameterDefaultCanReferenceOnlyPreviouslyDeclaredTypeParameters = 2180,
|
|
220
|
+
RequiredTypeParametersCannotFollowTypeParametersWithDefaults = 2181,
|
|
221
|
+
RequiredParametersCannotFollowOptionalParameters = 2182,
|
|
222
|
+
ExpressionCannotBeReferenced = 2183,
|
|
223
|
+
TextIsMissingAmongPrimaryTextTranslationDefinitions = 2184,
|
|
224
|
+
DeclarationHasAlreadyBeenTranslated = 2185,
|
|
225
|
+
TheNumberOfTranslatedParametersMustBeEqualToTheNumberOfSourceParameters = 2186,
|
|
226
|
+
TheNumberOfTranslatedTypeParametersMustBeEqualToTheNumberOfSourceTypeParameters = 2187,
|
|
227
|
+
TheNameOfTheTranslatedOperatorMustMeTheSameAsSourceOperatorName = 2188,
|
|
228
|
+
TranslationOfFunctionTypeMustIncludeParameterList = 2189,
|
|
229
|
+
OnlyOneTextTranslationPackageShouldBeMarkedAsPrimary = 2190,
|
|
230
|
+
Declarations0And1HaveTheSameSourceNamesButDifferentTranslatedNames23 = 2191,
|
|
231
|
+
TranslatedDeclarations0And1HaveTheSameTranslatedNamesButDifferentSourceNames23 = 2192,
|
|
232
|
+
TranslatedOverridingMember0MustTheSameNameAsBaseMember1 = 2193,
|
|
233
|
+
TextTranslationAlreadyExistsInTheTextTranslationPackage = 2194,
|
|
234
|
+
PackageDoesNotContainImplementationOf0 = 2195,
|
|
235
|
+
TypeDoesNotContainImplementationOf0 = 2196,
|
|
236
|
+
ImplementationVariableMustNotBeConstOrHaveWriteFunctionToMatchInterfacePackageVariable0 = 2197,
|
|
237
|
+
ImplementationFunctionMustBeAsyncToMatchInterfacePackageFunction0 = 2198,
|
|
238
|
+
ImplementationFunctionMustNotBeAsyncToMatchInterfacePackageFunction0 = 2199,
|
|
239
|
+
ImplementationTypeMustBeBasicToMatchInterfacePackageType0 = 2200,
|
|
240
|
+
ImplementationTypeMustNotBeAbstractToMatchInterfacePackageType0 = 2201,
|
|
241
|
+
ImplementationTypeMemberMustBeBasicToMatchInterfacePackageTypeMember0 = 2202,
|
|
242
|
+
ImplementationTypeMemberMustNotBeAbstractToMatchInterfacePackageTypeMember0 = 2203,
|
|
243
|
+
ImplementationTypeMemberMustHaveWriteFunctionToMatchInterfacePackageTypeMember0 = 2204,
|
|
244
|
+
CannotFindTsLibDirectoryBaseSearchPaths0 = 3000,
|
|
245
|
+
SourceFile0IsNotPartOfThePackageAndWontBeLoaded = 3001,
|
|
246
|
+
ProgramWithoutMainPackageCannotBeCompiled = 3002,
|
|
247
|
+
ErrorsInJsonConfigurationFile = 3003,
|
|
248
|
+
StandardPackage0NotFound = 3004,
|
|
249
|
+
Declaration0NotFoundInStandardPackage1 = 3005
|
|
240
250
|
}
|
|
@@ -4,11 +4,11 @@ export declare class DiagnosticData {
|
|
|
4
4
|
readonly code: DiagnosticCode;
|
|
5
5
|
readonly kind: DiagnosticKind;
|
|
6
6
|
readonly flags: DiagnosticFlags;
|
|
7
|
-
private messageFormat;
|
|
7
|
+
private readonly messageFormat;
|
|
8
8
|
private formatArguments;
|
|
9
9
|
private message_;
|
|
10
10
|
get message(): string;
|
|
11
|
-
constructor(code: DiagnosticCode,
|
|
11
|
+
constructor(code: DiagnosticCode, messageFormat: string, formatArguments: readonly DisplayableOrPrimitive[] | undefined, kind: DiagnosticKind, flags: DiagnosticFlags);
|
|
12
12
|
static withCode(code: DiagnosticCode, formatArguments?: readonly DisplayableOrPrimitive[], kind?: DiagnosticKind, flags?: DiagnosticFlags): DiagnosticData;
|
|
13
13
|
}
|
|
14
14
|
export declare const enum DiagnosticKind {
|
|
@@ -15,7 +15,7 @@ export declare class EntityMap {
|
|
|
15
15
|
private readonly functions;
|
|
16
16
|
private readonly typeOrExtensions;
|
|
17
17
|
private readonly packages;
|
|
18
|
-
private readonly
|
|
18
|
+
private readonly implementationPackages;
|
|
19
19
|
constructor(analyzer: Analyzer, targetPlatform: PlatformKind);
|
|
20
20
|
getVariableEntity(entity: analyzerEntities.VariableEntity): emitterEntities.VariableEntity;
|
|
21
21
|
getNamedFunctionEntity(entity: analyzerEntities.NamedFunctionEntity): emitterEntities.FunctionEntity;
|
|
@@ -21,6 +21,7 @@ export declare class IrBuilder {
|
|
|
21
21
|
constructor(ectx: EmitterContext, entityMap: EntityMap, declarationUsageInfoOfAllPackages: ReadonlyMap<tree.SourceFile, DeclarationsUsageMap>);
|
|
22
22
|
build(pkg: SourcePackage): ir.Package;
|
|
23
23
|
private buildPackageMemberDeclarationList;
|
|
24
|
+
private buildBackingPackageVariables;
|
|
24
25
|
private buildPackageConstructorDeclaration;
|
|
25
26
|
private buildFunctionBlockOfFunction;
|
|
26
27
|
private buildFunctionBlockOfFunctionWithoutResult;
|
|
@@ -38,7 +39,7 @@ export declare class IrBuilder {
|
|
|
38
39
|
private buildPackageVariableSetterDeclaration;
|
|
39
40
|
private buildBackingPackageVariable;
|
|
40
41
|
private buildPackageVariantTypeDeclaration;
|
|
41
|
-
private
|
|
42
|
+
private buildVariantValueDeclaration;
|
|
42
43
|
private buildTypeExtensionDeclaration;
|
|
43
44
|
private buildTypeMemberList;
|
|
44
45
|
private buildConstructorDeclaration;
|
|
@@ -95,6 +96,7 @@ export declare class IrBuilder {
|
|
|
95
96
|
private convertDereferencedVariableAccess;
|
|
96
97
|
private buildReferenceExpression;
|
|
97
98
|
private buildConditionalExpression;
|
|
99
|
+
private buildCharLiteral;
|
|
98
100
|
private buildTextLiteral;
|
|
99
101
|
private buildLocalizableTextLiteral;
|
|
100
102
|
private buildTextTemplateLiteral;
|
|
@@ -8,8 +8,8 @@ export declare function packageTypeDeclaration(entity: TypeOrExtensionEntity, me
|
|
|
8
8
|
export declare function packageVariableDeclaration(entity: VariableEntity, initializer: ir.Expression | undefined, sourceLocation?: ir.SourceLocation): ir.PackageVariableDeclaration;
|
|
9
9
|
export declare function packageVariableGetterDeclaration(entity: FunctionEntity, variableEntity: VariableEntity, body: ir.BlockStatement, sourceLocation?: ir.SourceLocation): ir.PackageVariableGetterDeclaration;
|
|
10
10
|
export declare function packageVariableSetterDeclaration(entity: FunctionEntity, variableEntity: VariableEntity, body: ir.BlockStatement, valueLocalVariableEntity: VariableEntity, sourceLocation?: ir.SourceLocation): ir.PackageVariableSetterDeclaration;
|
|
11
|
-
export declare function packageVariantTypeDeclaration(entity: TypeOrExtensionEntity, underlyingTypeKind: ir.UnderlyingTypeKind,
|
|
12
|
-
export declare function
|
|
11
|
+
export declare function packageVariantTypeDeclaration(entity: TypeOrExtensionEntity, underlyingTypeKind: ir.UnderlyingTypeKind, variantValues: readonly ir.VariantValueDeclaration[], sourceLocation?: ir.SourceLocation): ir.PackageVariantTypeDeclaration;
|
|
12
|
+
export declare function variantValueDeclaration(entity: VariableEntity, value: ir.Expression | undefined, sourceLocation?: ir.SourceLocation): ir.VariantValueDeclaration;
|
|
13
13
|
export declare function decorator(expression: ir.Expression, sourceLocation?: ir.SourceLocation): ir.Decorator;
|
|
14
14
|
export declare function arrayLiteral(ectx: EmitterContext, elements: readonly ir.Expression[], sourceLocation?: ir.SourceLocation): ir.ArrayLiteral;
|
|
15
15
|
export declare function arrayLiteralWithType(elements: readonly ir.Expression[], type: Type, sourceLocation?: ir.SourceLocation): ir.ArrayLiteral;
|