@artel/artc 0.6.25220 → 0.6.25222

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 (39) hide show
  1. package/build/Cli.js +3 -3
  2. package/build/api/Api.js +6 -4
  3. package/build/api/ApiNodeJS.js +3 -3
  4. package/build/api/ApiServices.js +394 -284
  5. package/build/{chunk-ASXPPFGP.js → chunk-MBMOAUK7.js} +3 -3
  6. package/build/{chunk-RHY36EE7.js → chunk-ODWG5ZXF.js} +4060 -2261
  7. package/build/{chunk-AUDD2JDS.js → chunk-UZK7JCND.js} +3 -3
  8. package/build/types/analysis/Analyzer.d.ts +53 -6
  9. package/build/types/analysis/ControlFlowGraphBuilder.d.ts +121 -0
  10. package/build/types/analysis/ControlFlowGraphVisualizer.d.ts +12 -0
  11. package/build/types/analysis/DiagnosticCollector.d.ts +3 -0
  12. package/build/types/analysis/NodeTypeUtils.d.ts +4 -1
  13. package/build/types/analysis/SemanticContext.d.ts +7 -0
  14. package/build/types/analysis/SemanticContextBuilder.d.ts +2 -0
  15. package/build/types/analysis/StatementBlockScopeBuilder.d.ts +19 -17
  16. package/build/types/analysis/TypeNarrower.d.ts +62 -0
  17. package/build/types/common/Range.d.ts +1 -0
  18. package/build/types/diagnostic/DiagnosticCode.d.ts +131 -123
  19. package/build/types/diagnostic/DiagnosticData.d.ts +2 -1
  20. package/build/types/emitter/IrBuilder.d.ts +3 -1
  21. package/build/types/emitter/IrToJs.d.ts +1 -0
  22. package/build/types/emitter/Transformer.d.ts +2 -0
  23. package/build/types/emitter/ir/Nodes.d.ts +86 -78
  24. package/build/types/emitter/ir/types.d.ts +2 -2
  25. package/build/types/parser/Scanner.d.ts +1 -0
  26. package/build/types/services/CompletionService.d.ts +2 -1
  27. package/build/types/services/DisplayService.d.ts +4 -2
  28. package/build/types/services/NodeSemanticInfo.d.ts +4 -2
  29. package/build/types/tree/KeywordKind.d.ts +41 -40
  30. package/build/types/tree/NodeKind.d.ts +63 -60
  31. package/build/types/tree/green/Nodes.d.ts +124 -86
  32. package/build/types/tree/green/SyntaxFactory.d.ts +12 -10
  33. package/build/types/tree/green/SyntaxToCode.d.ts +1 -0
  34. package/build/types/tree/green/Token.d.ts +1 -1
  35. package/build/types/tree/green/Utils.d.ts +1 -1
  36. package/build/types/tree/red/Nodes.d.ts +103 -63
  37. package/build/types/tree/red/Utils.d.ts +1 -1
  38. package/build/types/types/TypeFactory.d.ts +2 -1
  39. package/package.json +1 -1
@@ -18,44 +18,45 @@ export declare enum KeywordKind {
18
18
  Type = 16,
19
19
  Basic = 17,
20
20
  Import = 18,
21
- Error = 19,
22
- Finally = 20,
23
- And = 21,
24
- Or = 22,
25
- Xor = 23,
26
- While = 24,
27
- Loop = 25,
28
- RepeatWhile = 26,
29
- Yield = 27,
30
- When = 28,
31
- Creation = 29,
32
- Catch = 30,
33
- BreakLoop = 31,
34
- ContinueLoop = 32,
35
- For = 33,
36
- Const = 34,
37
- Hidden = 35,
38
- Abstract = 36,
39
- Redefinable = 37,
40
- Redefined = 38,
41
- Async = 39,
42
- Static = 40,
43
- As = 41,
44
- Not = 42,
45
- Switch = 43,
46
- Case = 44,
47
- Dispose = 45,
48
- Destruction = 46,
49
- InHierarchy = 47,
50
- InFile = 48,
51
- InPackage = 49,
52
- InType = 50,
53
- Yes = 51,
54
- No = 52,
55
- Reference = 53,
56
- Translations = 54,
57
- Base = 55,
58
- None = 56,
59
- Get = 57,
60
- Set = 58
21
+ Important = 19,
22
+ Error = 20,
23
+ Finally = 21,
24
+ And = 22,
25
+ Or = 23,
26
+ Xor = 24,
27
+ While = 25,
28
+ Loop = 26,
29
+ RepeatWhile = 27,
30
+ Yield = 28,
31
+ When = 29,
32
+ Creation = 30,
33
+ Catch = 31,
34
+ BreakLoop = 32,
35
+ ContinueLoop = 33,
36
+ For = 34,
37
+ Const = 35,
38
+ Hidden = 36,
39
+ Abstract = 37,
40
+ Redefinable = 38,
41
+ Redefined = 39,
42
+ Async = 40,
43
+ Static = 41,
44
+ As = 42,
45
+ Not = 43,
46
+ Switch = 44,
47
+ Case = 45,
48
+ Dispose = 46,
49
+ Destruction = 47,
50
+ InHierarchy = 48,
51
+ InFile = 49,
52
+ InPackage = 50,
53
+ InType = 51,
54
+ Yes = 52,
55
+ No = 53,
56
+ Reference = 54,
57
+ Translations = 55,
58
+ Base = 56,
59
+ None = 57,
60
+ Get = 58,
61
+ Set = 59
61
62
  }
