@artel/artc 0.6.25228 → 0.6.25230

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.
Files changed (51) hide show
  1. package/build/Cli.js +3 -3
  2. package/build/api/Api.js +2 -4
  3. package/build/api/ApiNodeJS.js +3 -3
  4. package/build/api/ApiServices.js +85 -86
  5. package/build/{chunk-FHJJX7JY.js → chunk-3LHZOXTJ.js} +2 -2
  6. package/build/{chunk-F5OW64UA.js → chunk-WS3ILL2L.js} +1 -1
  7. package/build/{chunk-5GSDYTF6.js → chunk-ZUIGWNN5.js} +1165 -986
  8. package/build/types/analysis/Analyzer.d.ts +50 -11
  9. package/build/types/analysis/BaseExpressionMeaning.d.ts +1 -1
  10. package/build/types/analysis/DiagnosticCollector.d.ts +0 -1
  11. package/build/types/analysis/{OperationOverloadResolver.d.ts → FunctionOverloadResolver.d.ts} +2 -0
  12. package/build/types/analysis/IdentifierExpressionMeaning.d.ts +2 -2
  13. package/build/types/analysis/MemberAccessExpressionMeaning.d.ts +4 -4
  14. package/build/types/analysis/ModifierFlags.d.ts +5 -6
  15. package/build/types/analysis/PackageMemberNameConflictsValidator.d.ts +2 -3
  16. package/build/types/analysis/control-flow/NarrowableReference.d.ts +4 -4
  17. package/build/types/analysis/control-flow/Nodes.d.ts +1 -1
  18. package/build/types/analysis/semantic-context/Declarations.d.ts +2 -2
  19. package/build/types/analysis/semantic-context/SemanticContextValidatingNameConflicts.d.ts +0 -1
  20. package/build/types/diagnostic/DiagnosticCode.d.ts +25 -26
  21. package/build/types/emitter/Entities.d.ts +7 -7
  22. package/build/types/entities/AliasTypeEntity.d.ts +1 -1
  23. package/build/types/entities/ConstructorEntity.d.ts +8 -8
  24. package/build/types/entities/DereferenceOperatorEntity.d.ts +7 -7
  25. package/build/types/entities/DestructorEntity.d.ts +3 -3
  26. package/build/types/entities/FunctionEntity.d.ts +15 -15
  27. package/build/types/entities/FunctionTypeEntity.d.ts +1 -1
  28. package/build/types/entities/GetterEntity.d.ts +4 -4
  29. package/build/types/entities/IndexerEntity.d.ts +8 -8
  30. package/build/types/entities/OperatorEntity.d.ts +7 -7
  31. package/build/types/entities/SetterEntity.d.ts +4 -4
  32. package/build/types/entities/StructuredTypeEntity.d.ts +1 -1
  33. package/build/types/entities/TypeExtensionEntity.d.ts +1 -1
  34. package/build/types/entities/VariableEntity.d.ts +28 -28
  35. package/build/types/entities/VariantTypeEntity.d.ts +1 -1
  36. package/build/types/entities/index.d.ts +28 -0
  37. package/build/types/project/SourcePackage.d.ts +3 -1
  38. package/build/types/project/configuration/ConfigurationConverter.d.ts +1 -1
  39. package/build/types/project/configuration/types/PackageConfigurationEn.d.ts +2 -0
  40. package/build/types/project/configuration/types/PackageConfigurationRu.d.ts +2 -0
  41. package/build/types/services/DisplayService.d.ts +2 -2
  42. package/build/types/services/NodeSemanticInfo.d.ts +3 -3
  43. package/build/types/tree/KeywordKind.d.ts +21 -22
  44. package/build/types/tree/green/BaseNode.d.ts +3 -1
  45. package/build/types/tree/green/Nodes.d.ts +1 -1
  46. package/build/types/tree/red/BaseNode.d.ts +2 -1
  47. package/build/types/tree/red/Nodes.d.ts +1 -1
  48. package/build/types/ts-interop/Entities.d.ts +24 -24
  49. package/build/types/ts-interop/TsTypeMembersCreator.d.ts +1 -1
  50. package/build/types/types/TypeMembers.d.ts +5 -5
  51. package/package.json +4 -4
@@ -30,7 +30,7 @@ export declare class TsTypeMembersCreator {
30
30
  * @param symbol (symbol.flags & ts.SymbolFlags.Method) !== 0
31
31
  */
32
32
  private createMethods;
33
- private createFunctionEntityNoReplacement;
33
+ private createMethodEntityNoReplacement;
34
34
  private createConstructors;
35
35
  private createIndexerSignatures;
36
36
  private registerTypeParameters;
@@ -4,8 +4,8 @@ import { ConstructorEntity, DereferenceOperatorEntity, DestructorEntity, EntityH
4
4
  import { FunctionType } from './FunctionType.js';
5
5
  import { Substitutions } from './Substitutions.js';
6
6
  import { Type } from './Type.js';
7
- export type TypeMember = Variable | Method | Operator | Constructor | Destructor | Indexer | DereferenceOperator;
8
- export type NamedTypeMember = Variable | Method;
7
+ export type TypeMember = Field | Method | Operator | Constructor | Destructor | Indexer | DereferenceOperator;
8
+ export type NamedTypeMember = Field | Method;
9
9
  export declare class Method implements ITypeMember {
10
10
  private readonly _analyzer;
11
11
  private readonly _entity;
@@ -39,10 +39,10 @@ export declare class ValueParameter {
39
39
  isOptional(): boolean;
40
40
  isVariadic(): boolean;
41
41
  }
42
- export declare class Variable implements ITypeMember {
42
+ export declare class Field implements ITypeMember {
43
43
  private readonly _entity;
44
44
  private readonly _substitutions;
45
- readonly kind = "variable";
45
+ readonly kind = "field";
46
46
  constructor(_entity: FieldEntity, _substitutions: Substitutions);
47
47
  getName(): Name;
48
48
  getType(): Type;
@@ -52,7 +52,7 @@ export declare class Variable implements ITypeMember {
52
52
  isHidden(): EntityHidingLevel | undefined;
53
53
  isStatic(): boolean;
54
54
  isVariant(): boolean;
55
- applySubstitutions(substitutions: Substitutions): Variable;
55
+ applySubstitutions(substitutions: Substitutions): Field;
56
56
  equals(other: TypeMember): boolean;
57
57
  }
58
58
  export declare class Operator implements ITypeMember {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@artel/artc",
3
- "version": "0.6.25228",
3
+ "version": "0.6.25230",
4
4
  "description": "Артель Компилятор | Artel Compiler",
5
5
  "author": "Nezaboodka Team <contact@nezaboodka.com>",
6
6
  "license": "LGPL-3.0-or-later",
@@ -36,9 +36,9 @@
36
36
  }
37
37
  },
38
38
  "dependencies": {
39
- "@babel/generator": "7.23.0",
40
- "@babel/parser": "7.23.0",
41
- "@babel/types": "7.23.0",
39
+ "@babel/generator": "7.27.3",
40
+ "@babel/parser": "7.27.3",
41
+ "@babel/types": "7.27.3",
42
42
  "@vscode/l10n": "0.0.18",
43
43
  "jsonc-parser": "3.3.1",
44
44
  "reactronic": "^0.93.25025",