@artel/artc 0.6.26027 → 0.6.26028
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 +2 -2
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +1 -1
- package/build/{chunk-4HXQNBLV.js → chunk-G5UKABEH.js} +2 -2
- package/build/{chunk-IJGHVDYP.js → chunk-SPNTJ746.js} +1067 -1006
- package/build/{chunk-HOPCXROF.js → chunk-SYVSMJJH.js} +1 -1
- package/build/types/analysis/a/SourceFileAnalyzer.d.ts +59 -28
- package/build/types/diagnostic/DiagnosticCode.d.ts +1 -0
- package/package.json +1 -1
|
@@ -21,37 +21,33 @@ export declare class SourceFileAnalyzer {
|
|
|
21
21
|
constructor(analyzer: Analyzer, sourceFile: project.SourceFileA);
|
|
22
22
|
analyze(taskController: TaskController): Promise<Diagnostic[]>;
|
|
23
23
|
private analyzeNode;
|
|
24
|
-
private
|
|
24
|
+
private checkTag;
|
|
25
|
+
private checkPackageReducedTypeDeclaration;
|
|
26
|
+
private checkPackageAliasTypeDeclaration;
|
|
27
|
+
private checkPackageEntryPointDeclaration;
|
|
28
|
+
private checkPackageConstructorDeclaration;
|
|
29
|
+
private checkTranslationsDeclaration;
|
|
30
|
+
private addNotTranslatedTextsDiagnostics;
|
|
31
|
+
private collectNotTranslatedTexts;
|
|
32
|
+
private createNotTranslatedTextsDiagnostic;
|
|
33
|
+
private checkTextTranslationDeclaration;
|
|
25
34
|
private checkPackageVariantDeclaration;
|
|
26
|
-
private checkTypeMemberDeclarationBlock;
|
|
27
|
-
private checkAssumptionExpression;
|
|
28
|
-
private checkStatementBlock;
|
|
29
|
-
private checkFunctionBlock;
|
|
30
35
|
private checkPackageStructuredTypeDeclaration;
|
|
31
36
|
private checkAllFieldsOfStructureAreConst;
|
|
32
37
|
private checkStructureHasRecursiveLayout;
|
|
33
38
|
private checkStructureIsReferencedByFieldTypeRecursively;
|
|
34
39
|
private checkStructureIsReferencedByFieldsOfStructure;
|
|
35
40
|
private isReferencedAutomaticallyGeneratedBackingVariable;
|
|
36
|
-
private
|
|
37
|
-
private checkBreakLoopOrContinueLoopStatement;
|
|
38
|
-
private isStatementUsedInsideLoop;
|
|
39
|
-
private checkTypeParameterList;
|
|
40
|
-
private checkTypeParameterDeclaration;
|
|
41
|
-
private checkFunctionLiteral;
|
|
42
|
-
private checkFunctionBlockLiteral;
|
|
43
|
-
private checkDereferenceExpression;
|
|
44
|
-
private checkIndexedAccessExpression;
|
|
45
|
-
private checkCallExpression;
|
|
46
|
-
private addNotTranslatedTextsDiagnostics;
|
|
47
|
-
private collectNotTranslatedTexts;
|
|
48
|
-
private createNotTranslatedTextsDiagnostic;
|
|
49
|
-
private checkAllDefaultConstructorArgumentsAreNamed;
|
|
41
|
+
private checkAspectsHaveNotBeenExtendedWithDifferentTypeArguments;
|
|
50
42
|
private checkPackageVariableDeclaration;
|
|
51
43
|
private checkPackageFunctionDeclaration;
|
|
52
44
|
private checkPackageVariableGetterDeclaration;
|
|
53
45
|
private checkPackageVariableSetterDeclaration;
|
|
46
|
+
private checkPackageMemberBodyPresence;
|
|
47
|
+
private checkTypeExtensionDeclaration;
|
|
48
|
+
private checkTypeMemberDeclarationBlock;
|
|
54
49
|
private checkConstructorDeclaration;
|
|
50
|
+
private checkDestructorDeclaration;
|
|
55
51
|
private checkMethodDeclaration;
|
|
56
52
|
private checkFieldDeclaration;
|
|
57
53
|
private checkFieldGetterDeclaration;
|
|
@@ -60,12 +56,54 @@ export declare class SourceFileAnalyzer {
|
|
|
60
56
|
private checkIndexedElementSetterDeclaration;
|
|
61
57
|
private checkDereferencedVariableGetterDeclaration;
|
|
62
58
|
private checkDereferencedVariableSetterDeclaration;
|
|
59
|
+
private checkTypeMemberBodyPresence;
|
|
60
|
+
private checkTypeParameterList;
|
|
61
|
+
private checkTypeParameterDeclaration;
|
|
62
|
+
private checkNamedTypeSpecifier;
|
|
63
|
+
private checkAnonymousClassDeclaration;
|
|
64
|
+
private checkAnonymousFunctionTypeDeclaration;
|
|
65
|
+
private checkParameterList;
|
|
66
|
+
private checkRequiredParametersDoNotFollowOptionalParameters;
|
|
67
|
+
private parameterListCanDeclareObjectParameter;
|
|
68
|
+
private checkObjectParameterIsTheFirstParameter;
|
|
69
|
+
private checkParameterDeclaration;
|
|
70
|
+
private checkOwnConstructorCallExpression;
|
|
71
|
+
private checkReferenceExpression;
|
|
72
|
+
private checkMatchExpressionList;
|
|
73
|
+
private checkWhileStatement;
|
|
74
|
+
private checkLoopStatement;
|
|
75
|
+
private checkElseIfClause;
|
|
76
|
+
private checkIfStatement;
|
|
77
|
+
private checkArgument;
|
|
78
|
+
private checkErrorVariableDeclaration;
|
|
79
|
+
private checkForStatementVariableDeclaration;
|
|
80
|
+
private checkLocalVariableDeclaration;
|
|
81
|
+
private checkBaseExpression;
|
|
82
|
+
private checkObjectExpression;
|
|
83
|
+
private checkAssignmentStatement;
|
|
84
|
+
private checkPrefixUnaryExpression;
|
|
85
|
+
private checkCatchClause;
|
|
86
|
+
private checkForStatement;
|
|
87
|
+
private checkLocalizableTextTemplateLiteral;
|
|
88
|
+
private checkLocalizableTextLiteral;
|
|
89
|
+
private checkAutotypeCallExpression;
|
|
90
|
+
private checkBinaryExpression;
|
|
91
|
+
private checkAssumptionExpression;
|
|
92
|
+
private checkStatementBlock;
|
|
93
|
+
private checkFunctionBlock;
|
|
94
|
+
private checkErrorStatement;
|
|
95
|
+
private checkBreakLoopOrContinueLoopStatement;
|
|
96
|
+
private isStatementUsedInsideLoop;
|
|
97
|
+
private checkFunctionLiteral;
|
|
98
|
+
private checkFunctionBlockLiteral;
|
|
99
|
+
private checkDereferenceExpression;
|
|
100
|
+
private checkIndexedAccessExpression;
|
|
101
|
+
private checkCallExpression;
|
|
102
|
+
private checkAllDefaultConstructorArgumentsAreNamed;
|
|
63
103
|
private checkNestedFunctionDeclaration;
|
|
64
104
|
private checkPossibleGeneratorFunctionReturnType;
|
|
65
105
|
private checkReturnStatement;
|
|
66
106
|
private checkYieldStatement;
|
|
67
|
-
private checkPackageMemberBodyPresence;
|
|
68
|
-
private checkTypeMemberBodyPresence;
|
|
69
107
|
private checkIdentifierExpression;
|
|
70
108
|
private checkLocalVariableUsedBeforeDeclaration;
|
|
71
109
|
private checkLocalVariableIsUsedBeforeBeingAssigned;
|
|
@@ -88,18 +126,11 @@ export declare class SourceFileAnalyzer {
|
|
|
88
126
|
private checkOptionalChainingIsUsedOnTheLeftSideOfAssignment;
|
|
89
127
|
private checkGenericSpecializationExpression;
|
|
90
128
|
private checkTypeArgumentTypesAreAssignableToConstraints;
|
|
91
|
-
private checkParameterList;
|
|
92
|
-
private checkRequiredParametersDoNotFollowOptionalParameters;
|
|
93
|
-
private parameterListCanDeclareObjectParameter;
|
|
94
|
-
private checkObjectParameterIsTheFirstParameter;
|
|
95
|
-
private checkParameterDeclaration;
|
|
96
129
|
private checkIfVariableIsUnused;
|
|
97
130
|
private checkIfNestedFunctionIsUnused;
|
|
98
131
|
private checkIfTypeParameterIsUnused;
|
|
99
132
|
private checkAllCodePathsReturnOrResultVariableIsAssigned;
|
|
100
133
|
private isReceiverBaseAutoVariableAccess;
|
|
101
|
-
private overridingMemberHasCorrectHiding;
|
|
102
|
-
private checkTextTranslationDeclaration;
|
|
103
134
|
private attachNodeLocationAndAddDiagnostics;
|
|
104
135
|
private createAndAddDiagnostic;
|
|
105
136
|
private addDiagnostic;
|
|
@@ -278,6 +278,7 @@ export declare enum DiagnosticCode {
|
|
|
278
278
|
CannotAssignValueBecauseWriteFunctionIsNotDefined = 2243,
|
|
279
279
|
CannotAssignValueBecauseWriteFunctionIsHidden = 2244,
|
|
280
280
|
ReadFunctionMustHaveTheSameTypeAsWriteFunction = 2245,
|
|
281
|
+
AspectHasAlreadyBeenExtendedWithDifferentTypeArguments0 = 2246,
|
|
281
282
|
CannotFindTsLibDirectoryBaseSearchPaths0 = 3000,
|
|
282
283
|
SourceFile0IsNotPartOfThePackageAndWontBeLoaded = 3001,
|
|
283
284
|
ProgramWithoutMainPackageCannotBeCompiled = 3002,
|