@artel/artc 0.6.25218 → 0.6.25220

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.
@@ -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: RunStatementParent;
1345
+ readonly parent: StatementParent;
1359
1346
  private _children;
1360
- get children(): readonly [Keyword<green.KeywordKind.Run>, StatementBlock, RunStatementClauseList];
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: RunStatementParent);
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, Keyword<green.KeywordKind.Finally> | undefined, StatementBlock | 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 finallyKeyword(): Keyword<KeywordKind.Finally> | undefined;
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 RunStatementClause = CatchClause | FinallyClause;
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 = RunStatementClauseList;
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 | RunStatementClauseList | 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;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artel/artc",
3
- "version": "0.6.25218",
3
+ "version": "0.6.25220",
4
4
  "description": "Артель Компилятор | Artel Compiler",
5
5
  "author": "Nezaboodka Team <contact@nezaboodka.com>",
6
6
  "license": "LGPL-3.0-or-later",