@@ -93,64 +93,67 @@ export declare enum NodeKind {
93
93
  AssignmentStatement = 91,
94
94
  StatementList = 92,
95
95
  StatementBlock = 93,
96
- BreakLoopStatement = 94,
97
- ContinueLoopStatement = 95,
98
- DisposeStatement = 96,
99
- RunStatement = 97,
100
- TryStatement = 98,
101
- CatchClause = 99,
102
- ErrorVariableDeclaration = 100,
103
- FinallyClause = 101,
104
- EmptyStatement = 102,
105
- ErrorStatement = 103,
106
- ExpressionStatement = 104,
107
- EnumerationVariableList = 105,
108
- ForStatement = 106,
109
- IfStatement = 107,
110
- ElseIfClauseList = 108,
111
- ElseIfClause = 109,
112
- InvalidStatement = 110,
113
- NestedMethodDeclarationStatement = 111,
114
- LocalVariableDeclarationStatement = 112,
115
- LoopStatement = 113,
116
- ReturnStatement = 114,
117
- CaseClauseList = 115,
118
- SwitchStatement = 116,
119
- MatchExpressionList = 117,
120
- SwitchStatementCaseClause = 118,
121
- WhileStatement = 119,
122
- YieldStatement = 120,
123
- TranslationParameterList = 121,
124
- TranslationParameterClause = 122,
125
- ConstructorTranslation = 123,
126
- IndexerTranslationParameterClause = 124,
127
- IndexerTranslation = 125,
128
- TranslationTypeParameterList = 126,
129
- TranslationTypeParameterClause = 127,
130
- PackageMethodTranslation = 128,
131
- TypeMethodTranslation = 129,
132
- MethodTypeTranslation = 130,
133
- PackageImportTranslation = 131,
134
- QualifiedName = 132,
135
- PackageVariableTranslation = 133,
136
- TypeVariableOrVariantTranslation = 134,
137
- TypeMemberTranslationList = 135,
138
- TypeTranslation = 136,
139
- TextLiteralTranslation = 137,
140
- TextTemplateLiteralTranslation = 138,
141
- VariantDeclaration = 139,
142
- TypeParameterDeclaration = 140,
143
- ParameterDeclaration = 141,
144
- Argument = 142,
145
- TagList = 143,
146
- Tag = 144,
147
- ModifierList = 145,
148
- Modifier = 146,
149
- ParameterClause = 147,
150
- ParameterList = 148,
151
- TypeArgumentClause = 149,
152
- TypeArgumentList = 150,
153
- TypeParameterClause = 151,
154
- TypeParameterList = 152,
155
- TypeAnnotation = 153
96
+ FunctionBlock = 94,
97
+ BreakLoopStatement = 95,
98
+ ContinueLoopStatement = 96,
99
+ DisposeStatement = 97,
100
+ RunStatement = 98,
101
+ TryStatement = 99,
102
+ CatchClause = 100,
103
+ ErrorVariableDeclaration = 101,
104
+ FinallyClause = 102,
105
+ EmptyStatement = 103,
106
+ ErrorStatement = 104,
107
+ ImportantStatement = 105,
108
+ ExpressionStatement = 106,
109
+ EnumerationVariableList = 107,
110
+ ForStatement = 108,
111
+ IfStatement = 109,
112
+ ElseIfClauseList = 110,
113
+ ElseIfClause = 111,
114
+ ElseClause = 112,
115
+ InvalidStatement = 113,
116
+ NestedMethodDeclarationStatement = 114,
117
+ LocalVariableDeclarationStatement = 115,
118
+ LoopStatement = 116,
119
+ ReturnStatement = 117,
120
+ CaseClauseList = 118,
121
+ SwitchStatement = 119,
122
+ MatchExpressionList = 120,
123
+ CaseClause = 121,
124
+ WhileStatement = 122,
125
+ YieldStatement = 123,
126
+ TranslationParameterList = 124,
127
+ TranslationParameterClause = 125,
128
+ ConstructorTranslation = 126,
129
+ IndexerTranslationParameterClause = 127,
130
+ IndexerTranslation = 128,
131
+ TranslationTypeParameterList = 129,
132
+ TranslationTypeParameterClause = 130,
133
+ PackageMethodTranslation = 131,
134
+ TypeMethodTranslation = 132,
135
+ MethodTypeTranslation = 133,
136
+ PackageImportTranslation = 134,
137
+ QualifiedName = 135,
138
+ PackageVariableTranslation = 136,
139
+ TypeVariableOrVariantTranslation = 137,
140
+ TypeMemberTranslationList = 138,
141
+ TypeTranslation = 139,
142
+ TextLiteralTranslation = 140,
143
+ TextTemplateLiteralTranslation = 141,
144
+ VariantDeclaration = 142,
145
+ TypeParameterDeclaration = 143,
146
+ ParameterDeclaration = 144,
147
+ Argument = 145,
148
+ TagList = 146,
149
+ Tag = 147,
150
+ ModifierList = 148,
151
+ Modifier = 149,
152
+ ParameterClause = 150,
153
+ ParameterList = 151,
154
+ TypeArgumentClause = 152,
155
+ TypeArgumentList = 153,
156
+ TypeParameterClause = 154,
157
+ TypeParameterList = 155,
158
+ TypeAnnotation = 156
156
159
  }