@artel/artc 0.6.25218 → 0.6.25219
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 +8 -6
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +157 -158
- package/build/{chunk-FI6LW2RD.js → chunk-AIY75NR5.js} +1 -1
- package/build/{chunk-SK7ZBC3X.js → chunk-IYSH7MAQ.js} +878 -1003
- package/build/{chunk-TQDMVKTN.js → chunk-QLTGS2V2.js} +2 -2
- package/build/types/analysis/Analyzer.d.ts +1 -1
- package/build/types/analysis/ArgumentToParameterMatchResult.d.ts +3 -3
- package/build/types/analysis/SemanticContext.d.ts +7 -7
- package/build/types/analysis/Tags.d.ts +18 -6
- package/build/types/analysis/Utils.d.ts +4 -3
- package/build/types/diagnostic/DiagnosticCode.d.ts +2 -2
- package/build/types/emitter/IrToJs.d.ts +1 -1
- package/build/types/emitter/Transformer.d.ts +2 -2
- package/build/types/emitter/ir/Nodes.d.ts +66 -69
- package/build/types/emitter/ir/types.d.ts +2 -2
- package/build/types/tree/NodeKind.d.ts +57 -58
- package/build/types/tree/green/Nodes.d.ts +7 -20
- package/build/types/tree/red/Nodes.d.ts +8 -24
- package/package.json +1 -1
@@ -1339,30 +1339,16 @@ export declare class DisposeStatement extends BaseNode {
|
|
1339
1339
|
constructor(green: green.DisposeStatement, rangeStart: number, parent: StatementParent);
|
1340
1340
|
private createChildren;
|
1341
1341
|
}
|
1342
|
-
export type RunStatementClauseListParent = RunStatement;
|
1343
|
-
export declare class RunStatementClauseList extends BaseNode {
|
1344
|
-
readonly kind = NodeKind.RunStatementClauseList;
|
1345
|
-
readonly green: green.RunStatementClauseList;
|
1346
|
-
readonly parent: RunStatementClauseListParent;
|
1347
|
-
private _children;
|
1348
|
-
get children(): readonly RunStatementClause[];
|
1349
|
-
get clauses(): readonly RunStatementClause[];
|
1350
|
-
protected get thisAsNode(): Node;
|
1351
|
-
constructor(green: green.RunStatementClauseList, rangeStart: number, parent: RunStatementClauseListParent);
|
1352
|
-
private createChildren;
|
1353
|
-
}
|
1354
|
-
export type RunStatementParent = StatementParent;
|
1355
1342
|
export declare class RunStatement extends BaseNode {
|
1356
1343
|
readonly kind = NodeKind.RunStatement;
|
1357
1344
|
readonly green: green.RunStatement;
|
1358
|
-
readonly parent:
|
1345
|
+
readonly parent: StatementParent;
|
1359
1346
|
private _children;
|
1360
|
-
get children(): readonly [Keyword<green.KeywordKind.Run>, StatementBlock
|
1347
|
+
get children(): readonly [Keyword<green.KeywordKind.Run>, StatementBlock];
|
1361
1348
|
get runKeyword(): Keyword<KeywordKind.Run>;
|
1362
1349
|
get body(): StatementBlock;
|
1363
|
-
get clauseList(): RunStatementClauseList;
|
1364
1350
|
protected get thisAsNode(): Node;
|
1365
|
-
constructor(green: green.RunStatement, rangeStart: number, parent:
|
1351
|
+
constructor(green: green.RunStatement, rangeStart: number, parent: StatementParent);
|
1366
1352
|
private createChildren;
|
1367
1353
|
}
|
1368
1354
|
export type TryStatementParent = StatementParent;
|
@@ -1371,18 +1357,16 @@ export declare class TryStatement extends BaseNode {
|
|
1371
1357
|
readonly green: green.TryStatement;
|
1372
1358
|
readonly parent: TryStatementParent;
|
1373
1359
|
private _children;
|
1374
|
-
get children(): readonly [Keyword<green.KeywordKind.Try>, StatementBlock, CatchClause | undefined,
|
1360
|
+
get children(): readonly [Keyword<green.KeywordKind.Try>, StatementBlock, CatchClause | undefined, FinallyClause | undefined];
|
1375
1361
|
get tryKeyword(): Keyword<KeywordKind.Try>;
|
1376
1362
|
get body(): StatementBlock;
|
1377
1363
|
get catchClause(): CatchClause | undefined;
|
1378
|
-
get
|
1379
|
-
get finallyBlock(): StatementBlock | undefined;
|
1364
|
+
get finallyClause(): FinallyClause | undefined;
|
1380
1365
|
protected get thisAsNode(): Node;
|
1381
1366
|
constructor(green: green.TryStatement, rangeStart: number, parent: TryStatementParent);
|
1382
1367
|
private createChildren;
|
1383
1368
|
}
|
1384
|
-
export type
|
1385
|
-
export type CatchClauseParent = RunStatementClauseList | TryStatement;
|
1369
|
+
export type CatchClauseParent = TryStatement;
|
1386
1370
|
export declare class CatchClause extends BaseNode {
|
1387
1371
|
readonly kind = NodeKind.CatchClause;
|
1388
1372
|
readonly green: green.CatchClause;
|
@@ -1409,7 +1393,7 @@ export declare class ErrorVariableDeclaration extends BaseNode {
|
|
1409
1393
|
constructor(green: green.ErrorVariableDeclaration, rangeStart: number, parent: ErrorVariableDeclarationParent);
|
1410
1394
|
private createChildren;
|
1411
1395
|
}
|
1412
|
-
export type FinallyClauseParent =
|
1396
|
+
export type FinallyClauseParent = TryStatement;
|
1413
1397
|
export declare class FinallyClause extends BaseNode {
|
1414
1398
|
readonly kind = NodeKind.FinallyClause;
|
1415
1399
|
readonly green: green.FinallyClause;
|
@@ -2158,4 +2142,4 @@ export declare class TypeAnnotation extends BaseNode {
|
|
2158
2142
|
constructor(green: green.TypeAnnotation, rangeStart: number, parent: TypeAnnotationParent);
|
2159
2143
|
private createChildren;
|
2160
2144
|
}
|
2161
|
-
export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackagePath | NamedTypeSpecifier | UnionTypeSpecifier | UnionTypeSpecifierTypeList | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousMethodTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | TopLevelTranslationList | TranslationsDeclaration | PackageAliasTypeDeclaration | AliasTypeDeclarationBody | PackageMemberGroupDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageMethodDeclaration | PackageMethodTypeDeclaration | MethodTypeDeclarationBody | BaseTypeList | TypeMemberDeclarationList | TypeMemberDeclarationBlock | PackageStructuredTypeDeclaration | StructuredTypeDeclarationBody | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | VariantTypeDeclarationBody | TypeExtensionDeclaration | ExtendedTypeClauseCommaList | ExtendedTypeClause | InvalidPackageMemberDeclaration | TypeMemberGroupDeclaration | TypeConstructorDeclaration | TypeDestructorDeclaration | TypeIndexedGetterDeclaration | TypeIndexedSetterDeclaration | TypeIndexerParameterClause | TypeDereferencedVariableGetterDeclaration | TypeDereferencedVariableSetterDeclaration | TypeMethodDeclaration | OperatorDeclaration | TypeVariableDeclaration | TypeVariableGetterDeclaration | TypeVariableSetterDeclaration | InvalidTypeMemberDeclaration | NestedMethodDeclaration | LocalVariableDeclaration | EnumerationVariableDeclaration | ArrayLiteral | ArrayLiteralElementList | AssertionExpression | AssumptionExpression | AsExpression | BinaryExpression | MethodBlockLiteral | ArgumentList | CallExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | MethodLiteral | ParenthesizedExpression | WhenTernaryExpression | PrefixUnaryExpression | PropertyAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | TextTemplateSpanList | TextTemplateSpan | TokenExpression | KeywordExpression | ObjectExpression | BaseExpression | IdentifierExpression | GenericSpecializationExpression | DefaultMatchExpression | AssignmentStatement | StatementList | StatementBlock | BreakLoopStatement | ContinueLoopStatement | DisposeStatement |
|
2145
|
+
export type Node = SourceFile | PackageMemberDeclarationList | Keyword | PackageImportDirectiveList | SinglePackageImportDirective | PackageGroupImportDirective | PackageImportList | PackageImport | PackagePath | NamedTypeSpecifier | UnionTypeSpecifier | UnionTypeSpecifierTypeList | ParenthesizedTypeSpecifier | NullableTypeSpecifier | AnonymousTypeSpecifier | InvalidTypeSpecifier | AnonymousMethodTypeDeclaration | AnonymousStructuredTypeDeclaration | AnonymousVariantTypeDeclaration | TopLevelTranslationList | TranslationsDeclaration | PackageAliasTypeDeclaration | AliasTypeDeclarationBody | PackageMemberGroupDeclaration | PackageConstructorDeclaration | PackageEntryPointDeclaration | PackageMethodDeclaration | PackageMethodTypeDeclaration | MethodTypeDeclarationBody | BaseTypeList | TypeMemberDeclarationList | TypeMemberDeclarationBlock | PackageStructuredTypeDeclaration | StructuredTypeDeclarationBody | PackageVariableDeclaration | PackageVariableGetterDeclaration | PackageVariableSetterDeclaration | PackageVariantTypeDeclaration | VariantTypeDeclarationBody | TypeExtensionDeclaration | ExtendedTypeClauseCommaList | ExtendedTypeClause | InvalidPackageMemberDeclaration | TypeMemberGroupDeclaration | TypeConstructorDeclaration | TypeDestructorDeclaration | TypeIndexedGetterDeclaration | TypeIndexedSetterDeclaration | TypeIndexerParameterClause | TypeDereferencedVariableGetterDeclaration | TypeDereferencedVariableSetterDeclaration | TypeMethodDeclaration | OperatorDeclaration | TypeVariableDeclaration | TypeVariableGetterDeclaration | TypeVariableSetterDeclaration | InvalidTypeMemberDeclaration | NestedMethodDeclaration | LocalVariableDeclaration | EnumerationVariableDeclaration | ArrayLiteral | ArrayLiteralElementList | AssertionExpression | AssumptionExpression | AsExpression | BinaryExpression | MethodBlockLiteral | ArgumentList | CallExpression | AutotypeCallExpression | IndexedAccessExpression | InvalidExpression | IsExpression | MethodLiteral | ParenthesizedExpression | WhenTernaryExpression | PrefixUnaryExpression | PropertyAccessExpression | ReferenceExpression | DereferenceExpression | TextTemplateLiteral | TextTemplateSpanList | TextTemplateSpan | TokenExpression | KeywordExpression | ObjectExpression | BaseExpression | IdentifierExpression | GenericSpecializationExpression | DefaultMatchExpression | AssignmentStatement | StatementList | StatementBlock | BreakLoopStatement | ContinueLoopStatement | DisposeStatement | RunStatement | TryStatement | CatchClause | ErrorVariableDeclaration | FinallyClause | EmptyStatement | ErrorStatement | ExpressionStatement | EnumerationVariableList | ForStatement | IfStatement | ElseIfClauseList | ElseIfClause | InvalidStatement | NestedMethodDeclarationStatement | LocalVariableDeclarationStatement | LoopStatement | ReturnStatement | CaseClauseList | SwitchStatement | MatchExpressionList | SwitchStatementCaseClause | WhileStatement | YieldStatement | TranslationParameterList | TranslationParameterClause | ConstructorTranslation | IndexerTranslationParameterClause | IndexerTranslation | TranslationTypeParameterList | TranslationTypeParameterClause | PackageMethodTranslation | TypeMethodTranslation | MethodTypeTranslation | PackageImportTranslation | QualifiedName | PackageVariableTranslation | TypeVariableOrVariantTranslation | TypeMemberTranslationList | TypeTranslation | TextLiteralTranslation | TextTemplateLiteralTranslation | VariantDeclaration | TypeParameterDeclaration | ParameterDeclaration | Argument | TagList | Tag | ModifierList | Modifier | ParameterClause | ParameterList | TypeArgumentClause | TypeArgumentList | TypeParameterClause | TypeParameterList | TypeAnnotation | Token;
|