Skip to content

Commit 935a2e6

Browse files
authored
refactor(kit): read JsxRuntimeOptions from 'parserServices.program' (#1026)
1 parent 4d7a218 commit 935a2e6

31 files changed

+72
-1848
lines changed

packages/utilities/kit/docs/-internal-/README.md

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
## Namespaces
1010

11-
- [CompilerOptions](namespaces/CompilerOptions/README.md)
1211
- [SourceCode](namespaces/SourceCode/README.md)
1312

1413
## Enumerations
@@ -196,12 +195,6 @@
196195
197196
***
198197

199-
### CommonJS
200-
201-
> **CommonJS**: `1`
202-
203-
***
204-
205198
### ConditionalExpression
206199

207200
> **ConditionalExpression**: `"ConditionalExpression"`
@@ -250,21 +243,21 @@
250243
251244
***
252245

253-
### ESNext
246+
### ExportAllDeclaration
254247

255-
> **ESNext**: `99`
248+
> **ExportAllDeclaration**: `"ExportAllDeclaration"`
256249
257250
***
258251

259-
### ExportAllDeclaration
252+
### ExpressionStatement
260253

261-
> **ExportAllDeclaration**: `"ExportAllDeclaration"`
254+
> **ExpressionStatement**: `"ExpressionStatement"`
262255
263256
***
264257

265258
### ExpressionStatement
266259

267-
> **ExpressionStatement**: `"ExpressionStatement"`
260+
> **ExpressionStatement**: `244`
268261
269262
***
270263

@@ -1720,7 +1713,6 @@
17201713
- [ClassLikeDeclaration](type-aliases/ClassLikeDeclaration.md)
17211714
- [ColonToken](type-aliases/ColonToken.md)
17221715
- [Comment](type-aliases/Comment.md)
1723-
- [CompilerOptions](type-aliases/CompilerOptions.md)
17241716
- [CompilerOptionsValue](type-aliases/CompilerOptionsValue.md)
17251717
- [CompoundAssignmentOperator](type-aliases/CompoundAssignmentOperator.md)
17261718
- [ConciseBody](type-aliases/ConciseBody.md)
@@ -1778,7 +1770,6 @@
17781770
- [JSDocNamespaceBody](type-aliases/JSDocNamespaceBody.md)
17791771
- [JSDocParsingMode](type-aliases/JSDocParsingMode.md)
17801772
- [JsonObjectExpression](type-aliases/JsonObjectExpression.md)
1781-
- [JSX](type-aliases/JSX.md)
17821773
- [JsxAttributeLike](type-aliases/JsxAttributeLike.md)
17831774
- [JsxAttributeName](type-aliases/JsxAttributeName.md)
17841775
- [JsxAttributeValue](type-aliases/JsxAttributeValue.md)

packages/utilities/kit/docs/-internal-/enumerations/ModuleKind.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
1515
***
1616

17+
### CommonJS
18+
19+
> **CommonJS**: `1`
20+
21+
***
22+
1723
### ES2015
1824

1925
> **ES2015**: `5`
@@ -32,6 +38,12 @@
3238
3339
***
3440

41+
### ESNext
42+
43+
> **ESNext**: `99`
44+
45+
***
46+
3547
### Node16
3648

3749
> **Node16**: `100`
@@ -71,15 +83,3 @@
7183
### UMD
7284

7385
> **UMD**: `3`
74-
75-
## References
76-
77-
### CommonJS
78-
79-
Re-exports [CommonJS](../README.md#commonjs)
80-
81-
***
82-
83-
### ESNext
84-
85-
Re-exports [ESNext](../README.md#esnext)

packages/utilities/kit/docs/-internal-/enumerations/SyntaxKind.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -608,12 +608,6 @@ Only the JSDoc scanner produces BacktickToken. The normal scanner produces NoSub
608608
609609
***
610610

611-
### ExpressionStatement
612-
613-
> **ExpressionStatement**: `244`
614-
615-
***
616-
617611
### ExpressionWithTypeArguments
618612

619613
> **ExpressionWithTypeArguments**: `233`
@@ -2368,6 +2362,12 @@ Re-exports [EndOfFileToken](../README.md#endoffiletoken)
23682362

23692363
***
23702364

2365+
### ExpressionStatement
2366+
2367+
Re-exports [ExpressionStatement](../README.md#expressionstatement-1)
2368+
2369+
***
2370+
23712371
### SourceFile
23722372

23732373
Re-exports [SourceFile](../README.md#sourcefile)

packages/utilities/kit/docs/-internal-/interfaces/ExpressionStatement-1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474

7575
### kind
7676

77-
> `readonly` **kind**: [`ExpressionStatement`](../enumerations/SyntaxKind.md#expressionstatement)
77+
> `readonly` **kind**: [`ExpressionStatement`](../README.md#expressionstatement-1)
7878
7979
#### Overrides
8080

packages/utilities/kit/docs/-internal-/interfaces/FlowContainer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
## Extended by
1414

15+
- [`ExpressionStatement`](ExpressionStatement-1.md)
1516
- [`Identifier`](Identifier-1.md)
1617
- [`ElementAccessExpression`](ElementAccessExpression.md)
1718
- [`PropertyAccessExpression`](PropertyAccessExpression.md)
@@ -22,7 +23,6 @@
2223
- [`ContinueStatement`](ContinueStatement-1.md)
2324
- [`DebuggerStatement`](DebuggerStatement-1.md)
2425
- [`DoStatement`](DoStatement.md)
25-
- [`ExpressionStatement`](ExpressionStatement-1.md)
2626
- [`ForInStatement`](ForInStatement-1.md)
2727
- [`ForOfStatement`](ForOfStatement-1.md)
2828
- [`ForStatement`](ForStatement-1.md)

packages/utilities/kit/docs/-internal-/interfaces/JsonObjectExpressionStatement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474

7575
### kind
7676

77-
> `readonly` **kind**: [`ExpressionStatement`](../enumerations/SyntaxKind.md#expressionstatement)
77+
> `readonly` **kind**: [`ExpressionStatement`](../README.md#expressionstatement-1)
7878
7979
#### Inherited from
8080

packages/utilities/kit/docs/-internal-/interfaces/Node.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212

1313
## Extended by
1414

15+
- [`Token`](Token.md)
1516
- [`Declaration`](Declaration.md)
1617
- [`LocalsContainer`](LocalsContainer.md)
1718
- [`Statement`](Statement.md)
18-
- [`Token`](Token.md)
1919
- [`Bundle`](Bundle.md)
2020
- [`TypeNode`](TypeNode.md)
2121
- [`Expression`](Expression.md)
@@ -37,8 +37,8 @@
3737
- [`ObjectBindingPattern`](ObjectBindingPattern.md)
3838
- [`TemplateSpan`](TemplateSpan.md)
3939
- [`VariableDeclarationList`](VariableDeclarationList.md)
40-
- [`JSDocContainer`](JSDocContainer.md)
4140
- [`FlowContainer`](FlowContainer.md)
41+
- [`JSDocContainer`](JSDocContainer.md)
4242
- [`ImportTypeAssertionContainer`](ImportTypeAssertionContainer.md)
4343
- [`JSDocTag`](JSDocTag.md)
4444
- [`LiteralLikeNode`](LiteralLikeNode.md)

packages/utilities/kit/docs/-internal-/interfaces/Statement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212

1313
## Extended by
1414

15+
- [`ExpressionStatement`](ExpressionStatement-1.md)
1516
- [`Block`](Block.md)
1617
- [`BreakStatement`](BreakStatement-1.md)
1718
- [`ContinueStatement`](ContinueStatement-1.md)
1819
- [`DebuggerStatement`](DebuggerStatement-1.md)
1920
- [`EmptyStatement`](EmptyStatement-1.md)
20-
- [`ExpressionStatement`](ExpressionStatement-1.md)
2121
- [`IfStatement`](IfStatement-1.md)
2222
- [`ImportDeclaration`](ImportDeclaration-1.md)
2323
- [`LabeledStatement`](LabeledStatement-1.md)

packages/utilities/kit/docs/-internal-/namespaces/CompilerOptions/README.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

packages/utilities/kit/docs/-internal-/namespaces/CompilerOptions/type-aliases/FallbackPolling.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)