@alloy-js/python 0.4.0-dev.2 → 0.4.0-dev.5
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/dist/dev/src/builtins/python.js +30 -0
- package/dist/dev/src/builtins/python.js.map +1 -0
- package/dist/dev/src/components/Atom.js +122 -0
- package/dist/dev/src/components/Atom.js.map +1 -0
- package/dist/dev/src/components/CallSignature.js +195 -0
- package/dist/dev/src/components/CallSignature.js.map +1 -0
- package/dist/dev/src/components/ClassDeclaration.js +112 -0
- package/dist/dev/src/components/ClassDeclaration.js.map +1 -0
- package/dist/dev/src/components/ClassInstantiation.js +40 -0
- package/dist/dev/src/components/ClassInstantiation.js.map +1 -0
- package/dist/dev/src/components/ClassMethodDeclaration.js +40 -0
- package/dist/dev/src/components/ClassMethodDeclaration.js.map +1 -0
- package/dist/dev/src/components/ConstructorDeclaration.js +39 -0
- package/dist/dev/src/components/ConstructorDeclaration.js.map +1 -0
- package/dist/dev/src/components/DataclassDeclaration.js +177 -0
- package/dist/dev/src/components/DataclassDeclaration.js.map +1 -0
- package/dist/dev/src/components/Declaration.js +31 -0
- package/dist/dev/src/components/Declaration.js.map +1 -0
- package/dist/dev/src/components/DunderMethodDeclaration.js +33 -0
- package/dist/dev/src/components/DunderMethodDeclaration.js.map +1 -0
- package/dist/dev/src/components/EnumDeclaration.js +259 -0
- package/dist/dev/src/components/EnumDeclaration.js.map +1 -0
- package/dist/dev/src/components/EnumMember.js +95 -0
- package/dist/dev/src/components/EnumMember.js.map +1 -0
- package/dist/dev/src/components/FunctionBase.js +130 -0
- package/dist/dev/src/components/FunctionBase.js.map +1 -0
- package/dist/dev/src/components/FunctionCallExpression.js +53 -0
- package/dist/dev/src/components/FunctionCallExpression.js.map +1 -0
- package/dist/dev/src/components/FunctionDeclaration.js +45 -0
- package/dist/dev/src/components/FunctionDeclaration.js.map +1 -0
- package/dist/dev/src/components/FutureStatement.js +31 -0
- package/dist/dev/src/components/FutureStatement.js.map +1 -0
- package/dist/dev/src/components/ImportStatement.js +167 -0
- package/dist/dev/src/components/ImportStatement.js.map +1 -0
- package/dist/dev/src/components/LexicalScope.js +26 -0
- package/dist/dev/src/components/LexicalScope.js.map +1 -0
- package/dist/dev/src/components/MemberExpression.js +290 -0
- package/dist/dev/src/components/MemberExpression.js.map +1 -0
- package/dist/dev/src/components/MemberScope.js +23 -0
- package/dist/dev/src/components/MemberScope.js.map +1 -0
- package/dist/dev/src/components/MethodBase.js +40 -0
- package/dist/dev/src/components/MethodBase.js.map +1 -0
- package/dist/dev/src/components/MethodDeclaration.js +38 -0
- package/dist/dev/src/components/MethodDeclaration.js.map +1 -0
- package/dist/dev/src/components/PropertyDeclaration.js +287 -0
- package/dist/dev/src/components/PropertyDeclaration.js.map +1 -0
- package/dist/dev/src/components/PyDoc.js +1478 -0
- package/dist/dev/src/components/PyDoc.js.map +1 -0
- package/dist/dev/src/components/PythonBlock.js +35 -0
- package/dist/dev/src/components/PythonBlock.js.map +1 -0
- package/dist/dev/src/components/Reference.js +23 -0
- package/dist/dev/src/components/Reference.js.map +1 -0
- package/dist/dev/src/components/SourceFile.js +385 -0
- package/dist/dev/src/components/SourceFile.js.map +1 -0
- package/dist/dev/src/components/StatementList.js +34 -0
- package/dist/dev/src/components/StatementList.js.map +1 -0
- package/dist/dev/src/components/StaticMethodDeclaration.js +40 -0
- package/dist/dev/src/components/StaticMethodDeclaration.js.map +1 -0
- package/dist/dev/src/components/TypeArguments.js +22 -0
- package/dist/dev/src/components/TypeArguments.js.map +1 -0
- package/dist/dev/src/components/TypeRefContext.js +33 -0
- package/dist/dev/src/components/TypeRefContext.js.map +1 -0
- package/dist/dev/src/components/TypeReference.js +67 -0
- package/dist/dev/src/components/TypeReference.js.map +1 -0
- package/dist/dev/src/components/UnionTypeExpression.js +57 -0
- package/dist/dev/src/components/UnionTypeExpression.js.map +1 -0
- package/dist/dev/src/components/VariableDeclaration.js +150 -0
- package/dist/dev/src/components/VariableDeclaration.js.map +1 -0
- package/dist/dev/src/components/index.js +32 -0
- package/dist/dev/src/components/index.js.map +1 -0
- package/dist/dev/src/context/index.js +2 -0
- package/dist/dev/src/context/index.js.map +1 -0
- package/dist/dev/src/context/type-ref-context.js +17 -0
- package/dist/dev/src/context/type-ref-context.js.map +1 -0
- package/dist/dev/src/create-module.js +64 -0
- package/dist/dev/src/create-module.js.map +1 -0
- package/dist/dev/src/index.js +8 -0
- package/dist/dev/src/index.js.map +1 -0
- package/dist/dev/src/name-conflict-resolver.js +8 -0
- package/dist/dev/src/name-conflict-resolver.js.map +1 -0
- package/dist/dev/src/name-policy.js +48 -0
- package/dist/dev/src/name-policy.js.map +1 -0
- package/dist/dev/src/parameter-descriptor.js +8 -0
- package/dist/dev/src/parameter-descriptor.js.map +1 -0
- package/dist/dev/src/symbol-creation.js +58 -0
- package/dist/dev/src/symbol-creation.js.map +1 -0
- package/dist/dev/src/symbols/factories.js +28 -0
- package/dist/dev/src/symbols/factories.js.map +1 -0
- package/dist/dev/src/symbols/index.js +8 -0
- package/dist/dev/src/symbols/index.js.map +1 -0
- package/dist/dev/src/symbols/python-lexical-scope.js +15 -0
- package/dist/dev/src/symbols/python-lexical-scope.js.map +1 -0
- package/dist/dev/src/symbols/python-member-scope.js +7 -0
- package/dist/dev/src/symbols/python-member-scope.js.map +1 -0
- package/dist/dev/src/symbols/python-module-scope.js +86 -0
- package/dist/dev/src/symbols/python-module-scope.js.map +1 -0
- package/dist/dev/src/symbols/python-output-symbol.js +73 -0
- package/dist/dev/src/symbols/python-output-symbol.js.map +1 -0
- package/dist/dev/src/symbols/reference.js +87 -0
- package/dist/dev/src/symbols/reference.js.map +1 -0
- package/dist/dev/src/symbols/scopes.js +13 -0
- package/dist/dev/src/symbols/scopes.js.map +1 -0
- package/dist/dev/src/utils.js +13 -0
- package/dist/dev/src/utils.js.map +1 -0
- package/dist/dev/test/callsignatures.test.js +482 -0
- package/dist/dev/test/callsignatures.test.js.map +1 -0
- package/dist/dev/test/class-method-declaration.test.js +85 -0
- package/dist/dev/test/class-method-declaration.test.js.map +1 -0
- package/dist/dev/test/classdeclarations.test.js +654 -0
- package/dist/dev/test/classdeclarations.test.js.map +1 -0
- package/dist/dev/test/classinstantiations.test.js +281 -0
- package/dist/dev/test/classinstantiations.test.js.map +1 -0
- package/dist/dev/test/constructordeclaration.test.js +86 -0
- package/dist/dev/test/constructordeclaration.test.js.map +1 -0
- package/dist/dev/test/dataclassdeclarations.test.js +1068 -0
- package/dist/dev/test/dataclassdeclarations.test.js.map +1 -0
- package/dist/dev/test/dundermethoddeclaration.test.js +93 -0
- package/dist/dev/test/dundermethoddeclaration.test.js.map +1 -0
- package/dist/dev/test/enums.test.js +263 -0
- package/dist/dev/test/enums.test.js.map +1 -0
- package/dist/dev/test/externals.test.js +307 -0
- package/dist/dev/test/externals.test.js.map +1 -0
- package/dist/dev/test/factories.test.js +122 -0
- package/dist/dev/test/factories.test.js.map +1 -0
- package/dist/dev/test/functioncallexpressions.test.js +257 -0
- package/dist/dev/test/functioncallexpressions.test.js.map +1 -0
- package/dist/dev/test/functiondeclaration.test.js +817 -0
- package/dist/dev/test/functiondeclaration.test.js.map +1 -0
- package/dist/dev/test/imports.test.js +372 -0
- package/dist/dev/test/imports.test.js.map +1 -0
- package/dist/dev/test/memberexpressions.test.js +1668 -0
- package/dist/dev/test/memberexpressions.test.js.map +1 -0
- package/dist/dev/test/methoddeclaration.test.js +344 -0
- package/dist/dev/test/methoddeclaration.test.js.map +1 -0
- package/dist/dev/test/namepolicies.test.js +154 -0
- package/dist/dev/test/namepolicies.test.js.map +1 -0
- package/dist/dev/test/propertydeclaration.test.js +354 -0
- package/dist/dev/test/propertydeclaration.test.js.map +1 -0
- package/dist/dev/test/pydocs.test.js +1675 -0
- package/dist/dev/test/pydocs.test.js.map +1 -0
- package/dist/dev/test/references.test.js +66 -0
- package/dist/dev/test/references.test.js.map +1 -0
- package/dist/dev/test/sourcefiles.test.js +1802 -0
- package/dist/dev/test/sourcefiles.test.js.map +1 -0
- package/dist/dev/test/staticmethoddeclaration.test.js +85 -0
- package/dist/dev/test/staticmethoddeclaration.test.js.map +1 -0
- package/dist/dev/test/type-checking-imports.test.js +617 -0
- package/dist/dev/test/type-checking-imports.test.js.map +1 -0
- package/dist/dev/test/typereference.test.js +79 -0
- package/dist/dev/test/typereference.test.js.map +1 -0
- package/dist/dev/test/uniontypeexpression.test.js +307 -0
- package/dist/dev/test/uniontypeexpression.test.js.map +1 -0
- package/dist/dev/test/utils.js +100 -0
- package/dist/dev/test/utils.js.map +1 -0
- package/dist/dev/test/values.test.js +182 -0
- package/dist/dev/test/values.test.js.map +1 -0
- package/dist/dev/test/variables.test.js +363 -0
- package/dist/dev/test/variables.test.js.map +1 -0
- package/dist/src/components/CallSignature.d.ts.map +1 -1
- package/dist/src/components/CallSignature.js +12 -3
- package/dist/src/components/CallSignature.js.map +1 -1
- package/dist/src/components/ImportStatement.d.ts +12 -0
- package/dist/src/components/ImportStatement.d.ts.map +1 -1
- package/dist/src/components/ImportStatement.js +47 -5
- package/dist/src/components/ImportStatement.js.map +1 -1
- package/dist/src/components/MemberExpression.d.ts +1 -1
- package/dist/src/components/MemberExpression.d.ts.map +1 -1
- package/dist/src/components/MemberExpression.js +98 -180
- package/dist/src/components/MemberExpression.js.map +1 -1
- package/dist/src/components/Reference.d.ts.map +1 -1
- package/dist/src/components/Reference.js +5 -1
- package/dist/src/components/Reference.js.map +1 -1
- package/dist/src/components/SourceFile.d.ts +1 -1
- package/dist/src/components/SourceFile.d.ts.map +1 -1
- package/dist/src/components/SourceFile.js +46 -7
- package/dist/src/components/SourceFile.js.map +1 -1
- package/dist/src/components/TypeRefContext.d.ts +26 -0
- package/dist/src/components/TypeRefContext.d.ts.map +1 -0
- package/dist/src/components/TypeRefContext.js +29 -0
- package/dist/src/components/TypeRefContext.js.map +1 -0
- package/dist/src/components/TypeReference.d.ts +5 -0
- package/dist/src/components/TypeReference.d.ts.map +1 -1
- package/dist/src/components/TypeReference.js +19 -9
- package/dist/src/components/TypeReference.js.map +1 -1
- package/dist/src/components/VariableDeclaration.d.ts.map +1 -1
- package/dist/src/components/VariableDeclaration.js +7 -2
- package/dist/src/components/VariableDeclaration.js.map +1 -1
- package/dist/src/components/index.d.ts +1 -1
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/components/index.js +1 -1
- package/dist/src/components/index.js.map +1 -1
- package/dist/src/context/index.d.ts +2 -0
- package/dist/src/context/index.d.ts.map +1 -0
- package/dist/src/context/index.js +2 -0
- package/dist/src/context/index.js.map +1 -0
- package/dist/src/context/type-ref-context.d.ts +13 -0
- package/dist/src/context/type-ref-context.d.ts.map +1 -0
- package/dist/src/context/type-ref-context.js +17 -0
- package/dist/src/context/type-ref-context.js.map +1 -0
- package/dist/src/symbols/python-module-scope.d.ts +13 -1
- package/dist/src/symbols/python-module-scope.d.ts.map +1 -1
- package/dist/src/symbols/python-module-scope.js +36 -2
- package/dist/src/symbols/python-module-scope.js.map +1 -1
- package/dist/src/symbols/python-output-symbol.d.ts +11 -0
- package/dist/src/symbols/python-output-symbol.d.ts.map +1 -1
- package/dist/src/symbols/python-output-symbol.js +26 -2
- package/dist/src/symbols/python-output-symbol.js.map +1 -1
- package/dist/src/symbols/reference.d.ts +8 -1
- package/dist/src/symbols/reference.d.ts.map +1 -1
- package/dist/src/symbols/reference.js +4 -2
- package/dist/src/symbols/reference.js.map +1 -1
- package/dist/test/dataclassdeclarations.test.js +5 -2
- package/dist/test/dataclassdeclarations.test.js.map +1 -1
- package/dist/test/externals.test.js +8 -2
- package/dist/test/externals.test.js.map +1 -1
- package/dist/test/functiondeclaration.test.js +6 -3
- package/dist/test/functiondeclaration.test.js.map +1 -1
- package/dist/test/imports.test.js +3 -3
- package/dist/test/imports.test.js.map +1 -1
- package/dist/test/references.test.js +1 -1
- package/dist/test/references.test.js.map +1 -1
- package/dist/test/sourcefiles.test.js +26 -26
- package/dist/test/sourcefiles.test.js.map +1 -1
- package/dist/test/type-checking-imports.test.d.ts +2 -0
- package/dist/test/type-checking-imports.test.d.ts.map +1 -0
- package/dist/test/type-checking-imports.test.js +437 -0
- package/dist/test/type-checking-imports.test.js.map +1 -0
- package/dist/test/uniontypeexpression.test.js +4 -1
- package/dist/test/uniontypeexpression.test.js.map +1 -1
- package/dist/test/variables.test.js +4 -1
- package/dist/test/variables.test.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -4
- package/src/components/CallSignature.tsx +6 -2
- package/src/components/ImportStatement.tsx +52 -5
- package/src/components/MemberExpression.tsx +174 -298
- package/src/components/Reference.tsx +3 -1
- package/src/components/SourceFile.tsx +44 -8
- package/src/components/TypeRefContext.tsx +36 -0
- package/src/components/TypeReference.tsx +15 -7
- package/src/components/VariableDeclaration.tsx +5 -1
- package/src/components/index.ts +1 -1
- package/src/context/index.ts +1 -0
- package/src/context/type-ref-context.tsx +16 -0
- package/src/symbols/python-module-scope.ts +55 -2
- package/src/symbols/python-output-symbol.ts +32 -1
- package/src/symbols/reference.tsx +10 -0
- package/temp/api.json +443 -338
- package/test/dataclassdeclarations.test.tsx +8 -2
- package/test/externals.test.tsx +8 -2
- package/test/functiondeclaration.test.tsx +6 -3
- package/test/imports.test.tsx +6 -6
- package/test/references.test.tsx +1 -1
- package/test/sourcefiles.test.tsx +13 -13
- package/test/type-checking-imports.test.tsx +363 -0
- package/test/uniontypeexpression.test.tsx +4 -1
- package/test/variables.test.tsx +4 -1
- package/vitest.config.ts +8 -0
package/temp/api.json
CHANGED
|
@@ -209,6 +209,51 @@
|
|
|
209
209
|
"endIndex": 5
|
|
210
210
|
}
|
|
211
211
|
},
|
|
212
|
+
{
|
|
213
|
+
"kind": "Interface",
|
|
214
|
+
"canonicalReference": "@alloy-js/python!AddImportOptions:interface",
|
|
215
|
+
"docComment": "",
|
|
216
|
+
"excerptTokens": [
|
|
217
|
+
{
|
|
218
|
+
"kind": "Content",
|
|
219
|
+
"text": "export interface AddImportOptions "
|
|
220
|
+
}
|
|
221
|
+
],
|
|
222
|
+
"fileUrlPath": "src/symbols/python-module-scope.ts",
|
|
223
|
+
"releaseTag": "Public",
|
|
224
|
+
"name": "AddImportOptions",
|
|
225
|
+
"preserveMemberOrder": false,
|
|
226
|
+
"members": [
|
|
227
|
+
{
|
|
228
|
+
"kind": "PropertySignature",
|
|
229
|
+
"canonicalReference": "@alloy-js/python!AddImportOptions#type:member",
|
|
230
|
+
"docComment": "/**\n * If true, this import is only used in type annotation contexts.\n * Such imports will be guarded with `if TYPE_CHECKING:`.\n */\n",
|
|
231
|
+
"excerptTokens": [
|
|
232
|
+
{
|
|
233
|
+
"kind": "Content",
|
|
234
|
+
"text": "type?: "
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"kind": "Content",
|
|
238
|
+
"text": "boolean"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"kind": "Content",
|
|
242
|
+
"text": ";"
|
|
243
|
+
}
|
|
244
|
+
],
|
|
245
|
+
"isReadonly": false,
|
|
246
|
+
"isOptional": true,
|
|
247
|
+
"releaseTag": "Public",
|
|
248
|
+
"name": "type",
|
|
249
|
+
"propertyTypeTokenRange": {
|
|
250
|
+
"startIndex": 1,
|
|
251
|
+
"endIndex": 2
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
],
|
|
255
|
+
"extendsTokenRanges": []
|
|
256
|
+
},
|
|
212
257
|
{
|
|
213
258
|
"kind": "Function",
|
|
214
259
|
"canonicalReference": "@alloy-js/python!Atom:function(1)",
|
|
@@ -5283,32 +5328,33 @@
|
|
|
5283
5328
|
},
|
|
5284
5329
|
{
|
|
5285
5330
|
"kind": "Function",
|
|
5286
|
-
"canonicalReference": "@alloy-js/python!
|
|
5287
|
-
"docComment": "/**\n *
|
|
5331
|
+
"canonicalReference": "@alloy-js/python!InlineDoc:function(1)",
|
|
5332
|
+
"docComment": "/**\n * An inline documentation component for attribute docstrings.\n * Unlike PyDoc, this doesn't add a trailing line break after the closing quotes,\n * which is appropriate for documenting consecutive attributes like enum members.\n */\n",
|
|
5288
5333
|
"excerptTokens": [
|
|
5289
5334
|
{
|
|
5290
5335
|
"kind": "Content",
|
|
5291
|
-
"text": "export declare function
|
|
5336
|
+
"text": "export declare function InlineDoc(props: "
|
|
5292
5337
|
},
|
|
5293
5338
|
{
|
|
5294
5339
|
"kind": "Reference",
|
|
5295
|
-
"text": "
|
|
5296
|
-
"canonicalReference": "@alloy-js/python!
|
|
5340
|
+
"text": "InlineDocProps",
|
|
5341
|
+
"canonicalReference": "@alloy-js/python!InlineDocProps:interface"
|
|
5297
5342
|
},
|
|
5298
5343
|
{
|
|
5299
5344
|
"kind": "Content",
|
|
5300
5345
|
"text": "): "
|
|
5301
5346
|
},
|
|
5302
5347
|
{
|
|
5303
|
-
"kind": "
|
|
5304
|
-
"text": "
|
|
5348
|
+
"kind": "Reference",
|
|
5349
|
+
"text": "Children",
|
|
5350
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
5305
5351
|
},
|
|
5306
5352
|
{
|
|
5307
5353
|
"kind": "Content",
|
|
5308
5354
|
"text": ";"
|
|
5309
5355
|
}
|
|
5310
5356
|
],
|
|
5311
|
-
"fileUrlPath": "src/components/
|
|
5357
|
+
"fileUrlPath": "src/components/PyDoc.tsx",
|
|
5312
5358
|
"returnTypeTokenRange": {
|
|
5313
5359
|
"startIndex": 3,
|
|
5314
5360
|
"endIndex": 4
|
|
@@ -5325,35 +5371,36 @@
|
|
|
5325
5371
|
"isOptional": false
|
|
5326
5372
|
}
|
|
5327
5373
|
],
|
|
5328
|
-
"name": "
|
|
5374
|
+
"name": "InlineDoc"
|
|
5329
5375
|
},
|
|
5330
5376
|
{
|
|
5331
5377
|
"kind": "Interface",
|
|
5332
|
-
"canonicalReference": "@alloy-js/python!
|
|
5378
|
+
"canonicalReference": "@alloy-js/python!InlineDocProps:interface",
|
|
5333
5379
|
"docComment": "",
|
|
5334
5380
|
"excerptTokens": [
|
|
5335
5381
|
{
|
|
5336
5382
|
"kind": "Content",
|
|
5337
|
-
"text": "export interface
|
|
5383
|
+
"text": "export interface InlineDocProps "
|
|
5338
5384
|
}
|
|
5339
5385
|
],
|
|
5340
|
-
"fileUrlPath": "src/components/
|
|
5386
|
+
"fileUrlPath": "src/components/PyDoc.tsx",
|
|
5341
5387
|
"releaseTag": "Public",
|
|
5342
|
-
"name": "
|
|
5388
|
+
"name": "InlineDocProps",
|
|
5343
5389
|
"preserveMemberOrder": false,
|
|
5344
5390
|
"members": [
|
|
5345
5391
|
{
|
|
5346
5392
|
"kind": "PropertySignature",
|
|
5347
|
-
"canonicalReference": "@alloy-js/python!
|
|
5393
|
+
"canonicalReference": "@alloy-js/python!InlineDocProps#children:member",
|
|
5348
5394
|
"docComment": "",
|
|
5349
5395
|
"excerptTokens": [
|
|
5350
5396
|
{
|
|
5351
5397
|
"kind": "Content",
|
|
5352
|
-
"text": "
|
|
5398
|
+
"text": "children: "
|
|
5353
5399
|
},
|
|
5354
5400
|
{
|
|
5355
|
-
"kind": "
|
|
5356
|
-
"text": "
|
|
5401
|
+
"kind": "Reference",
|
|
5402
|
+
"text": "Children",
|
|
5403
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
5357
5404
|
},
|
|
5358
5405
|
{
|
|
5359
5406
|
"kind": "Content",
|
|
@@ -5363,93 +5410,52 @@
|
|
|
5363
5410
|
"isReadonly": false,
|
|
5364
5411
|
"isOptional": false,
|
|
5365
5412
|
"releaseTag": "Public",
|
|
5366
|
-
"name": "
|
|
5413
|
+
"name": "children",
|
|
5367
5414
|
"propertyTypeTokenRange": {
|
|
5368
5415
|
"startIndex": 1,
|
|
5369
5416
|
"endIndex": 2
|
|
5370
5417
|
}
|
|
5371
|
-
},
|
|
5372
|
-
{
|
|
5373
|
-
"kind": "PropertySignature",
|
|
5374
|
-
"canonicalReference": "@alloy-js/python!ImportStatementProps#symbols:member",
|
|
5375
|
-
"docComment": "",
|
|
5376
|
-
"excerptTokens": [
|
|
5377
|
-
{
|
|
5378
|
-
"kind": "Content",
|
|
5379
|
-
"text": "symbols?: "
|
|
5380
|
-
},
|
|
5381
|
-
{
|
|
5382
|
-
"kind": "Reference",
|
|
5383
|
-
"text": "Set",
|
|
5384
|
-
"canonicalReference": "!Set:interface"
|
|
5385
|
-
},
|
|
5386
|
-
{
|
|
5387
|
-
"kind": "Content",
|
|
5388
|
-
"text": "<"
|
|
5389
|
-
},
|
|
5390
|
-
{
|
|
5391
|
-
"kind": "Reference",
|
|
5392
|
-
"text": "ImportedSymbol",
|
|
5393
|
-
"canonicalReference": "@alloy-js/python!ImportedSymbol:class"
|
|
5394
|
-
},
|
|
5395
|
-
{
|
|
5396
|
-
"kind": "Content",
|
|
5397
|
-
"text": ">"
|
|
5398
|
-
},
|
|
5399
|
-
{
|
|
5400
|
-
"kind": "Content",
|
|
5401
|
-
"text": ";"
|
|
5402
|
-
}
|
|
5403
|
-
],
|
|
5404
|
-
"isReadonly": false,
|
|
5405
|
-
"isOptional": true,
|
|
5406
|
-
"releaseTag": "Public",
|
|
5407
|
-
"name": "symbols",
|
|
5408
|
-
"propertyTypeTokenRange": {
|
|
5409
|
-
"startIndex": 1,
|
|
5410
|
-
"endIndex": 5
|
|
5411
|
-
}
|
|
5412
5418
|
}
|
|
5413
5419
|
],
|
|
5414
5420
|
"extendsTokenRanges": []
|
|
5415
5421
|
},
|
|
5416
5422
|
{
|
|
5417
5423
|
"kind": "Function",
|
|
5418
|
-
"canonicalReference": "@alloy-js/python!
|
|
5419
|
-
"docComment": "
|
|
5424
|
+
"canonicalReference": "@alloy-js/python!isParameterDescriptor:function(1)",
|
|
5425
|
+
"docComment": "",
|
|
5420
5426
|
"excerptTokens": [
|
|
5421
5427
|
{
|
|
5422
5428
|
"kind": "Content",
|
|
5423
|
-
"text": "export declare function
|
|
5424
|
-
},
|
|
5425
|
-
{
|
|
5426
|
-
"kind": "Reference",
|
|
5427
|
-
"text": "ImportStatementsProps",
|
|
5428
|
-
"canonicalReference": "@alloy-js/python!ImportStatementsProps:interface"
|
|
5429
|
+
"text": "export declare function isParameterDescriptor(param: "
|
|
5429
5430
|
},
|
|
5430
5431
|
{
|
|
5431
5432
|
"kind": "Content",
|
|
5432
|
-
"text": "
|
|
5433
|
+
"text": "unknown"
|
|
5433
5434
|
},
|
|
5434
5435
|
{
|
|
5435
5436
|
"kind": "Content",
|
|
5436
|
-
"text": "
|
|
5437
|
+
"text": "): "
|
|
5437
5438
|
},
|
|
5438
5439
|
{
|
|
5439
5440
|
"kind": "Reference",
|
|
5440
|
-
"text": "
|
|
5441
|
-
"canonicalReference": "@alloy-js/
|
|
5441
|
+
"text": "param",
|
|
5442
|
+
"canonicalReference": "@alloy-js/python!~param"
|
|
5442
5443
|
},
|
|
5443
5444
|
{
|
|
5444
5445
|
"kind": "Content",
|
|
5445
|
-
"text": "
|
|
5446
|
+
"text": " is "
|
|
5447
|
+
},
|
|
5448
|
+
{
|
|
5449
|
+
"kind": "Reference",
|
|
5450
|
+
"text": "ParameterDescriptor",
|
|
5451
|
+
"canonicalReference": "@alloy-js/python!ParameterDescriptor:interface"
|
|
5446
5452
|
},
|
|
5447
5453
|
{
|
|
5448
5454
|
"kind": "Content",
|
|
5449
5455
|
"text": ";"
|
|
5450
5456
|
}
|
|
5451
5457
|
],
|
|
5452
|
-
"fileUrlPath": "src/
|
|
5458
|
+
"fileUrlPath": "src/parameter-descriptor.ts",
|
|
5453
5459
|
"returnTypeTokenRange": {
|
|
5454
5460
|
"startIndex": 3,
|
|
5455
5461
|
"endIndex": 6
|
|
@@ -5458,7 +5464,7 @@
|
|
|
5458
5464
|
"overloadIndex": 1,
|
|
5459
5465
|
"parameters": [
|
|
5460
5466
|
{
|
|
5461
|
-
"parameterName": "
|
|
5467
|
+
"parameterName": "param",
|
|
5462
5468
|
"parameterTypeTokenRange": {
|
|
5463
5469
|
"startIndex": 1,
|
|
5464
5470
|
"endIndex": 2
|
|
@@ -5466,99 +5472,89 @@
|
|
|
5466
5472
|
"isOptional": false
|
|
5467
5473
|
}
|
|
5468
5474
|
],
|
|
5469
|
-
"name": "
|
|
5475
|
+
"name": "isParameterDescriptor"
|
|
5470
5476
|
},
|
|
5471
5477
|
{
|
|
5472
|
-
"kind": "
|
|
5473
|
-
"canonicalReference": "@alloy-js/python!
|
|
5474
|
-
"docComment": "",
|
|
5478
|
+
"kind": "Function",
|
|
5479
|
+
"canonicalReference": "@alloy-js/python!isTypeRefContext:function(1)",
|
|
5480
|
+
"docComment": "/**\n * @returns 'true' if in a type context, 'false' if in a value context.\n */\n",
|
|
5475
5481
|
"excerptTokens": [
|
|
5476
5482
|
{
|
|
5477
5483
|
"kind": "Content",
|
|
5478
|
-
"text": "export
|
|
5484
|
+
"text": "export declare function isTypeRefContext(): "
|
|
5485
|
+
},
|
|
5486
|
+
{
|
|
5487
|
+
"kind": "Content",
|
|
5488
|
+
"text": "boolean"
|
|
5489
|
+
},
|
|
5490
|
+
{
|
|
5491
|
+
"kind": "Content",
|
|
5492
|
+
"text": ";"
|
|
5479
5493
|
}
|
|
5480
5494
|
],
|
|
5481
|
-
"fileUrlPath": "src/
|
|
5495
|
+
"fileUrlPath": "src/context/type-ref-context.tsx",
|
|
5496
|
+
"returnTypeTokenRange": {
|
|
5497
|
+
"startIndex": 1,
|
|
5498
|
+
"endIndex": 2
|
|
5499
|
+
},
|
|
5482
5500
|
"releaseTag": "Public",
|
|
5483
|
-
"
|
|
5484
|
-
"
|
|
5485
|
-
"
|
|
5501
|
+
"overloadIndex": 1,
|
|
5502
|
+
"parameters": [],
|
|
5503
|
+
"name": "isTypeRefContext"
|
|
5504
|
+
},
|
|
5505
|
+
{
|
|
5506
|
+
"kind": "Interface",
|
|
5507
|
+
"canonicalReference": "@alloy-js/python!LeixcalScopePropsWithScopeInfo:interface",
|
|
5508
|
+
"docComment": "",
|
|
5509
|
+
"excerptTokens": [
|
|
5486
5510
|
{
|
|
5487
|
-
"kind": "
|
|
5488
|
-
"
|
|
5489
|
-
"docComment": "",
|
|
5490
|
-
"excerptTokens": [
|
|
5491
|
-
{
|
|
5492
|
-
"kind": "Content",
|
|
5493
|
-
"text": "joinImportsFromSameModule?: "
|
|
5494
|
-
},
|
|
5495
|
-
{
|
|
5496
|
-
"kind": "Content",
|
|
5497
|
-
"text": "boolean"
|
|
5498
|
-
},
|
|
5499
|
-
{
|
|
5500
|
-
"kind": "Content",
|
|
5501
|
-
"text": ";"
|
|
5502
|
-
}
|
|
5503
|
-
],
|
|
5504
|
-
"isReadonly": false,
|
|
5505
|
-
"isOptional": true,
|
|
5506
|
-
"releaseTag": "Public",
|
|
5507
|
-
"name": "joinImportsFromSameModule",
|
|
5508
|
-
"propertyTypeTokenRange": {
|
|
5509
|
-
"startIndex": 1,
|
|
5510
|
-
"endIndex": 2
|
|
5511
|
-
}
|
|
5511
|
+
"kind": "Content",
|
|
5512
|
+
"text": "export interface LeixcalScopePropsWithScopeInfo extends "
|
|
5512
5513
|
},
|
|
5513
5514
|
{
|
|
5514
|
-
"kind": "
|
|
5515
|
-
"
|
|
5516
|
-
"
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
},
|
|
5522
|
-
{
|
|
5523
|
-
"kind": "Reference",
|
|
5524
|
-
"text": "ImportRecords",
|
|
5525
|
-
"canonicalReference": "@alloy-js/python!ImportRecords:class"
|
|
5526
|
-
},
|
|
5527
|
-
{
|
|
5528
|
-
"kind": "Content",
|
|
5529
|
-
"text": ";"
|
|
5530
|
-
}
|
|
5531
|
-
],
|
|
5532
|
-
"isReadonly": false,
|
|
5533
|
-
"isOptional": false,
|
|
5534
|
-
"releaseTag": "Public",
|
|
5535
|
-
"name": "records",
|
|
5536
|
-
"propertyTypeTokenRange": {
|
|
5537
|
-
"startIndex": 1,
|
|
5538
|
-
"endIndex": 2
|
|
5539
|
-
}
|
|
5515
|
+
"kind": "Reference",
|
|
5516
|
+
"text": "ScopePropsWithInfo",
|
|
5517
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithInfo:interface"
|
|
5518
|
+
},
|
|
5519
|
+
{
|
|
5520
|
+
"kind": "Content",
|
|
5521
|
+
"text": " "
|
|
5540
5522
|
}
|
|
5541
5523
|
],
|
|
5542
|
-
"
|
|
5524
|
+
"fileUrlPath": "src/components/LexicalScope.tsx",
|
|
5525
|
+
"releaseTag": "Public",
|
|
5526
|
+
"name": "LeixcalScopePropsWithScopeInfo",
|
|
5527
|
+
"preserveMemberOrder": false,
|
|
5528
|
+
"members": [],
|
|
5529
|
+
"extendsTokenRanges": [
|
|
5530
|
+
{
|
|
5531
|
+
"startIndex": 1,
|
|
5532
|
+
"endIndex": 2
|
|
5533
|
+
}
|
|
5534
|
+
]
|
|
5543
5535
|
},
|
|
5544
5536
|
{
|
|
5545
5537
|
"kind": "Function",
|
|
5546
|
-
"canonicalReference": "@alloy-js/python!
|
|
5547
|
-
"docComment": "
|
|
5538
|
+
"canonicalReference": "@alloy-js/python!LexicalScope:function(1)",
|
|
5539
|
+
"docComment": "",
|
|
5548
5540
|
"excerptTokens": [
|
|
5549
5541
|
{
|
|
5550
5542
|
"kind": "Content",
|
|
5551
|
-
"text": "export declare function
|
|
5543
|
+
"text": "export declare function LexicalScope(props: "
|
|
5552
5544
|
},
|
|
5553
5545
|
{
|
|
5554
5546
|
"kind": "Reference",
|
|
5555
|
-
"text": "
|
|
5556
|
-
"canonicalReference": "@alloy-js/python!
|
|
5547
|
+
"text": "LexicalScopeProps",
|
|
5548
|
+
"canonicalReference": "@alloy-js/python!LexicalScopeProps:type"
|
|
5557
5549
|
},
|
|
5558
5550
|
{
|
|
5559
5551
|
"kind": "Content",
|
|
5560
5552
|
"text": "): "
|
|
5561
5553
|
},
|
|
5554
|
+
{
|
|
5555
|
+
"kind": "Content",
|
|
5556
|
+
"text": "import(\"@alloy-js/core\")."
|
|
5557
|
+
},
|
|
5562
5558
|
{
|
|
5563
5559
|
"kind": "Reference",
|
|
5564
5560
|
"text": "Children",
|
|
@@ -5569,10 +5565,10 @@
|
|
|
5569
5565
|
"text": ";"
|
|
5570
5566
|
}
|
|
5571
5567
|
],
|
|
5572
|
-
"fileUrlPath": "src/components/
|
|
5568
|
+
"fileUrlPath": "src/components/LexicalScope.tsx",
|
|
5573
5569
|
"returnTypeTokenRange": {
|
|
5574
5570
|
"startIndex": 3,
|
|
5575
|
-
"endIndex":
|
|
5571
|
+
"endIndex": 5
|
|
5576
5572
|
},
|
|
5577
5573
|
"releaseTag": "Public",
|
|
5578
5574
|
"overloadIndex": 1,
|
|
@@ -5586,200 +5582,17 @@
|
|
|
5586
5582
|
"isOptional": false
|
|
5587
5583
|
}
|
|
5588
5584
|
],
|
|
5589
|
-
"name": "
|
|
5585
|
+
"name": "LexicalScope"
|
|
5590
5586
|
},
|
|
5591
5587
|
{
|
|
5592
|
-
"kind": "
|
|
5593
|
-
"canonicalReference": "@alloy-js/python!
|
|
5588
|
+
"kind": "TypeAlias",
|
|
5589
|
+
"canonicalReference": "@alloy-js/python!LexicalScopeProps:type",
|
|
5594
5590
|
"docComment": "",
|
|
5595
5591
|
"excerptTokens": [
|
|
5596
5592
|
{
|
|
5597
5593
|
"kind": "Content",
|
|
5598
|
-
"text": "export
|
|
5599
|
-
}
|
|
5600
|
-
],
|
|
5601
|
-
"fileUrlPath": "src/components/PyDoc.tsx",
|
|
5602
|
-
"releaseTag": "Public",
|
|
5603
|
-
"name": "InlineDocProps",
|
|
5604
|
-
"preserveMemberOrder": false,
|
|
5605
|
-
"members": [
|
|
5606
|
-
{
|
|
5607
|
-
"kind": "PropertySignature",
|
|
5608
|
-
"canonicalReference": "@alloy-js/python!InlineDocProps#children:member",
|
|
5609
|
-
"docComment": "",
|
|
5610
|
-
"excerptTokens": [
|
|
5611
|
-
{
|
|
5612
|
-
"kind": "Content",
|
|
5613
|
-
"text": "children: "
|
|
5614
|
-
},
|
|
5615
|
-
{
|
|
5616
|
-
"kind": "Reference",
|
|
5617
|
-
"text": "Children",
|
|
5618
|
-
"canonicalReference": "@alloy-js/core!Children:type"
|
|
5619
|
-
},
|
|
5620
|
-
{
|
|
5621
|
-
"kind": "Content",
|
|
5622
|
-
"text": ";"
|
|
5623
|
-
}
|
|
5624
|
-
],
|
|
5625
|
-
"isReadonly": false,
|
|
5626
|
-
"isOptional": false,
|
|
5627
|
-
"releaseTag": "Public",
|
|
5628
|
-
"name": "children",
|
|
5629
|
-
"propertyTypeTokenRange": {
|
|
5630
|
-
"startIndex": 1,
|
|
5631
|
-
"endIndex": 2
|
|
5632
|
-
}
|
|
5633
|
-
}
|
|
5634
|
-
],
|
|
5635
|
-
"extendsTokenRanges": []
|
|
5636
|
-
},
|
|
5637
|
-
{
|
|
5638
|
-
"kind": "Function",
|
|
5639
|
-
"canonicalReference": "@alloy-js/python!isParameterDescriptor:function(1)",
|
|
5640
|
-
"docComment": "",
|
|
5641
|
-
"excerptTokens": [
|
|
5642
|
-
{
|
|
5643
|
-
"kind": "Content",
|
|
5644
|
-
"text": "export declare function isParameterDescriptor(param: "
|
|
5645
|
-
},
|
|
5646
|
-
{
|
|
5647
|
-
"kind": "Content",
|
|
5648
|
-
"text": "unknown"
|
|
5649
|
-
},
|
|
5650
|
-
{
|
|
5651
|
-
"kind": "Content",
|
|
5652
|
-
"text": "): "
|
|
5653
|
-
},
|
|
5654
|
-
{
|
|
5655
|
-
"kind": "Reference",
|
|
5656
|
-
"text": "param",
|
|
5657
|
-
"canonicalReference": "@alloy-js/python!~param"
|
|
5658
|
-
},
|
|
5659
|
-
{
|
|
5660
|
-
"kind": "Content",
|
|
5661
|
-
"text": " is "
|
|
5662
|
-
},
|
|
5663
|
-
{
|
|
5664
|
-
"kind": "Reference",
|
|
5665
|
-
"text": "ParameterDescriptor",
|
|
5666
|
-
"canonicalReference": "@alloy-js/python!ParameterDescriptor:interface"
|
|
5667
|
-
},
|
|
5668
|
-
{
|
|
5669
|
-
"kind": "Content",
|
|
5670
|
-
"text": ";"
|
|
5671
|
-
}
|
|
5672
|
-
],
|
|
5673
|
-
"fileUrlPath": "src/parameter-descriptor.ts",
|
|
5674
|
-
"returnTypeTokenRange": {
|
|
5675
|
-
"startIndex": 3,
|
|
5676
|
-
"endIndex": 6
|
|
5677
|
-
},
|
|
5678
|
-
"releaseTag": "Public",
|
|
5679
|
-
"overloadIndex": 1,
|
|
5680
|
-
"parameters": [
|
|
5681
|
-
{
|
|
5682
|
-
"parameterName": "param",
|
|
5683
|
-
"parameterTypeTokenRange": {
|
|
5684
|
-
"startIndex": 1,
|
|
5685
|
-
"endIndex": 2
|
|
5686
|
-
},
|
|
5687
|
-
"isOptional": false
|
|
5688
|
-
}
|
|
5689
|
-
],
|
|
5690
|
-
"name": "isParameterDescriptor"
|
|
5691
|
-
},
|
|
5692
|
-
{
|
|
5693
|
-
"kind": "Interface",
|
|
5694
|
-
"canonicalReference": "@alloy-js/python!LeixcalScopePropsWithScopeInfo:interface",
|
|
5695
|
-
"docComment": "",
|
|
5696
|
-
"excerptTokens": [
|
|
5697
|
-
{
|
|
5698
|
-
"kind": "Content",
|
|
5699
|
-
"text": "export interface LeixcalScopePropsWithScopeInfo extends "
|
|
5700
|
-
},
|
|
5701
|
-
{
|
|
5702
|
-
"kind": "Reference",
|
|
5703
|
-
"text": "ScopePropsWithInfo",
|
|
5704
|
-
"canonicalReference": "@alloy-js/core!ScopePropsWithInfo:interface"
|
|
5705
|
-
},
|
|
5706
|
-
{
|
|
5707
|
-
"kind": "Content",
|
|
5708
|
-
"text": " "
|
|
5709
|
-
}
|
|
5710
|
-
],
|
|
5711
|
-
"fileUrlPath": "src/components/LexicalScope.tsx",
|
|
5712
|
-
"releaseTag": "Public",
|
|
5713
|
-
"name": "LeixcalScopePropsWithScopeInfo",
|
|
5714
|
-
"preserveMemberOrder": false,
|
|
5715
|
-
"members": [],
|
|
5716
|
-
"extendsTokenRanges": [
|
|
5717
|
-
{
|
|
5718
|
-
"startIndex": 1,
|
|
5719
|
-
"endIndex": 2
|
|
5720
|
-
}
|
|
5721
|
-
]
|
|
5722
|
-
},
|
|
5723
|
-
{
|
|
5724
|
-
"kind": "Function",
|
|
5725
|
-
"canonicalReference": "@alloy-js/python!LexicalScope:function(1)",
|
|
5726
|
-
"docComment": "",
|
|
5727
|
-
"excerptTokens": [
|
|
5728
|
-
{
|
|
5729
|
-
"kind": "Content",
|
|
5730
|
-
"text": "export declare function LexicalScope(props: "
|
|
5731
|
-
},
|
|
5732
|
-
{
|
|
5733
|
-
"kind": "Reference",
|
|
5734
|
-
"text": "LexicalScopeProps",
|
|
5735
|
-
"canonicalReference": "@alloy-js/python!LexicalScopeProps:type"
|
|
5736
|
-
},
|
|
5737
|
-
{
|
|
5738
|
-
"kind": "Content",
|
|
5739
|
-
"text": "): "
|
|
5740
|
-
},
|
|
5741
|
-
{
|
|
5742
|
-
"kind": "Content",
|
|
5743
|
-
"text": "import(\"@alloy-js/core\")."
|
|
5744
|
-
},
|
|
5745
|
-
{
|
|
5746
|
-
"kind": "Reference",
|
|
5747
|
-
"text": "Children",
|
|
5748
|
-
"canonicalReference": "@alloy-js/core!Children:type"
|
|
5749
|
-
},
|
|
5750
|
-
{
|
|
5751
|
-
"kind": "Content",
|
|
5752
|
-
"text": ";"
|
|
5753
|
-
}
|
|
5754
|
-
],
|
|
5755
|
-
"fileUrlPath": "src/components/LexicalScope.tsx",
|
|
5756
|
-
"returnTypeTokenRange": {
|
|
5757
|
-
"startIndex": 3,
|
|
5758
|
-
"endIndex": 5
|
|
5759
|
-
},
|
|
5760
|
-
"releaseTag": "Public",
|
|
5761
|
-
"overloadIndex": 1,
|
|
5762
|
-
"parameters": [
|
|
5763
|
-
{
|
|
5764
|
-
"parameterName": "props",
|
|
5765
|
-
"parameterTypeTokenRange": {
|
|
5766
|
-
"startIndex": 1,
|
|
5767
|
-
"endIndex": 2
|
|
5768
|
-
},
|
|
5769
|
-
"isOptional": false
|
|
5770
|
-
}
|
|
5771
|
-
],
|
|
5772
|
-
"name": "LexicalScope"
|
|
5773
|
-
},
|
|
5774
|
-
{
|
|
5775
|
-
"kind": "TypeAlias",
|
|
5776
|
-
"canonicalReference": "@alloy-js/python!LexicalScopeProps:type",
|
|
5777
|
-
"docComment": "",
|
|
5778
|
-
"excerptTokens": [
|
|
5779
|
-
{
|
|
5780
|
-
"kind": "Content",
|
|
5781
|
-
"text": "export type LexicalScopeProps = "
|
|
5782
|
-
},
|
|
5594
|
+
"text": "export type LexicalScopeProps = "
|
|
5595
|
+
},
|
|
5783
5596
|
{
|
|
5784
5597
|
"kind": "Reference",
|
|
5785
5598
|
"text": "LexicalScopePropsWithScopeValue",
|
|
@@ -5907,7 +5720,7 @@
|
|
|
5907
5720
|
"excerptTokens": [
|
|
5908
5721
|
{
|
|
5909
5722
|
"kind": "Content",
|
|
5910
|
-
"text": "Part: (
|
|
5723
|
+
"text": "Part: (_props: "
|
|
5911
5724
|
},
|
|
5912
5725
|
{
|
|
5913
5726
|
"kind": "Reference",
|
|
@@ -5931,7 +5744,7 @@
|
|
|
5931
5744
|
"overloadIndex": 1,
|
|
5932
5745
|
"parameters": [
|
|
5933
5746
|
{
|
|
5934
|
-
"parameterName": "
|
|
5747
|
+
"parameterName": "_props",
|
|
5935
5748
|
"parameterTypeTokenRange": {
|
|
5936
5749
|
"startIndex": 1,
|
|
5937
5750
|
"endIndex": 2
|
|
@@ -8889,6 +8702,15 @@
|
|
|
8889
8702
|
"text": "PythonModuleScope",
|
|
8890
8703
|
"canonicalReference": "@alloy-js/python!PythonModuleScope:class"
|
|
8891
8704
|
},
|
|
8705
|
+
{
|
|
8706
|
+
"kind": "Content",
|
|
8707
|
+
"text": ", options?: "
|
|
8708
|
+
},
|
|
8709
|
+
{
|
|
8710
|
+
"kind": "Reference",
|
|
8711
|
+
"text": "AddImportOptions",
|
|
8712
|
+
"canonicalReference": "@alloy-js/python!AddImportOptions:interface"
|
|
8713
|
+
},
|
|
8892
8714
|
{
|
|
8893
8715
|
"kind": "Content",
|
|
8894
8716
|
"text": "): "
|
|
@@ -8905,8 +8727,8 @@
|
|
|
8905
8727
|
],
|
|
8906
8728
|
"isStatic": false,
|
|
8907
8729
|
"returnTypeTokenRange": {
|
|
8908
|
-
"startIndex":
|
|
8909
|
-
"endIndex":
|
|
8730
|
+
"startIndex": 7,
|
|
8731
|
+
"endIndex": 8
|
|
8910
8732
|
},
|
|
8911
8733
|
"releaseTag": "Public",
|
|
8912
8734
|
"isProtected": false,
|
|
@@ -8927,12 +8749,52 @@
|
|
|
8927
8749
|
"endIndex": 4
|
|
8928
8750
|
},
|
|
8929
8751
|
"isOptional": false
|
|
8752
|
+
},
|
|
8753
|
+
{
|
|
8754
|
+
"parameterName": "options",
|
|
8755
|
+
"parameterTypeTokenRange": {
|
|
8756
|
+
"startIndex": 5,
|
|
8757
|
+
"endIndex": 6
|
|
8758
|
+
},
|
|
8759
|
+
"isOptional": true
|
|
8930
8760
|
}
|
|
8931
8761
|
],
|
|
8932
8762
|
"isOptional": false,
|
|
8933
8763
|
"isAbstract": false,
|
|
8934
8764
|
"name": "addImport"
|
|
8935
8765
|
},
|
|
8766
|
+
{
|
|
8767
|
+
"kind": "Method",
|
|
8768
|
+
"canonicalReference": "@alloy-js/python!PythonModuleScope#addTypeImport:member(1)",
|
|
8769
|
+
"docComment": "/**\n * Add TYPE_CHECKING import from the typing module.\n * Returns the local symbol for use in the if block opener.\n */\n",
|
|
8770
|
+
"excerptTokens": [
|
|
8771
|
+
{
|
|
8772
|
+
"kind": "Content",
|
|
8773
|
+
"text": "addTypeImport(): "
|
|
8774
|
+
},
|
|
8775
|
+
{
|
|
8776
|
+
"kind": "Reference",
|
|
8777
|
+
"text": "PythonOutputSymbol",
|
|
8778
|
+
"canonicalReference": "@alloy-js/python!PythonOutputSymbol:class"
|
|
8779
|
+
},
|
|
8780
|
+
{
|
|
8781
|
+
"kind": "Content",
|
|
8782
|
+
"text": ";"
|
|
8783
|
+
}
|
|
8784
|
+
],
|
|
8785
|
+
"isStatic": false,
|
|
8786
|
+
"returnTypeTokenRange": {
|
|
8787
|
+
"startIndex": 1,
|
|
8788
|
+
"endIndex": 2
|
|
8789
|
+
},
|
|
8790
|
+
"releaseTag": "Public",
|
|
8791
|
+
"isProtected": false,
|
|
8792
|
+
"overloadIndex": 1,
|
|
8793
|
+
"parameters": [],
|
|
8794
|
+
"isOptional": false,
|
|
8795
|
+
"isAbstract": false,
|
|
8796
|
+
"name": "addTypeImport"
|
|
8797
|
+
},
|
|
8936
8798
|
{
|
|
8937
8799
|
"kind": "Property",
|
|
8938
8800
|
"canonicalReference": "@alloy-js/python!PythonModuleScope#debugInfo:member",
|
|
@@ -9375,6 +9237,67 @@
|
|
|
9375
9237
|
"isProtected": false,
|
|
9376
9238
|
"isAbstract": false
|
|
9377
9239
|
},
|
|
9240
|
+
{
|
|
9241
|
+
"kind": "Property",
|
|
9242
|
+
"canonicalReference": "@alloy-js/python!PythonOutputSymbol#isTypeOnly:member",
|
|
9243
|
+
"docComment": "/**\n * Returns true if this symbol is only used in type annotation contexts.\n * Such symbols can be imported inside a TYPE_CHECKING block.\n */\n",
|
|
9244
|
+
"excerptTokens": [
|
|
9245
|
+
{
|
|
9246
|
+
"kind": "Content",
|
|
9247
|
+
"text": "get isTypeOnly(): "
|
|
9248
|
+
},
|
|
9249
|
+
{
|
|
9250
|
+
"kind": "Content",
|
|
9251
|
+
"text": "boolean"
|
|
9252
|
+
},
|
|
9253
|
+
{
|
|
9254
|
+
"kind": "Content",
|
|
9255
|
+
"text": ";"
|
|
9256
|
+
}
|
|
9257
|
+
],
|
|
9258
|
+
"isReadonly": true,
|
|
9259
|
+
"isOptional": false,
|
|
9260
|
+
"releaseTag": "Public",
|
|
9261
|
+
"name": "isTypeOnly",
|
|
9262
|
+
"propertyTypeTokenRange": {
|
|
9263
|
+
"startIndex": 1,
|
|
9264
|
+
"endIndex": 2
|
|
9265
|
+
},
|
|
9266
|
+
"isStatic": false,
|
|
9267
|
+
"isProtected": false,
|
|
9268
|
+
"isAbstract": false
|
|
9269
|
+
},
|
|
9270
|
+
{
|
|
9271
|
+
"kind": "Method",
|
|
9272
|
+
"canonicalReference": "@alloy-js/python!PythonOutputSymbol#markAsValue:member(1)",
|
|
9273
|
+
"docComment": "/**\n * Mark this symbol as also being used as a value (not just a type).\n */\n",
|
|
9274
|
+
"excerptTokens": [
|
|
9275
|
+
{
|
|
9276
|
+
"kind": "Content",
|
|
9277
|
+
"text": "markAsValue(): "
|
|
9278
|
+
},
|
|
9279
|
+
{
|
|
9280
|
+
"kind": "Content",
|
|
9281
|
+
"text": "void"
|
|
9282
|
+
},
|
|
9283
|
+
{
|
|
9284
|
+
"kind": "Content",
|
|
9285
|
+
"text": ";"
|
|
9286
|
+
}
|
|
9287
|
+
],
|
|
9288
|
+
"isStatic": false,
|
|
9289
|
+
"returnTypeTokenRange": {
|
|
9290
|
+
"startIndex": 1,
|
|
9291
|
+
"endIndex": 2
|
|
9292
|
+
},
|
|
9293
|
+
"releaseTag": "Public",
|
|
9294
|
+
"isProtected": false,
|
|
9295
|
+
"overloadIndex": 1,
|
|
9296
|
+
"parameters": [],
|
|
9297
|
+
"isOptional": false,
|
|
9298
|
+
"isAbstract": false,
|
|
9299
|
+
"name": "markAsValue"
|
|
9300
|
+
},
|
|
9378
9301
|
{
|
|
9379
9302
|
"kind": "Property",
|
|
9380
9303
|
"canonicalReference": "@alloy-js/python!PythonOutputSymbol.memberSpaces:member",
|
|
@@ -9527,6 +9450,33 @@
|
|
|
9527
9450
|
"startIndex": 1,
|
|
9528
9451
|
"endIndex": 2
|
|
9529
9452
|
}
|
|
9453
|
+
},
|
|
9454
|
+
{
|
|
9455
|
+
"kind": "PropertySignature",
|
|
9456
|
+
"canonicalReference": "@alloy-js/python!PythonOutputSymbolOptions#typeOnly:member",
|
|
9457
|
+
"docComment": "/**\n * Whether this symbol is only used in type annotation contexts\n */\n",
|
|
9458
|
+
"excerptTokens": [
|
|
9459
|
+
{
|
|
9460
|
+
"kind": "Content",
|
|
9461
|
+
"text": "typeOnly?: "
|
|
9462
|
+
},
|
|
9463
|
+
{
|
|
9464
|
+
"kind": "Content",
|
|
9465
|
+
"text": "boolean"
|
|
9466
|
+
},
|
|
9467
|
+
{
|
|
9468
|
+
"kind": "Content",
|
|
9469
|
+
"text": ";"
|
|
9470
|
+
}
|
|
9471
|
+
],
|
|
9472
|
+
"isReadonly": false,
|
|
9473
|
+
"isOptional": true,
|
|
9474
|
+
"releaseTag": "Public",
|
|
9475
|
+
"name": "typeOnly",
|
|
9476
|
+
"propertyTypeTokenRange": {
|
|
9477
|
+
"startIndex": 1,
|
|
9478
|
+
"endIndex": 2
|
|
9479
|
+
}
|
|
9530
9480
|
}
|
|
9531
9481
|
],
|
|
9532
9482
|
"extendsTokenRanges": [
|
|
@@ -9660,6 +9610,15 @@
|
|
|
9660
9610
|
"text": "Refkey",
|
|
9661
9611
|
"canonicalReference": "@alloy-js/core!Refkey:type"
|
|
9662
9612
|
},
|
|
9613
|
+
{
|
|
9614
|
+
"kind": "Content",
|
|
9615
|
+
"text": ", options?: "
|
|
9616
|
+
},
|
|
9617
|
+
{
|
|
9618
|
+
"kind": "Reference",
|
|
9619
|
+
"text": "RefOptions",
|
|
9620
|
+
"canonicalReference": "@alloy-js/python!RefOptions:interface"
|
|
9621
|
+
},
|
|
9663
9622
|
{
|
|
9664
9623
|
"kind": "Content",
|
|
9665
9624
|
"text": "): "
|
|
@@ -9693,8 +9652,8 @@
|
|
|
9693
9652
|
],
|
|
9694
9653
|
"fileUrlPath": "src/symbols/reference.tsx",
|
|
9695
9654
|
"returnTypeTokenRange": {
|
|
9696
|
-
"startIndex":
|
|
9697
|
-
"endIndex":
|
|
9655
|
+
"startIndex": 5,
|
|
9656
|
+
"endIndex": 10
|
|
9698
9657
|
},
|
|
9699
9658
|
"releaseTag": "Public",
|
|
9700
9659
|
"overloadIndex": 1,
|
|
@@ -9706,6 +9665,14 @@
|
|
|
9706
9665
|
"endIndex": 2
|
|
9707
9666
|
},
|
|
9708
9667
|
"isOptional": false
|
|
9668
|
+
},
|
|
9669
|
+
{
|
|
9670
|
+
"parameterName": "options",
|
|
9671
|
+
"parameterTypeTokenRange": {
|
|
9672
|
+
"startIndex": 3,
|
|
9673
|
+
"endIndex": 4
|
|
9674
|
+
},
|
|
9675
|
+
"isOptional": true
|
|
9709
9676
|
}
|
|
9710
9677
|
],
|
|
9711
9678
|
"name": "ref"
|
|
@@ -9807,6 +9774,51 @@
|
|
|
9807
9774
|
],
|
|
9808
9775
|
"extendsTokenRanges": []
|
|
9809
9776
|
},
|
|
9777
|
+
{
|
|
9778
|
+
"kind": "Interface",
|
|
9779
|
+
"canonicalReference": "@alloy-js/python!RefOptions:interface",
|
|
9780
|
+
"docComment": "",
|
|
9781
|
+
"excerptTokens": [
|
|
9782
|
+
{
|
|
9783
|
+
"kind": "Content",
|
|
9784
|
+
"text": "export interface RefOptions "
|
|
9785
|
+
}
|
|
9786
|
+
],
|
|
9787
|
+
"fileUrlPath": "src/symbols/reference.tsx",
|
|
9788
|
+
"releaseTag": "Public",
|
|
9789
|
+
"name": "RefOptions",
|
|
9790
|
+
"preserveMemberOrder": false,
|
|
9791
|
+
"members": [
|
|
9792
|
+
{
|
|
9793
|
+
"kind": "PropertySignature",
|
|
9794
|
+
"canonicalReference": "@alloy-js/python!RefOptions#type:member",
|
|
9795
|
+
"docComment": "/**\n * If true, this reference is only used in a type annotation context.\n * The import will be guarded with `if TYPE_CHECKING:`.\n */\n",
|
|
9796
|
+
"excerptTokens": [
|
|
9797
|
+
{
|
|
9798
|
+
"kind": "Content",
|
|
9799
|
+
"text": "type?: "
|
|
9800
|
+
},
|
|
9801
|
+
{
|
|
9802
|
+
"kind": "Content",
|
|
9803
|
+
"text": "boolean"
|
|
9804
|
+
},
|
|
9805
|
+
{
|
|
9806
|
+
"kind": "Content",
|
|
9807
|
+
"text": ";"
|
|
9808
|
+
}
|
|
9809
|
+
],
|
|
9810
|
+
"isReadonly": false,
|
|
9811
|
+
"isOptional": true,
|
|
9812
|
+
"releaseTag": "Public",
|
|
9813
|
+
"name": "type",
|
|
9814
|
+
"propertyTypeTokenRange": {
|
|
9815
|
+
"startIndex": 1,
|
|
9816
|
+
"endIndex": 2
|
|
9817
|
+
}
|
|
9818
|
+
}
|
|
9819
|
+
],
|
|
9820
|
+
"extendsTokenRanges": []
|
|
9821
|
+
},
|
|
9810
9822
|
{
|
|
9811
9823
|
"kind": "Variable",
|
|
9812
9824
|
"canonicalReference": "@alloy-js/python!requestsModule:var",
|
|
@@ -10162,6 +10174,10 @@
|
|
|
10162
10174
|
"text": "Children",
|
|
10163
10175
|
"canonicalReference": "@alloy-js/core!Children:type"
|
|
10164
10176
|
},
|
|
10177
|
+
{
|
|
10178
|
+
"kind": "Content",
|
|
10179
|
+
"text": "[]"
|
|
10180
|
+
},
|
|
10165
10181
|
{
|
|
10166
10182
|
"kind": "Content",
|
|
10167
10183
|
"text": ";"
|
|
@@ -10173,7 +10189,7 @@
|
|
|
10173
10189
|
"name": "futureImports",
|
|
10174
10190
|
"propertyTypeTokenRange": {
|
|
10175
10191
|
"startIndex": 1,
|
|
10176
|
-
"endIndex":
|
|
10192
|
+
"endIndex": 3
|
|
10177
10193
|
}
|
|
10178
10194
|
},
|
|
10179
10195
|
{
|
|
@@ -10693,10 +10709,99 @@
|
|
|
10693
10709
|
],
|
|
10694
10710
|
"extendsTokenRanges": []
|
|
10695
10711
|
},
|
|
10712
|
+
{
|
|
10713
|
+
"kind": "Function",
|
|
10714
|
+
"canonicalReference": "@alloy-js/python!TypeRefContext:function(1)",
|
|
10715
|
+
"docComment": "/**\n * Set the current context of reference to be type reference.\n *\n * @remarks\n *\n *\n * References used inside the children of this component will be treated as\n * type-only references. When a symbol is only referenced in type contexts,\n * it will be imported inside a `if TYPE_CHECKING:` block.\n *\n * @example\n * ```tsx\n * <TypeRefContext>\n * {someTypeRefkey}\n * </TypeRefContext>\n * ```\n *\n */\n",
|
|
10716
|
+
"excerptTokens": [
|
|
10717
|
+
{
|
|
10718
|
+
"kind": "Content",
|
|
10719
|
+
"text": "TypeRefContext: ({ children }: "
|
|
10720
|
+
},
|
|
10721
|
+
{
|
|
10722
|
+
"kind": "Reference",
|
|
10723
|
+
"text": "TypeRefContextProps",
|
|
10724
|
+
"canonicalReference": "@alloy-js/python!TypeRefContextProps:interface"
|
|
10725
|
+
},
|
|
10726
|
+
{
|
|
10727
|
+
"kind": "Content",
|
|
10728
|
+
"text": ") => "
|
|
10729
|
+
},
|
|
10730
|
+
{
|
|
10731
|
+
"kind": "Reference",
|
|
10732
|
+
"text": "Children",
|
|
10733
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
10734
|
+
}
|
|
10735
|
+
],
|
|
10736
|
+
"fileUrlPath": "src/components/TypeRefContext.tsx",
|
|
10737
|
+
"returnTypeTokenRange": {
|
|
10738
|
+
"startIndex": 3,
|
|
10739
|
+
"endIndex": 4
|
|
10740
|
+
},
|
|
10741
|
+
"releaseTag": "Public",
|
|
10742
|
+
"overloadIndex": 1,
|
|
10743
|
+
"parameters": [
|
|
10744
|
+
{
|
|
10745
|
+
"parameterName": "{ children }",
|
|
10746
|
+
"parameterTypeTokenRange": {
|
|
10747
|
+
"startIndex": 1,
|
|
10748
|
+
"endIndex": 2
|
|
10749
|
+
},
|
|
10750
|
+
"isOptional": false
|
|
10751
|
+
}
|
|
10752
|
+
],
|
|
10753
|
+
"name": "TypeRefContext"
|
|
10754
|
+
},
|
|
10755
|
+
{
|
|
10756
|
+
"kind": "Interface",
|
|
10757
|
+
"canonicalReference": "@alloy-js/python!TypeRefContextProps:interface",
|
|
10758
|
+
"docComment": "",
|
|
10759
|
+
"excerptTokens": [
|
|
10760
|
+
{
|
|
10761
|
+
"kind": "Content",
|
|
10762
|
+
"text": "export interface TypeRefContextProps "
|
|
10763
|
+
}
|
|
10764
|
+
],
|
|
10765
|
+
"fileUrlPath": "src/components/TypeRefContext.tsx",
|
|
10766
|
+
"releaseTag": "Public",
|
|
10767
|
+
"name": "TypeRefContextProps",
|
|
10768
|
+
"preserveMemberOrder": false,
|
|
10769
|
+
"members": [
|
|
10770
|
+
{
|
|
10771
|
+
"kind": "PropertySignature",
|
|
10772
|
+
"canonicalReference": "@alloy-js/python!TypeRefContextProps#children:member",
|
|
10773
|
+
"docComment": "/**\n * Children\n */\n",
|
|
10774
|
+
"excerptTokens": [
|
|
10775
|
+
{
|
|
10776
|
+
"kind": "Content",
|
|
10777
|
+
"text": "children: "
|
|
10778
|
+
},
|
|
10779
|
+
{
|
|
10780
|
+
"kind": "Reference",
|
|
10781
|
+
"text": "Children",
|
|
10782
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
10783
|
+
},
|
|
10784
|
+
{
|
|
10785
|
+
"kind": "Content",
|
|
10786
|
+
"text": ";"
|
|
10787
|
+
}
|
|
10788
|
+
],
|
|
10789
|
+
"isReadonly": false,
|
|
10790
|
+
"isOptional": false,
|
|
10791
|
+
"releaseTag": "Public",
|
|
10792
|
+
"name": "children",
|
|
10793
|
+
"propertyTypeTokenRange": {
|
|
10794
|
+
"startIndex": 1,
|
|
10795
|
+
"endIndex": 2
|
|
10796
|
+
}
|
|
10797
|
+
}
|
|
10798
|
+
],
|
|
10799
|
+
"extendsTokenRanges": []
|
|
10800
|
+
},
|
|
10696
10801
|
{
|
|
10697
10802
|
"kind": "Function",
|
|
10698
10803
|
"canonicalReference": "@alloy-js/python!TypeReference:function(1)",
|
|
10699
|
-
"docComment": "/**\n * A type reference like Foo[T, P] or int.\n */\n",
|
|
10804
|
+
"docComment": "/**\n * A type reference like Foo[T, P] or int.\n *\n * @remarks\n *\n *\n * This component automatically wraps its content in a type reference context,\n * so any symbols referenced via refkey will be imported as type-only\n * (inside a `if TYPE_CHECKING:` block) unless also used as values elsewhere.\n */\n",
|
|
10700
10805
|
"excerptTokens": [
|
|
10701
10806
|
{
|
|
10702
10807
|
"kind": "Content",
|