@alloy-js/python 0.1.0-dev.4 → 0.1.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/src/components/CallSignature.d.ts.map +1 -1
- package/dist/src/components/CallSignature.js +8 -11
- package/dist/src/components/ClassDeclaration.d.ts.map +1 -1
- package/dist/src/components/ClassDeclaration.js +6 -20
- package/dist/src/components/ClassInstantiation.d.ts.map +1 -1
- package/dist/src/components/ClassInstantiation.js +4 -4
- package/dist/src/components/Declaration.d.ts +1 -5
- package/dist/src/components/Declaration.d.ts.map +1 -1
- package/dist/src/components/Declaration.js +6 -15
- package/dist/src/components/EnumDeclaration.d.ts.map +1 -1
- package/dist/src/components/EnumDeclaration.js +33 -59
- package/dist/src/components/EnumMember.d.ts.map +1 -1
- package/dist/src/components/EnumMember.js +3 -4
- package/dist/src/components/FunctionDeclaration.d.ts.map +1 -1
- package/dist/src/components/FunctionDeclaration.js +6 -15
- package/dist/src/components/LexicalScope.d.ts +8 -0
- package/dist/src/components/LexicalScope.d.ts.map +1 -0
- package/dist/src/components/LexicalScope.js +21 -0
- package/dist/src/components/MemberScope.d.ts +8 -0
- package/dist/src/components/MemberScope.d.ts.map +1 -0
- package/dist/src/components/MemberScope.js +15 -0
- package/dist/src/components/SourceFile.js +1 -2
- package/dist/src/components/VariableDeclaration.d.ts.map +1 -1
- package/dist/src/components/VariableDeclaration.js +8 -31
- package/dist/src/components/index.d.ts +2 -0
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/components/index.js +2 -0
- package/dist/src/create-module.d.ts.map +1 -1
- package/dist/src/create-module.js +3 -4
- package/dist/src/name-conflict-resolver.d.ts +3 -0
- package/dist/src/name-conflict-resolver.d.ts.map +1 -0
- package/dist/src/name-conflict-resolver.js +7 -0
- package/dist/src/symbol-creation.d.ts +13 -2
- package/dist/src/symbol-creation.d.ts.map +1 -1
- package/dist/src/symbol-creation.js +33 -9
- package/dist/src/symbols/index.d.ts +1 -1
- package/dist/src/symbols/index.d.ts.map +1 -1
- package/dist/src/symbols/index.js +1 -1
- package/dist/src/symbols/python-lexical-scope.d.ts +7 -0
- package/dist/src/symbols/python-lexical-scope.d.ts.map +1 -0
- package/dist/src/symbols/python-lexical-scope.js +14 -0
- package/dist/src/symbols/python-member-scope.d.ts +3 -4
- package/dist/src/symbols/python-member-scope.d.ts.map +1 -1
- package/dist/src/symbols/python-member-scope.js +4 -7
- package/dist/src/symbols/python-module-scope.d.ts +4 -9
- package/dist/src/symbols/python-module-scope.d.ts.map +1 -1
- package/dist/src/symbols/python-module-scope.js +6 -14
- package/dist/src/symbols/python-output-symbol.d.ts +10 -7
- package/dist/src/symbols/python-output-symbol.d.ts.map +1 -1
- package/dist/src/symbols/python-output-symbol.js +23 -6
- package/dist/src/symbols/reference.d.ts +2 -2
- package/dist/src/symbols/reference.d.ts.map +1 -1
- package/dist/src/symbols/reference.js +36 -36
- package/dist/src/symbols/scopes.d.ts +3 -1
- package/dist/src/symbols/scopes.d.ts.map +1 -1
- package/dist/src/symbols/scopes.js +8 -0
- package/dist/test/classdeclarations.test.js +87 -52
- package/dist/test/enums.test.js +8 -2
- package/dist/test/externals.test.js +6 -5
- package/dist/test/functiondeclaration.test.js +73 -36
- package/dist/test/imports.test.js +9 -36
- package/dist/test/utils.d.ts +2 -3
- package/dist/test/utils.d.ts.map +1 -1
- package/dist/test/utils.js +3 -2
- package/dist/test/variables.test.js +11 -11
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/components/CallSignature.tsx +9 -17
- package/src/components/ClassDeclaration.tsx +5 -32
- package/src/components/ClassInstantiation.tsx +6 -12
- package/src/components/Declaration.tsx +1 -20
- package/src/components/EnumDeclaration.tsx +18 -41
- package/src/components/EnumMember.tsx +1 -3
- package/src/components/FunctionDeclaration.tsx +5 -24
- package/src/components/LexicalScope.tsx +24 -0
- package/src/components/MemberScope.tsx +18 -0
- package/src/components/SourceFile.tsx +2 -2
- package/src/components/VariableDeclaration.tsx +7 -35
- package/src/components/index.ts +2 -0
- package/src/create-module.ts +7 -13
- package/src/name-conflict-resolver.ts +21 -0
- package/src/symbol-creation.ts +50 -11
- package/src/symbols/index.ts +1 -1
- package/src/symbols/python-lexical-scope.ts +16 -0
- package/src/symbols/python-member-scope.ts +4 -8
- package/src/symbols/python-module-scope.ts +6 -32
- package/src/symbols/python-output-symbol.ts +36 -10
- package/src/symbols/reference.tsx +70 -0
- package/src/symbols/scopes.ts +15 -1
- package/temp/api.json +897 -539
- package/test/classdeclarations.test.tsx +66 -31
- package/test/enums.test.tsx +2 -2
- package/test/externals.test.tsx +6 -7
- package/test/functiondeclaration.test.tsx +48 -39
- package/test/imports.test.tsx +11 -36
- package/test/utils.tsx +9 -5
- package/test/variables.test.tsx +11 -7
- package/dist/src/symbols/custom-output-scope.d.ts +0 -10
- package/dist/src/symbols/custom-output-scope.d.ts.map +0 -1
- package/dist/src/symbols/custom-output-scope.js +0 -25
- package/src/symbols/custom-output-scope.ts +0 -35
- package/src/symbols/reference.ts +0 -99
package/temp/api.json
CHANGED
|
@@ -334,34 +334,6 @@
|
|
|
334
334
|
"endIndex": 2
|
|
335
335
|
}
|
|
336
336
|
},
|
|
337
|
-
{
|
|
338
|
-
"kind": "PropertySignature",
|
|
339
|
-
"canonicalReference": "@alloy-js/python!BaseDeclarationProps#flags:member",
|
|
340
|
-
"docComment": "/**\n * Flags for the symbol created by this component.\n */\n",
|
|
341
|
-
"excerptTokens": [
|
|
342
|
-
{
|
|
343
|
-
"kind": "Content",
|
|
344
|
-
"text": "flags?: "
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
"kind": "Reference",
|
|
348
|
-
"text": "OutputSymbolFlags",
|
|
349
|
-
"canonicalReference": "@alloy-js/core!OutputSymbolFlags:enum"
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
"kind": "Content",
|
|
353
|
-
"text": ";"
|
|
354
|
-
}
|
|
355
|
-
],
|
|
356
|
-
"isReadonly": false,
|
|
357
|
-
"isOptional": true,
|
|
358
|
-
"releaseTag": "Public",
|
|
359
|
-
"name": "flags",
|
|
360
|
-
"propertyTypeTokenRange": {
|
|
361
|
-
"startIndex": 1,
|
|
362
|
-
"endIndex": 2
|
|
363
|
-
}
|
|
364
|
-
},
|
|
365
337
|
{
|
|
366
338
|
"kind": "PropertySignature",
|
|
367
339
|
"canonicalReference": "@alloy-js/python!BaseDeclarationProps#name:member",
|
|
@@ -1523,8 +1495,8 @@
|
|
|
1523
1495
|
},
|
|
1524
1496
|
{
|
|
1525
1497
|
"kind": "Reference",
|
|
1526
|
-
"text": "
|
|
1527
|
-
"canonicalReference": "@alloy-js/python!
|
|
1498
|
+
"text": "PythonOutputSymbolOptions",
|
|
1499
|
+
"canonicalReference": "@alloy-js/python!PythonOutputSymbolOptions:interface"
|
|
1528
1500
|
},
|
|
1529
1501
|
{
|
|
1530
1502
|
"kind": "Content",
|
|
@@ -1571,177 +1543,6 @@
|
|
|
1571
1543
|
}
|
|
1572
1544
|
]
|
|
1573
1545
|
},
|
|
1574
|
-
{
|
|
1575
|
-
"kind": "Interface",
|
|
1576
|
-
"canonicalReference": "@alloy-js/python!CreatePythonSymbolOptions:interface",
|
|
1577
|
-
"docComment": "",
|
|
1578
|
-
"excerptTokens": [
|
|
1579
|
-
{
|
|
1580
|
-
"kind": "Content",
|
|
1581
|
-
"text": "export interface CreatePythonSymbolOptions extends "
|
|
1582
|
-
},
|
|
1583
|
-
{
|
|
1584
|
-
"kind": "Reference",
|
|
1585
|
-
"text": "OutputSymbolOptions",
|
|
1586
|
-
"canonicalReference": "@alloy-js/core!OutputSymbolOptions:interface"
|
|
1587
|
-
},
|
|
1588
|
-
{
|
|
1589
|
-
"kind": "Content",
|
|
1590
|
-
"text": " "
|
|
1591
|
-
}
|
|
1592
|
-
],
|
|
1593
|
-
"fileUrlPath": "src/symbols/python-output-symbol.ts",
|
|
1594
|
-
"releaseTag": "Public",
|
|
1595
|
-
"name": "CreatePythonSymbolOptions",
|
|
1596
|
-
"preserveMemberOrder": false,
|
|
1597
|
-
"members": [
|
|
1598
|
-
{
|
|
1599
|
-
"kind": "PropertySignature",
|
|
1600
|
-
"canonicalReference": "@alloy-js/python!CreatePythonSymbolOptions#module:member",
|
|
1601
|
-
"docComment": "",
|
|
1602
|
-
"excerptTokens": [
|
|
1603
|
-
{
|
|
1604
|
-
"kind": "Content",
|
|
1605
|
-
"text": "module?: "
|
|
1606
|
-
},
|
|
1607
|
-
{
|
|
1608
|
-
"kind": "Content",
|
|
1609
|
-
"text": "string"
|
|
1610
|
-
},
|
|
1611
|
-
{
|
|
1612
|
-
"kind": "Content",
|
|
1613
|
-
"text": ";"
|
|
1614
|
-
}
|
|
1615
|
-
],
|
|
1616
|
-
"isReadonly": false,
|
|
1617
|
-
"isOptional": true,
|
|
1618
|
-
"releaseTag": "Public",
|
|
1619
|
-
"name": "module",
|
|
1620
|
-
"propertyTypeTokenRange": {
|
|
1621
|
-
"startIndex": 1,
|
|
1622
|
-
"endIndex": 2
|
|
1623
|
-
}
|
|
1624
|
-
}
|
|
1625
|
-
],
|
|
1626
|
-
"extendsTokenRanges": [
|
|
1627
|
-
{
|
|
1628
|
-
"startIndex": 1,
|
|
1629
|
-
"endIndex": 2
|
|
1630
|
-
}
|
|
1631
|
-
]
|
|
1632
|
-
},
|
|
1633
|
-
{
|
|
1634
|
-
"kind": "Class",
|
|
1635
|
-
"canonicalReference": "@alloy-js/python!CustomOutputScope:class",
|
|
1636
|
-
"docComment": "",
|
|
1637
|
-
"excerptTokens": [
|
|
1638
|
-
{
|
|
1639
|
-
"kind": "Content",
|
|
1640
|
-
"text": "export declare class CustomOutputScope extends "
|
|
1641
|
-
},
|
|
1642
|
-
{
|
|
1643
|
-
"kind": "Reference",
|
|
1644
|
-
"text": "OutputScope",
|
|
1645
|
-
"canonicalReference": "@alloy-js/core!OutputScope:class"
|
|
1646
|
-
},
|
|
1647
|
-
{
|
|
1648
|
-
"kind": "Content",
|
|
1649
|
-
"text": " "
|
|
1650
|
-
}
|
|
1651
|
-
],
|
|
1652
|
-
"fileUrlPath": "src/symbols/custom-output-scope.ts",
|
|
1653
|
-
"releaseTag": "Public",
|
|
1654
|
-
"isAbstract": false,
|
|
1655
|
-
"name": "CustomOutputScope",
|
|
1656
|
-
"preserveMemberOrder": false,
|
|
1657
|
-
"members": [
|
|
1658
|
-
{
|
|
1659
|
-
"kind": "Constructor",
|
|
1660
|
-
"canonicalReference": "@alloy-js/python!CustomOutputScope:constructor(1)",
|
|
1661
|
-
"docComment": "/**\n * Constructs a new instance of the `CustomOutputScope` class\n */\n",
|
|
1662
|
-
"excerptTokens": [
|
|
1663
|
-
{
|
|
1664
|
-
"kind": "Content",
|
|
1665
|
-
"text": "constructor(name: "
|
|
1666
|
-
},
|
|
1667
|
-
{
|
|
1668
|
-
"kind": "Content",
|
|
1669
|
-
"text": "string"
|
|
1670
|
-
},
|
|
1671
|
-
{
|
|
1672
|
-
"kind": "Content",
|
|
1673
|
-
"text": ", options?: "
|
|
1674
|
-
},
|
|
1675
|
-
{
|
|
1676
|
-
"kind": "Reference",
|
|
1677
|
-
"text": "OutputScopeOptions",
|
|
1678
|
-
"canonicalReference": "@alloy-js/core!OutputScopeOptions:interface"
|
|
1679
|
-
},
|
|
1680
|
-
{
|
|
1681
|
-
"kind": "Content",
|
|
1682
|
-
"text": ");"
|
|
1683
|
-
}
|
|
1684
|
-
],
|
|
1685
|
-
"releaseTag": "Public",
|
|
1686
|
-
"isProtected": false,
|
|
1687
|
-
"overloadIndex": 1,
|
|
1688
|
-
"parameters": [
|
|
1689
|
-
{
|
|
1690
|
-
"parameterName": "name",
|
|
1691
|
-
"parameterTypeTokenRange": {
|
|
1692
|
-
"startIndex": 1,
|
|
1693
|
-
"endIndex": 2
|
|
1694
|
-
},
|
|
1695
|
-
"isOptional": false
|
|
1696
|
-
},
|
|
1697
|
-
{
|
|
1698
|
-
"parameterName": "options",
|
|
1699
|
-
"parameterTypeTokenRange": {
|
|
1700
|
-
"startIndex": 3,
|
|
1701
|
-
"endIndex": 4
|
|
1702
|
-
},
|
|
1703
|
-
"isOptional": true
|
|
1704
|
-
}
|
|
1705
|
-
]
|
|
1706
|
-
},
|
|
1707
|
-
{
|
|
1708
|
-
"kind": "Property",
|
|
1709
|
-
"canonicalReference": "@alloy-js/python!CustomOutputScope#symbols:member",
|
|
1710
|
-
"docComment": "/**\n * The symbols defined within this scope.\n */\n",
|
|
1711
|
-
"excerptTokens": [
|
|
1712
|
-
{
|
|
1713
|
-
"kind": "Content",
|
|
1714
|
-
"text": "get symbols(): "
|
|
1715
|
-
},
|
|
1716
|
-
{
|
|
1717
|
-
"kind": "Reference",
|
|
1718
|
-
"text": "SymbolTable",
|
|
1719
|
-
"canonicalReference": "@alloy-js/core!SymbolTable:class"
|
|
1720
|
-
},
|
|
1721
|
-
{
|
|
1722
|
-
"kind": "Content",
|
|
1723
|
-
"text": ";"
|
|
1724
|
-
}
|
|
1725
|
-
],
|
|
1726
|
-
"isReadonly": true,
|
|
1727
|
-
"isOptional": false,
|
|
1728
|
-
"releaseTag": "Public",
|
|
1729
|
-
"name": "symbols",
|
|
1730
|
-
"propertyTypeTokenRange": {
|
|
1731
|
-
"startIndex": 1,
|
|
1732
|
-
"endIndex": 2
|
|
1733
|
-
},
|
|
1734
|
-
"isStatic": false,
|
|
1735
|
-
"isProtected": false,
|
|
1736
|
-
"isAbstract": false
|
|
1737
|
-
}
|
|
1738
|
-
],
|
|
1739
|
-
"extendsTokenRange": {
|
|
1740
|
-
"startIndex": 1,
|
|
1741
|
-
"endIndex": 2
|
|
1742
|
-
},
|
|
1743
|
-
"implementsTokenRanges": []
|
|
1744
|
-
},
|
|
1745
1546
|
{
|
|
1746
1547
|
"kind": "Function",
|
|
1747
1548
|
"canonicalReference": "@alloy-js/python!Declaration:function(1)",
|
|
@@ -3920,13 +3721,13 @@
|
|
|
3920
3721
|
"extendsTokenRanges": []
|
|
3921
3722
|
},
|
|
3922
3723
|
{
|
|
3923
|
-
"kind": "
|
|
3924
|
-
"canonicalReference": "@alloy-js/python!ImportRecords:
|
|
3724
|
+
"kind": "Class",
|
|
3725
|
+
"canonicalReference": "@alloy-js/python!ImportRecords:class",
|
|
3925
3726
|
"docComment": "",
|
|
3926
3727
|
"excerptTokens": [
|
|
3927
3728
|
{
|
|
3928
3729
|
"kind": "Content",
|
|
3929
|
-
"text": "export
|
|
3730
|
+
"text": "export declare class ImportRecords extends "
|
|
3930
3731
|
},
|
|
3931
3732
|
{
|
|
3932
3733
|
"kind": "Reference",
|
|
@@ -3957,164 +3758,82 @@
|
|
|
3957
3758
|
},
|
|
3958
3759
|
{
|
|
3959
3760
|
"kind": "Content",
|
|
3960
|
-
"text": "
|
|
3761
|
+
"text": " "
|
|
3961
3762
|
}
|
|
3962
3763
|
],
|
|
3963
3764
|
"fileUrlPath": "src/symbols/python-module-scope.ts",
|
|
3964
3765
|
"releaseTag": "Public",
|
|
3766
|
+
"isAbstract": false,
|
|
3965
3767
|
"name": "ImportRecords",
|
|
3966
|
-
"
|
|
3768
|
+
"preserveMemberOrder": false,
|
|
3769
|
+
"members": [],
|
|
3770
|
+
"extendsTokenRange": {
|
|
3967
3771
|
"startIndex": 1,
|
|
3968
3772
|
"endIndex": 7
|
|
3969
|
-
}
|
|
3773
|
+
},
|
|
3774
|
+
"implementsTokenRanges": []
|
|
3970
3775
|
},
|
|
3971
3776
|
{
|
|
3972
|
-
"kind": "
|
|
3973
|
-
"canonicalReference": "@alloy-js/python!
|
|
3974
|
-
"docComment": "",
|
|
3777
|
+
"kind": "Function",
|
|
3778
|
+
"canonicalReference": "@alloy-js/python!ImportStatement:function(1)",
|
|
3779
|
+
"docComment": "/**\n * A Python import statement.\n *\n * @remarks\n *\n *\n * This component renders an import statement for a given path and symbols.\n * If no symbols are provided, it will render a simple import statement.\n * If symbols are provided, it will render an import statement with the specified symbols.\n *\n * @example\n * ```tsx\n * <ImportStatement path=\"os\" />\n * <ImportStatement path=\"math\" symbols={new Set([new ImportedSymbol(\"sqrt\", \"sqrt\")])} />\n * ```\n *\n * This will generate:\n * ```python\n * import os\n * from math import sqrt\n * ```\n *\n */\n",
|
|
3975
3780
|
"excerptTokens": [
|
|
3976
3781
|
{
|
|
3977
3782
|
"kind": "Content",
|
|
3978
|
-
"text": "
|
|
3979
|
-
},
|
|
3980
|
-
{
|
|
3981
|
-
"kind": "Content",
|
|
3982
|
-
"text": "{\n new (): "
|
|
3783
|
+
"text": "export declare function ImportStatement(props: "
|
|
3983
3784
|
},
|
|
3984
3785
|
{
|
|
3985
3786
|
"kind": "Reference",
|
|
3986
|
-
"text": "
|
|
3987
|
-
"canonicalReference": "@alloy-js/python!
|
|
3787
|
+
"text": "ImportStatementProps",
|
|
3788
|
+
"canonicalReference": "@alloy-js/python!ImportStatementProps:interface"
|
|
3988
3789
|
},
|
|
3989
3790
|
{
|
|
3990
3791
|
"kind": "Content",
|
|
3991
|
-
"text": "
|
|
3992
|
-
},
|
|
3993
|
-
{
|
|
3994
|
-
"kind": "Reference",
|
|
3995
|
-
"text": "PythonModuleScope",
|
|
3996
|
-
"canonicalReference": "@alloy-js/python!PythonModuleScope:class"
|
|
3792
|
+
"text": "): "
|
|
3997
3793
|
},
|
|
3998
3794
|
{
|
|
3999
3795
|
"kind": "Content",
|
|
4000
|
-
"text": "
|
|
4001
|
-
},
|
|
4002
|
-
{
|
|
4003
|
-
"kind": "Reference",
|
|
4004
|
-
"text": "ImportRecordProps",
|
|
4005
|
-
"canonicalReference": "@alloy-js/python!ImportRecordProps:interface"
|
|
3796
|
+
"text": "() => any[]"
|
|
4006
3797
|
},
|
|
4007
3798
|
{
|
|
4008
3799
|
"kind": "Content",
|
|
4009
|
-
"text": "
|
|
4010
|
-
}
|
|
3800
|
+
"text": ";"
|
|
3801
|
+
}
|
|
3802
|
+
],
|
|
3803
|
+
"fileUrlPath": "src/components/ImportStatement.tsx",
|
|
3804
|
+
"returnTypeTokenRange": {
|
|
3805
|
+
"startIndex": 3,
|
|
3806
|
+
"endIndex": 4
|
|
3807
|
+
},
|
|
3808
|
+
"releaseTag": "Public",
|
|
3809
|
+
"overloadIndex": 1,
|
|
3810
|
+
"parameters": [
|
|
4011
3811
|
{
|
|
4012
|
-
"
|
|
4013
|
-
"
|
|
4014
|
-
|
|
4015
|
-
|
|
3812
|
+
"parameterName": "props",
|
|
3813
|
+
"parameterTypeTokenRange": {
|
|
3814
|
+
"startIndex": 1,
|
|
3815
|
+
"endIndex": 2
|
|
3816
|
+
},
|
|
3817
|
+
"isOptional": false
|
|
3818
|
+
}
|
|
3819
|
+
],
|
|
3820
|
+
"name": "ImportStatement"
|
|
3821
|
+
},
|
|
3822
|
+
{
|
|
3823
|
+
"kind": "Interface",
|
|
3824
|
+
"canonicalReference": "@alloy-js/python!ImportStatementProps:interface",
|
|
3825
|
+
"docComment": "",
|
|
3826
|
+
"excerptTokens": [
|
|
4016
3827
|
{
|
|
4017
3828
|
"kind": "Content",
|
|
4018
|
-
"text": "
|
|
4019
|
-
}
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
"kind": "Content",
|
|
4027
|
-
"text": "<"
|
|
4028
|
-
},
|
|
4029
|
-
{
|
|
4030
|
-
"kind": "Reference",
|
|
4031
|
-
"text": "PythonModuleScope",
|
|
4032
|
-
"canonicalReference": "@alloy-js/python!PythonModuleScope:class"
|
|
4033
|
-
},
|
|
4034
|
-
{
|
|
4035
|
-
"kind": "Content",
|
|
4036
|
-
"text": ", "
|
|
4037
|
-
},
|
|
4038
|
-
{
|
|
4039
|
-
"kind": "Reference",
|
|
4040
|
-
"text": "ImportRecordProps",
|
|
4041
|
-
"canonicalReference": "@alloy-js/python!ImportRecordProps:interface"
|
|
4042
|
-
},
|
|
4043
|
-
{
|
|
4044
|
-
"kind": "Content",
|
|
4045
|
-
"text": ">;\n}"
|
|
4046
|
-
}
|
|
4047
|
-
],
|
|
4048
|
-
"fileUrlPath": "src/symbols/python-module-scope.ts",
|
|
4049
|
-
"isReadonly": true,
|
|
4050
|
-
"releaseTag": "Public",
|
|
4051
|
-
"name": "ImportRecords",
|
|
4052
|
-
"variableTypeTokenRange": {
|
|
4053
|
-
"startIndex": 1,
|
|
4054
|
-
"endIndex": 16
|
|
4055
|
-
}
|
|
4056
|
-
},
|
|
4057
|
-
{
|
|
4058
|
-
"kind": "Function",
|
|
4059
|
-
"canonicalReference": "@alloy-js/python!ImportStatement:function(1)",
|
|
4060
|
-
"docComment": "/**\n * A Python import statement.\n *\n * @remarks\n *\n *\n * This component renders an import statement for a given path and symbols.\n * If no symbols are provided, it will render a simple import statement.\n * If symbols are provided, it will render an import statement with the specified symbols.\n *\n * @example\n * ```tsx\n * <ImportStatement path=\"os\" />\n * <ImportStatement path=\"math\" symbols={new Set([new ImportedSymbol(\"sqrt\", \"sqrt\")])} />\n * ```\n *\n * This will generate:\n * ```python\n * import os\n * from math import sqrt\n * ```\n *\n */\n",
|
|
4061
|
-
"excerptTokens": [
|
|
4062
|
-
{
|
|
4063
|
-
"kind": "Content",
|
|
4064
|
-
"text": "export declare function ImportStatement(props: "
|
|
4065
|
-
},
|
|
4066
|
-
{
|
|
4067
|
-
"kind": "Reference",
|
|
4068
|
-
"text": "ImportStatementProps",
|
|
4069
|
-
"canonicalReference": "@alloy-js/python!ImportStatementProps:interface"
|
|
4070
|
-
},
|
|
4071
|
-
{
|
|
4072
|
-
"kind": "Content",
|
|
4073
|
-
"text": "): "
|
|
4074
|
-
},
|
|
4075
|
-
{
|
|
4076
|
-
"kind": "Content",
|
|
4077
|
-
"text": "() => any[]"
|
|
4078
|
-
},
|
|
4079
|
-
{
|
|
4080
|
-
"kind": "Content",
|
|
4081
|
-
"text": ";"
|
|
4082
|
-
}
|
|
4083
|
-
],
|
|
4084
|
-
"fileUrlPath": "src/components/ImportStatement.tsx",
|
|
4085
|
-
"returnTypeTokenRange": {
|
|
4086
|
-
"startIndex": 3,
|
|
4087
|
-
"endIndex": 4
|
|
4088
|
-
},
|
|
4089
|
-
"releaseTag": "Public",
|
|
4090
|
-
"overloadIndex": 1,
|
|
4091
|
-
"parameters": [
|
|
4092
|
-
{
|
|
4093
|
-
"parameterName": "props",
|
|
4094
|
-
"parameterTypeTokenRange": {
|
|
4095
|
-
"startIndex": 1,
|
|
4096
|
-
"endIndex": 2
|
|
4097
|
-
},
|
|
4098
|
-
"isOptional": false
|
|
4099
|
-
}
|
|
4100
|
-
],
|
|
4101
|
-
"name": "ImportStatement"
|
|
4102
|
-
},
|
|
4103
|
-
{
|
|
4104
|
-
"kind": "Interface",
|
|
4105
|
-
"canonicalReference": "@alloy-js/python!ImportStatementProps:interface",
|
|
4106
|
-
"docComment": "",
|
|
4107
|
-
"excerptTokens": [
|
|
4108
|
-
{
|
|
4109
|
-
"kind": "Content",
|
|
4110
|
-
"text": "export interface ImportStatementProps "
|
|
4111
|
-
}
|
|
4112
|
-
],
|
|
4113
|
-
"fileUrlPath": "src/components/ImportStatement.tsx",
|
|
4114
|
-
"releaseTag": "Public",
|
|
4115
|
-
"name": "ImportStatementProps",
|
|
4116
|
-
"preserveMemberOrder": false,
|
|
4117
|
-
"members": [
|
|
3829
|
+
"text": "export interface ImportStatementProps "
|
|
3830
|
+
}
|
|
3831
|
+
],
|
|
3832
|
+
"fileUrlPath": "src/components/ImportStatement.tsx",
|
|
3833
|
+
"releaseTag": "Public",
|
|
3834
|
+
"name": "ImportStatementProps",
|
|
3835
|
+
"preserveMemberOrder": false,
|
|
3836
|
+
"members": [
|
|
4118
3837
|
{
|
|
4119
3838
|
"kind": "PropertySignature",
|
|
4120
3839
|
"canonicalReference": "@alloy-js/python!ImportStatementProps#path:member",
|
|
@@ -4295,7 +4014,7 @@
|
|
|
4295
4014
|
{
|
|
4296
4015
|
"kind": "Reference",
|
|
4297
4016
|
"text": "ImportRecords",
|
|
4298
|
-
"canonicalReference": "@alloy-js/python!ImportRecords:
|
|
4017
|
+
"canonicalReference": "@alloy-js/python!ImportRecords:class"
|
|
4299
4018
|
},
|
|
4300
4019
|
{
|
|
4301
4020
|
"kind": "Content",
|
|
@@ -4409,6 +4128,155 @@
|
|
|
4409
4128
|
}
|
|
4410
4129
|
]
|
|
4411
4130
|
},
|
|
4131
|
+
{
|
|
4132
|
+
"kind": "Interface",
|
|
4133
|
+
"canonicalReference": "@alloy-js/python!LeixcalScopePropsWithScopeInfo:interface",
|
|
4134
|
+
"docComment": "",
|
|
4135
|
+
"excerptTokens": [
|
|
4136
|
+
{
|
|
4137
|
+
"kind": "Content",
|
|
4138
|
+
"text": "export interface LeixcalScopePropsWithScopeInfo extends "
|
|
4139
|
+
},
|
|
4140
|
+
{
|
|
4141
|
+
"kind": "Reference",
|
|
4142
|
+
"text": "ScopePropsWithInfo",
|
|
4143
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithInfo:interface"
|
|
4144
|
+
},
|
|
4145
|
+
{
|
|
4146
|
+
"kind": "Content",
|
|
4147
|
+
"text": " "
|
|
4148
|
+
}
|
|
4149
|
+
],
|
|
4150
|
+
"fileUrlPath": "src/components/LexicalScope.tsx",
|
|
4151
|
+
"releaseTag": "Public",
|
|
4152
|
+
"name": "LeixcalScopePropsWithScopeInfo",
|
|
4153
|
+
"preserveMemberOrder": false,
|
|
4154
|
+
"members": [],
|
|
4155
|
+
"extendsTokenRanges": [
|
|
4156
|
+
{
|
|
4157
|
+
"startIndex": 1,
|
|
4158
|
+
"endIndex": 2
|
|
4159
|
+
}
|
|
4160
|
+
]
|
|
4161
|
+
},
|
|
4162
|
+
{
|
|
4163
|
+
"kind": "Function",
|
|
4164
|
+
"canonicalReference": "@alloy-js/python!LexicalScope:function(1)",
|
|
4165
|
+
"docComment": "",
|
|
4166
|
+
"excerptTokens": [
|
|
4167
|
+
{
|
|
4168
|
+
"kind": "Content",
|
|
4169
|
+
"text": "export declare function LexicalScope(props: "
|
|
4170
|
+
},
|
|
4171
|
+
{
|
|
4172
|
+
"kind": "Reference",
|
|
4173
|
+
"text": "LexicalScopeProps",
|
|
4174
|
+
"canonicalReference": "@alloy-js/python!LexicalScopeProps:type"
|
|
4175
|
+
},
|
|
4176
|
+
{
|
|
4177
|
+
"kind": "Content",
|
|
4178
|
+
"text": "): "
|
|
4179
|
+
},
|
|
4180
|
+
{
|
|
4181
|
+
"kind": "Content",
|
|
4182
|
+
"text": "import(\"@alloy-js/core\")."
|
|
4183
|
+
},
|
|
4184
|
+
{
|
|
4185
|
+
"kind": "Reference",
|
|
4186
|
+
"text": "Children",
|
|
4187
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
4188
|
+
},
|
|
4189
|
+
{
|
|
4190
|
+
"kind": "Content",
|
|
4191
|
+
"text": ";"
|
|
4192
|
+
}
|
|
4193
|
+
],
|
|
4194
|
+
"fileUrlPath": "src/components/LexicalScope.tsx",
|
|
4195
|
+
"returnTypeTokenRange": {
|
|
4196
|
+
"startIndex": 3,
|
|
4197
|
+
"endIndex": 5
|
|
4198
|
+
},
|
|
4199
|
+
"releaseTag": "Public",
|
|
4200
|
+
"overloadIndex": 1,
|
|
4201
|
+
"parameters": [
|
|
4202
|
+
{
|
|
4203
|
+
"parameterName": "props",
|
|
4204
|
+
"parameterTypeTokenRange": {
|
|
4205
|
+
"startIndex": 1,
|
|
4206
|
+
"endIndex": 2
|
|
4207
|
+
},
|
|
4208
|
+
"isOptional": false
|
|
4209
|
+
}
|
|
4210
|
+
],
|
|
4211
|
+
"name": "LexicalScope"
|
|
4212
|
+
},
|
|
4213
|
+
{
|
|
4214
|
+
"kind": "TypeAlias",
|
|
4215
|
+
"canonicalReference": "@alloy-js/python!LexicalScopeProps:type",
|
|
4216
|
+
"docComment": "",
|
|
4217
|
+
"excerptTokens": [
|
|
4218
|
+
{
|
|
4219
|
+
"kind": "Content",
|
|
4220
|
+
"text": "export type LexicalScopeProps = "
|
|
4221
|
+
},
|
|
4222
|
+
{
|
|
4223
|
+
"kind": "Reference",
|
|
4224
|
+
"text": "LexicalScopePropsWithScopeValue",
|
|
4225
|
+
"canonicalReference": "@alloy-js/python!LexicalScopePropsWithScopeValue:interface"
|
|
4226
|
+
},
|
|
4227
|
+
{
|
|
4228
|
+
"kind": "Content",
|
|
4229
|
+
"text": " | "
|
|
4230
|
+
},
|
|
4231
|
+
{
|
|
4232
|
+
"kind": "Reference",
|
|
4233
|
+
"text": "LeixcalScopePropsWithScopeInfo",
|
|
4234
|
+
"canonicalReference": "@alloy-js/python!LeixcalScopePropsWithScopeInfo:interface"
|
|
4235
|
+
},
|
|
4236
|
+
{
|
|
4237
|
+
"kind": "Content",
|
|
4238
|
+
"text": ";"
|
|
4239
|
+
}
|
|
4240
|
+
],
|
|
4241
|
+
"fileUrlPath": "src/components/LexicalScope.tsx",
|
|
4242
|
+
"releaseTag": "Public",
|
|
4243
|
+
"name": "LexicalScopeProps",
|
|
4244
|
+
"typeTokenRange": {
|
|
4245
|
+
"startIndex": 1,
|
|
4246
|
+
"endIndex": 4
|
|
4247
|
+
}
|
|
4248
|
+
},
|
|
4249
|
+
{
|
|
4250
|
+
"kind": "Interface",
|
|
4251
|
+
"canonicalReference": "@alloy-js/python!LexicalScopePropsWithScopeValue:interface",
|
|
4252
|
+
"docComment": "",
|
|
4253
|
+
"excerptTokens": [
|
|
4254
|
+
{
|
|
4255
|
+
"kind": "Content",
|
|
4256
|
+
"text": "export interface LexicalScopePropsWithScopeValue extends "
|
|
4257
|
+
},
|
|
4258
|
+
{
|
|
4259
|
+
"kind": "Reference",
|
|
4260
|
+
"text": "ScopePropsWithValue",
|
|
4261
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithValue:interface"
|
|
4262
|
+
},
|
|
4263
|
+
{
|
|
4264
|
+
"kind": "Content",
|
|
4265
|
+
"text": " "
|
|
4266
|
+
}
|
|
4267
|
+
],
|
|
4268
|
+
"fileUrlPath": "src/components/LexicalScope.tsx",
|
|
4269
|
+
"releaseTag": "Public",
|
|
4270
|
+
"name": "LexicalScopePropsWithScopeValue",
|
|
4271
|
+
"preserveMemberOrder": false,
|
|
4272
|
+
"members": [],
|
|
4273
|
+
"extendsTokenRanges": [
|
|
4274
|
+
{
|
|
4275
|
+
"startIndex": 1,
|
|
4276
|
+
"endIndex": 2
|
|
4277
|
+
}
|
|
4278
|
+
]
|
|
4279
|
+
},
|
|
4412
4280
|
{
|
|
4413
4281
|
"kind": "Function",
|
|
4414
4282
|
"canonicalReference": "@alloy-js/python!MemberExpression:function(1)",
|
|
@@ -4808,35 +4676,156 @@
|
|
|
4808
4676
|
"extendsTokenRanges": []
|
|
4809
4677
|
},
|
|
4810
4678
|
{
|
|
4811
|
-
"kind": "
|
|
4812
|
-
"canonicalReference": "@alloy-js/python!
|
|
4679
|
+
"kind": "Function",
|
|
4680
|
+
"canonicalReference": "@alloy-js/python!MemberScope:function(1)",
|
|
4813
4681
|
"docComment": "",
|
|
4814
4682
|
"excerptTokens": [
|
|
4815
4683
|
{
|
|
4816
4684
|
"kind": "Content",
|
|
4817
|
-
"text": "export
|
|
4685
|
+
"text": "export declare function MemberScope(props: "
|
|
4686
|
+
},
|
|
4687
|
+
{
|
|
4688
|
+
"kind": "Reference",
|
|
4689
|
+
"text": "MemberScopeProps",
|
|
4690
|
+
"canonicalReference": "@alloy-js/python!MemberScopeProps:interface"
|
|
4691
|
+
},
|
|
4692
|
+
{
|
|
4693
|
+
"kind": "Content",
|
|
4694
|
+
"text": "): "
|
|
4695
|
+
},
|
|
4696
|
+
{
|
|
4697
|
+
"kind": "Reference",
|
|
4698
|
+
"text": "Children",
|
|
4699
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
4700
|
+
},
|
|
4701
|
+
{
|
|
4702
|
+
"kind": "Content",
|
|
4703
|
+
"text": ";"
|
|
4818
4704
|
}
|
|
4819
4705
|
],
|
|
4820
|
-
"fileUrlPath": "src/
|
|
4706
|
+
"fileUrlPath": "src/components/MemberScope.tsx",
|
|
4707
|
+
"returnTypeTokenRange": {
|
|
4708
|
+
"startIndex": 3,
|
|
4709
|
+
"endIndex": 4
|
|
4710
|
+
},
|
|
4821
4711
|
"releaseTag": "Public",
|
|
4822
|
-
"
|
|
4823
|
-
"
|
|
4824
|
-
"members": [
|
|
4712
|
+
"overloadIndex": 1,
|
|
4713
|
+
"parameters": [
|
|
4825
4714
|
{
|
|
4826
|
-
"
|
|
4827
|
-
"
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4715
|
+
"parameterName": "props",
|
|
4716
|
+
"parameterTypeTokenRange": {
|
|
4717
|
+
"startIndex": 1,
|
|
4718
|
+
"endIndex": 2
|
|
4719
|
+
},
|
|
4720
|
+
"isOptional": false
|
|
4721
|
+
}
|
|
4722
|
+
],
|
|
4723
|
+
"name": "MemberScope"
|
|
4724
|
+
},
|
|
4725
|
+
{
|
|
4726
|
+
"kind": "Interface",
|
|
4727
|
+
"canonicalReference": "@alloy-js/python!MemberScopeProps:interface",
|
|
4728
|
+
"docComment": "",
|
|
4729
|
+
"excerptTokens": [
|
|
4730
|
+
{
|
|
4731
|
+
"kind": "Content",
|
|
4732
|
+
"text": "export interface MemberScopeProps "
|
|
4733
|
+
}
|
|
4734
|
+
],
|
|
4735
|
+
"fileUrlPath": "src/components/MemberScope.tsx",
|
|
4736
|
+
"releaseTag": "Public",
|
|
4737
|
+
"name": "MemberScopeProps",
|
|
4738
|
+
"preserveMemberOrder": false,
|
|
4739
|
+
"members": [
|
|
4740
|
+
{
|
|
4741
|
+
"kind": "PropertySignature",
|
|
4742
|
+
"canonicalReference": "@alloy-js/python!MemberScopeProps#children:member",
|
|
4743
|
+
"docComment": "",
|
|
4744
|
+
"excerptTokens": [
|
|
4745
|
+
{
|
|
4746
|
+
"kind": "Content",
|
|
4747
|
+
"text": "children: "
|
|
4748
|
+
},
|
|
4749
|
+
{
|
|
4750
|
+
"kind": "Reference",
|
|
4751
|
+
"text": "Children",
|
|
4752
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
4753
|
+
},
|
|
4754
|
+
{
|
|
4755
|
+
"kind": "Content",
|
|
4756
|
+
"text": ";"
|
|
4757
|
+
}
|
|
4758
|
+
],
|
|
4759
|
+
"isReadonly": false,
|
|
4760
|
+
"isOptional": false,
|
|
4761
|
+
"releaseTag": "Public",
|
|
4762
|
+
"name": "children",
|
|
4763
|
+
"propertyTypeTokenRange": {
|
|
4764
|
+
"startIndex": 1,
|
|
4765
|
+
"endIndex": 2
|
|
4766
|
+
}
|
|
4767
|
+
},
|
|
4768
|
+
{
|
|
4769
|
+
"kind": "PropertySignature",
|
|
4770
|
+
"canonicalReference": "@alloy-js/python!MemberScopeProps#ownerSymbol:member",
|
|
4771
|
+
"docComment": "",
|
|
4772
|
+
"excerptTokens": [
|
|
4773
|
+
{
|
|
4774
|
+
"kind": "Content",
|
|
4775
|
+
"text": "ownerSymbol: "
|
|
4776
|
+
},
|
|
4777
|
+
{
|
|
4778
|
+
"kind": "Reference",
|
|
4779
|
+
"text": "PythonOutputSymbol",
|
|
4780
|
+
"canonicalReference": "@alloy-js/python!PythonOutputSymbol:class"
|
|
4781
|
+
},
|
|
4782
|
+
{
|
|
4783
|
+
"kind": "Content",
|
|
4784
|
+
"text": ";"
|
|
4785
|
+
}
|
|
4786
|
+
],
|
|
4787
|
+
"isReadonly": false,
|
|
4788
|
+
"isOptional": false,
|
|
4789
|
+
"releaseTag": "Public",
|
|
4790
|
+
"name": "ownerSymbol",
|
|
4791
|
+
"propertyTypeTokenRange": {
|
|
4792
|
+
"startIndex": 1,
|
|
4793
|
+
"endIndex": 2
|
|
4794
|
+
}
|
|
4795
|
+
}
|
|
4796
|
+
],
|
|
4797
|
+
"extendsTokenRanges": []
|
|
4798
|
+
},
|
|
4799
|
+
{
|
|
4800
|
+
"kind": "Interface",
|
|
4801
|
+
"canonicalReference": "@alloy-js/python!ModuleDescriptor:interface",
|
|
4802
|
+
"docComment": "",
|
|
4803
|
+
"excerptTokens": [
|
|
4804
|
+
{
|
|
4805
|
+
"kind": "Content",
|
|
4806
|
+
"text": "export interface ModuleDescriptor "
|
|
4807
|
+
}
|
|
4808
|
+
],
|
|
4809
|
+
"fileUrlPath": "src/create-module.ts",
|
|
4810
|
+
"releaseTag": "Public",
|
|
4811
|
+
"name": "ModuleDescriptor",
|
|
4812
|
+
"preserveMemberOrder": false,
|
|
4813
|
+
"members": [
|
|
4814
|
+
{
|
|
4815
|
+
"kind": "IndexSignature",
|
|
4816
|
+
"canonicalReference": "@alloy-js/python!ModuleDescriptor:index(1)",
|
|
4817
|
+
"docComment": "",
|
|
4818
|
+
"excerptTokens": [
|
|
4819
|
+
{
|
|
4820
|
+
"kind": "Content",
|
|
4821
|
+
"text": "[path: "
|
|
4822
|
+
},
|
|
4823
|
+
{
|
|
4824
|
+
"kind": "Content",
|
|
4825
|
+
"text": "string"
|
|
4826
|
+
},
|
|
4827
|
+
{
|
|
4828
|
+
"kind": "Content",
|
|
4840
4829
|
"text": "]: "
|
|
4841
4830
|
},
|
|
4842
4831
|
{
|
|
@@ -5610,41 +5599,41 @@
|
|
|
5610
5599
|
},
|
|
5611
5600
|
{
|
|
5612
5601
|
"kind": "Class",
|
|
5613
|
-
"canonicalReference": "@alloy-js/python!
|
|
5602
|
+
"canonicalReference": "@alloy-js/python!PythonLexicalScope:class",
|
|
5614
5603
|
"docComment": "",
|
|
5615
5604
|
"excerptTokens": [
|
|
5616
5605
|
{
|
|
5617
5606
|
"kind": "Content",
|
|
5618
|
-
"text": "export declare class
|
|
5607
|
+
"text": "export declare class PythonLexicalScope extends "
|
|
5619
5608
|
},
|
|
5620
5609
|
{
|
|
5621
5610
|
"kind": "Reference",
|
|
5622
|
-
"text": "
|
|
5623
|
-
"canonicalReference": "@alloy-js/
|
|
5611
|
+
"text": "OutputScope",
|
|
5612
|
+
"canonicalReference": "@alloy-js/core!OutputScope:class"
|
|
5624
5613
|
},
|
|
5625
5614
|
{
|
|
5626
5615
|
"kind": "Content",
|
|
5627
5616
|
"text": " "
|
|
5628
5617
|
}
|
|
5629
5618
|
],
|
|
5630
|
-
"fileUrlPath": "src/symbols/python-
|
|
5619
|
+
"fileUrlPath": "src/symbols/python-lexical-scope.ts",
|
|
5631
5620
|
"releaseTag": "Public",
|
|
5632
5621
|
"isAbstract": false,
|
|
5633
|
-
"name": "
|
|
5622
|
+
"name": "PythonLexicalScope",
|
|
5634
5623
|
"preserveMemberOrder": false,
|
|
5635
5624
|
"members": [
|
|
5636
5625
|
{
|
|
5637
5626
|
"kind": "Property",
|
|
5638
|
-
"canonicalReference": "@alloy-js/python!
|
|
5627
|
+
"canonicalReference": "@alloy-js/python!PythonLexicalScope.declarationSpaces:member",
|
|
5639
5628
|
"docComment": "",
|
|
5640
5629
|
"excerptTokens": [
|
|
5641
5630
|
{
|
|
5642
5631
|
"kind": "Content",
|
|
5643
|
-
"text": "
|
|
5632
|
+
"text": "static readonly declarationSpaces: "
|
|
5644
5633
|
},
|
|
5645
5634
|
{
|
|
5646
5635
|
"kind": "Content",
|
|
5647
|
-
"text": "
|
|
5636
|
+
"text": "readonly string[]"
|
|
5648
5637
|
},
|
|
5649
5638
|
{
|
|
5650
5639
|
"kind": "Content",
|
|
@@ -5654,23 +5643,120 @@
|
|
|
5654
5643
|
"isReadonly": true,
|
|
5655
5644
|
"isOptional": false,
|
|
5656
5645
|
"releaseTag": "Public",
|
|
5657
|
-
"name": "
|
|
5646
|
+
"name": "declarationSpaces",
|
|
5658
5647
|
"propertyTypeTokenRange": {
|
|
5659
5648
|
"startIndex": 1,
|
|
5660
5649
|
"endIndex": 2
|
|
5661
5650
|
},
|
|
5651
|
+
"isStatic": true,
|
|
5652
|
+
"isProtected": false,
|
|
5653
|
+
"isAbstract": false
|
|
5654
|
+
},
|
|
5655
|
+
{
|
|
5656
|
+
"kind": "Property",
|
|
5657
|
+
"canonicalReference": "@alloy-js/python!PythonLexicalScope#ownerSymbol:member",
|
|
5658
|
+
"docComment": "",
|
|
5659
|
+
"excerptTokens": [
|
|
5660
|
+
{
|
|
5661
|
+
"kind": "Content",
|
|
5662
|
+
"text": "get ownerSymbol(): "
|
|
5663
|
+
},
|
|
5664
|
+
{
|
|
5665
|
+
"kind": "Content",
|
|
5666
|
+
"text": "undefined"
|
|
5667
|
+
},
|
|
5668
|
+
{
|
|
5669
|
+
"kind": "Content",
|
|
5670
|
+
"text": ";"
|
|
5671
|
+
}
|
|
5672
|
+
],
|
|
5673
|
+
"isReadonly": true,
|
|
5674
|
+
"isOptional": false,
|
|
5675
|
+
"releaseTag": "Public",
|
|
5676
|
+
"name": "ownerSymbol",
|
|
5677
|
+
"propertyTypeTokenRange": {
|
|
5678
|
+
"startIndex": 1,
|
|
5679
|
+
"endIndex": 2
|
|
5680
|
+
},
|
|
5681
|
+
"isStatic": false,
|
|
5682
|
+
"isProtected": false,
|
|
5683
|
+
"isAbstract": false
|
|
5684
|
+
},
|
|
5685
|
+
{
|
|
5686
|
+
"kind": "Property",
|
|
5687
|
+
"canonicalReference": "@alloy-js/python!PythonLexicalScope#symbols:member",
|
|
5688
|
+
"docComment": "",
|
|
5689
|
+
"excerptTokens": [
|
|
5690
|
+
{
|
|
5691
|
+
"kind": "Content",
|
|
5692
|
+
"text": "get symbols(): "
|
|
5693
|
+
},
|
|
5694
|
+
{
|
|
5695
|
+
"kind": "Content",
|
|
5696
|
+
"text": "import(\"@alloy-js/core\")."
|
|
5697
|
+
},
|
|
5698
|
+
{
|
|
5699
|
+
"kind": "Reference",
|
|
5700
|
+
"text": "OutputSpace",
|
|
5701
|
+
"canonicalReference": "@alloy-js/core!OutputSpace:type"
|
|
5702
|
+
},
|
|
5703
|
+
{
|
|
5704
|
+
"kind": "Content",
|
|
5705
|
+
"text": ";"
|
|
5706
|
+
}
|
|
5707
|
+
],
|
|
5708
|
+
"isReadonly": true,
|
|
5709
|
+
"isOptional": false,
|
|
5710
|
+
"releaseTag": "Public",
|
|
5711
|
+
"name": "symbols",
|
|
5712
|
+
"propertyTypeTokenRange": {
|
|
5713
|
+
"startIndex": 1,
|
|
5714
|
+
"endIndex": 3
|
|
5715
|
+
},
|
|
5662
5716
|
"isStatic": false,
|
|
5663
5717
|
"isProtected": false,
|
|
5664
5718
|
"isAbstract": false
|
|
5719
|
+
}
|
|
5720
|
+
],
|
|
5721
|
+
"extendsTokenRange": {
|
|
5722
|
+
"startIndex": 1,
|
|
5723
|
+
"endIndex": 2
|
|
5724
|
+
},
|
|
5725
|
+
"implementsTokenRanges": []
|
|
5726
|
+
},
|
|
5727
|
+
{
|
|
5728
|
+
"kind": "Class",
|
|
5729
|
+
"canonicalReference": "@alloy-js/python!PythonMemberScope:class",
|
|
5730
|
+
"docComment": "",
|
|
5731
|
+
"excerptTokens": [
|
|
5732
|
+
{
|
|
5733
|
+
"kind": "Content",
|
|
5734
|
+
"text": "export declare class PythonMemberScope extends "
|
|
5735
|
+
},
|
|
5736
|
+
{
|
|
5737
|
+
"kind": "Reference",
|
|
5738
|
+
"text": "OutputScope",
|
|
5739
|
+
"canonicalReference": "@alloy-js/core!OutputScope:class"
|
|
5665
5740
|
},
|
|
5741
|
+
{
|
|
5742
|
+
"kind": "Content",
|
|
5743
|
+
"text": " "
|
|
5744
|
+
}
|
|
5745
|
+
],
|
|
5746
|
+
"fileUrlPath": "src/symbols/python-member-scope.ts",
|
|
5747
|
+
"releaseTag": "Public",
|
|
5748
|
+
"isAbstract": false,
|
|
5749
|
+
"name": "PythonMemberScope",
|
|
5750
|
+
"preserveMemberOrder": false,
|
|
5751
|
+
"members": [
|
|
5666
5752
|
{
|
|
5667
5753
|
"kind": "Property",
|
|
5668
|
-
"canonicalReference": "@alloy-js/python!PythonMemberScope#
|
|
5754
|
+
"canonicalReference": "@alloy-js/python!PythonMemberScope#ownerSymbol:member",
|
|
5669
5755
|
"docComment": "",
|
|
5670
5756
|
"excerptTokens": [
|
|
5671
5757
|
{
|
|
5672
5758
|
"kind": "Content",
|
|
5673
|
-
"text": "get
|
|
5759
|
+
"text": "get ownerSymbol(): "
|
|
5674
5760
|
},
|
|
5675
5761
|
{
|
|
5676
5762
|
"kind": "Reference",
|
|
@@ -5685,7 +5771,7 @@
|
|
|
5685
5771
|
"isReadonly": true,
|
|
5686
5772
|
"isOptional": false,
|
|
5687
5773
|
"releaseTag": "Public",
|
|
5688
|
-
"name": "
|
|
5774
|
+
"name": "ownerSymbol",
|
|
5689
5775
|
"propertyTypeTokenRange": {
|
|
5690
5776
|
"startIndex": 1,
|
|
5691
5777
|
"endIndex": 2
|
|
@@ -5712,8 +5798,8 @@
|
|
|
5712
5798
|
},
|
|
5713
5799
|
{
|
|
5714
5800
|
"kind": "Reference",
|
|
5715
|
-
"text": "
|
|
5716
|
-
"canonicalReference": "@alloy-js/python!
|
|
5801
|
+
"text": "PythonLexicalScope",
|
|
5802
|
+
"canonicalReference": "@alloy-js/python!PythonLexicalScope:class"
|
|
5717
5803
|
},
|
|
5718
5804
|
{
|
|
5719
5805
|
"kind": "Content",
|
|
@@ -5795,17 +5881,323 @@
|
|
|
5795
5881
|
},
|
|
5796
5882
|
{
|
|
5797
5883
|
"kind": "Property",
|
|
5798
|
-
"canonicalReference": "@alloy-js/python!PythonModuleScope#importedModules:member",
|
|
5884
|
+
"canonicalReference": "@alloy-js/python!PythonModuleScope#importedModules:member",
|
|
5885
|
+
"docComment": "",
|
|
5886
|
+
"excerptTokens": [
|
|
5887
|
+
{
|
|
5888
|
+
"kind": "Content",
|
|
5889
|
+
"text": "get importedModules(): "
|
|
5890
|
+
},
|
|
5891
|
+
{
|
|
5892
|
+
"kind": "Reference",
|
|
5893
|
+
"text": "ImportRecords",
|
|
5894
|
+
"canonicalReference": "@alloy-js/python!ImportRecords:class"
|
|
5895
|
+
},
|
|
5896
|
+
{
|
|
5897
|
+
"kind": "Content",
|
|
5898
|
+
"text": ";"
|
|
5899
|
+
}
|
|
5900
|
+
],
|
|
5901
|
+
"isReadonly": true,
|
|
5902
|
+
"isOptional": false,
|
|
5903
|
+
"releaseTag": "Public",
|
|
5904
|
+
"name": "importedModules",
|
|
5905
|
+
"propertyTypeTokenRange": {
|
|
5906
|
+
"startIndex": 1,
|
|
5907
|
+
"endIndex": 2
|
|
5908
|
+
},
|
|
5909
|
+
"isStatic": false,
|
|
5910
|
+
"isProtected": false,
|
|
5911
|
+
"isAbstract": false
|
|
5912
|
+
},
|
|
5913
|
+
{
|
|
5914
|
+
"kind": "Property",
|
|
5915
|
+
"canonicalReference": "@alloy-js/python!PythonModuleScope#importedSymbols:member",
|
|
5916
|
+
"docComment": "",
|
|
5917
|
+
"excerptTokens": [
|
|
5918
|
+
{
|
|
5919
|
+
"kind": "Content",
|
|
5920
|
+
"text": "get importedSymbols(): "
|
|
5921
|
+
},
|
|
5922
|
+
{
|
|
5923
|
+
"kind": "Reference",
|
|
5924
|
+
"text": "Map",
|
|
5925
|
+
"canonicalReference": "!Map:interface"
|
|
5926
|
+
},
|
|
5927
|
+
{
|
|
5928
|
+
"kind": "Content",
|
|
5929
|
+
"text": "<"
|
|
5930
|
+
},
|
|
5931
|
+
{
|
|
5932
|
+
"kind": "Reference",
|
|
5933
|
+
"text": "PythonOutputSymbol",
|
|
5934
|
+
"canonicalReference": "@alloy-js/python!PythonOutputSymbol:class"
|
|
5935
|
+
},
|
|
5936
|
+
{
|
|
5937
|
+
"kind": "Content",
|
|
5938
|
+
"text": ", "
|
|
5939
|
+
},
|
|
5940
|
+
{
|
|
5941
|
+
"kind": "Reference",
|
|
5942
|
+
"text": "PythonOutputSymbol",
|
|
5943
|
+
"canonicalReference": "@alloy-js/python!PythonOutputSymbol:class"
|
|
5944
|
+
},
|
|
5945
|
+
{
|
|
5946
|
+
"kind": "Content",
|
|
5947
|
+
"text": ">"
|
|
5948
|
+
},
|
|
5949
|
+
{
|
|
5950
|
+
"kind": "Content",
|
|
5951
|
+
"text": ";"
|
|
5952
|
+
}
|
|
5953
|
+
],
|
|
5954
|
+
"isReadonly": true,
|
|
5955
|
+
"isOptional": false,
|
|
5956
|
+
"releaseTag": "Public",
|
|
5957
|
+
"name": "importedSymbols",
|
|
5958
|
+
"propertyTypeTokenRange": {
|
|
5959
|
+
"startIndex": 1,
|
|
5960
|
+
"endIndex": 7
|
|
5961
|
+
},
|
|
5962
|
+
"isStatic": false,
|
|
5963
|
+
"isProtected": false,
|
|
5964
|
+
"isAbstract": false
|
|
5965
|
+
}
|
|
5966
|
+
],
|
|
5967
|
+
"extendsTokenRange": {
|
|
5968
|
+
"startIndex": 1,
|
|
5969
|
+
"endIndex": 2
|
|
5970
|
+
},
|
|
5971
|
+
"implementsTokenRanges": []
|
|
5972
|
+
},
|
|
5973
|
+
{
|
|
5974
|
+
"kind": "TypeAlias",
|
|
5975
|
+
"canonicalReference": "@alloy-js/python!PythonOutputScope:type",
|
|
5976
|
+
"docComment": "",
|
|
5977
|
+
"excerptTokens": [
|
|
5978
|
+
{
|
|
5979
|
+
"kind": "Content",
|
|
5980
|
+
"text": "export type PythonOutputScope = "
|
|
5981
|
+
},
|
|
5982
|
+
{
|
|
5983
|
+
"kind": "Reference",
|
|
5984
|
+
"text": "PythonLexicalScope",
|
|
5985
|
+
"canonicalReference": "@alloy-js/python!PythonLexicalScope:class"
|
|
5986
|
+
},
|
|
5987
|
+
{
|
|
5988
|
+
"kind": "Content",
|
|
5989
|
+
"text": " | "
|
|
5990
|
+
},
|
|
5991
|
+
{
|
|
5992
|
+
"kind": "Reference",
|
|
5993
|
+
"text": "PythonModuleScope",
|
|
5994
|
+
"canonicalReference": "@alloy-js/python!PythonModuleScope:class"
|
|
5995
|
+
},
|
|
5996
|
+
{
|
|
5997
|
+
"kind": "Content",
|
|
5998
|
+
"text": " | "
|
|
5999
|
+
},
|
|
6000
|
+
{
|
|
6001
|
+
"kind": "Reference",
|
|
6002
|
+
"text": "PythonMemberScope",
|
|
6003
|
+
"canonicalReference": "@alloy-js/python!PythonMemberScope:class"
|
|
6004
|
+
},
|
|
6005
|
+
{
|
|
6006
|
+
"kind": "Content",
|
|
6007
|
+
"text": ";"
|
|
6008
|
+
}
|
|
6009
|
+
],
|
|
6010
|
+
"fileUrlPath": "src/symbols/scopes.ts",
|
|
6011
|
+
"releaseTag": "Public",
|
|
6012
|
+
"name": "PythonOutputScope",
|
|
6013
|
+
"typeTokenRange": {
|
|
6014
|
+
"startIndex": 1,
|
|
6015
|
+
"endIndex": 6
|
|
6016
|
+
}
|
|
6017
|
+
},
|
|
6018
|
+
{
|
|
6019
|
+
"kind": "Class",
|
|
6020
|
+
"canonicalReference": "@alloy-js/python!PythonOutputSymbol:class",
|
|
6021
|
+
"docComment": "/**\n * Represents an 'exported' symbol from a .py file. Class, enum, interface etc.\n */\n",
|
|
6022
|
+
"excerptTokens": [
|
|
6023
|
+
{
|
|
6024
|
+
"kind": "Content",
|
|
6025
|
+
"text": "export declare class PythonOutputSymbol extends "
|
|
6026
|
+
},
|
|
6027
|
+
{
|
|
6028
|
+
"kind": "Reference",
|
|
6029
|
+
"text": "OutputSymbol",
|
|
6030
|
+
"canonicalReference": "@alloy-js/core!OutputSymbol:class"
|
|
6031
|
+
},
|
|
6032
|
+
{
|
|
6033
|
+
"kind": "Content",
|
|
6034
|
+
"text": " "
|
|
6035
|
+
}
|
|
6036
|
+
],
|
|
6037
|
+
"fileUrlPath": "src/symbols/python-output-symbol.ts",
|
|
6038
|
+
"releaseTag": "Public",
|
|
6039
|
+
"isAbstract": false,
|
|
6040
|
+
"name": "PythonOutputSymbol",
|
|
6041
|
+
"preserveMemberOrder": false,
|
|
6042
|
+
"members": [
|
|
6043
|
+
{
|
|
6044
|
+
"kind": "Constructor",
|
|
6045
|
+
"canonicalReference": "@alloy-js/python!PythonOutputSymbol:constructor(1)",
|
|
6046
|
+
"docComment": "/**\n * Constructs a new instance of the `PythonOutputSymbol` class\n */\n",
|
|
6047
|
+
"excerptTokens": [
|
|
6048
|
+
{
|
|
6049
|
+
"kind": "Content",
|
|
6050
|
+
"text": "constructor(name: "
|
|
6051
|
+
},
|
|
6052
|
+
{
|
|
6053
|
+
"kind": "Content",
|
|
6054
|
+
"text": "string"
|
|
6055
|
+
},
|
|
6056
|
+
{
|
|
6057
|
+
"kind": "Content",
|
|
6058
|
+
"text": ", spaces: "
|
|
6059
|
+
},
|
|
6060
|
+
{
|
|
6061
|
+
"kind": "Reference",
|
|
6062
|
+
"text": "OutputSpace",
|
|
6063
|
+
"canonicalReference": "@alloy-js/core!OutputSpace:type"
|
|
6064
|
+
},
|
|
6065
|
+
{
|
|
6066
|
+
"kind": "Content",
|
|
6067
|
+
"text": "[] | "
|
|
6068
|
+
},
|
|
6069
|
+
{
|
|
6070
|
+
"kind": "Reference",
|
|
6071
|
+
"text": "OutputSpace",
|
|
6072
|
+
"canonicalReference": "@alloy-js/core!OutputSpace:type"
|
|
6073
|
+
},
|
|
6074
|
+
{
|
|
6075
|
+
"kind": "Content",
|
|
6076
|
+
"text": " | undefined"
|
|
6077
|
+
},
|
|
6078
|
+
{
|
|
6079
|
+
"kind": "Content",
|
|
6080
|
+
"text": ", options: "
|
|
6081
|
+
},
|
|
6082
|
+
{
|
|
6083
|
+
"kind": "Reference",
|
|
6084
|
+
"text": "PythonOutputSymbolOptions",
|
|
6085
|
+
"canonicalReference": "@alloy-js/python!PythonOutputSymbolOptions:interface"
|
|
6086
|
+
},
|
|
6087
|
+
{
|
|
6088
|
+
"kind": "Content",
|
|
6089
|
+
"text": ");"
|
|
6090
|
+
}
|
|
6091
|
+
],
|
|
6092
|
+
"releaseTag": "Public",
|
|
6093
|
+
"isProtected": false,
|
|
6094
|
+
"overloadIndex": 1,
|
|
6095
|
+
"parameters": [
|
|
6096
|
+
{
|
|
6097
|
+
"parameterName": "name",
|
|
6098
|
+
"parameterTypeTokenRange": {
|
|
6099
|
+
"startIndex": 1,
|
|
6100
|
+
"endIndex": 2
|
|
6101
|
+
},
|
|
6102
|
+
"isOptional": false
|
|
6103
|
+
},
|
|
6104
|
+
{
|
|
6105
|
+
"parameterName": "spaces",
|
|
6106
|
+
"parameterTypeTokenRange": {
|
|
6107
|
+
"startIndex": 3,
|
|
6108
|
+
"endIndex": 7
|
|
6109
|
+
},
|
|
6110
|
+
"isOptional": false
|
|
6111
|
+
},
|
|
6112
|
+
{
|
|
6113
|
+
"parameterName": "options",
|
|
6114
|
+
"parameterTypeTokenRange": {
|
|
6115
|
+
"startIndex": 8,
|
|
6116
|
+
"endIndex": 9
|
|
6117
|
+
},
|
|
6118
|
+
"isOptional": false
|
|
6119
|
+
}
|
|
6120
|
+
]
|
|
6121
|
+
},
|
|
6122
|
+
{
|
|
6123
|
+
"kind": "Method",
|
|
6124
|
+
"canonicalReference": "@alloy-js/python!PythonOutputSymbol#copy:member(1)",
|
|
6125
|
+
"docComment": "",
|
|
6126
|
+
"excerptTokens": [
|
|
6127
|
+
{
|
|
6128
|
+
"kind": "Content",
|
|
6129
|
+
"text": "copy(): "
|
|
6130
|
+
},
|
|
6131
|
+
{
|
|
6132
|
+
"kind": "Reference",
|
|
6133
|
+
"text": "PythonOutputSymbol",
|
|
6134
|
+
"canonicalReference": "@alloy-js/python!PythonOutputSymbol:class"
|
|
6135
|
+
},
|
|
6136
|
+
{
|
|
6137
|
+
"kind": "Content",
|
|
6138
|
+
"text": ";"
|
|
6139
|
+
}
|
|
6140
|
+
],
|
|
6141
|
+
"isStatic": false,
|
|
6142
|
+
"returnTypeTokenRange": {
|
|
6143
|
+
"startIndex": 1,
|
|
6144
|
+
"endIndex": 2
|
|
6145
|
+
},
|
|
6146
|
+
"releaseTag": "Public",
|
|
6147
|
+
"isProtected": false,
|
|
6148
|
+
"overloadIndex": 1,
|
|
6149
|
+
"parameters": [],
|
|
6150
|
+
"isOptional": false,
|
|
6151
|
+
"isAbstract": false,
|
|
6152
|
+
"name": "copy"
|
|
6153
|
+
},
|
|
6154
|
+
{
|
|
6155
|
+
"kind": "Property",
|
|
6156
|
+
"canonicalReference": "@alloy-js/python!PythonOutputSymbol#instanceMembers:member",
|
|
6157
|
+
"docComment": "",
|
|
6158
|
+
"excerptTokens": [
|
|
6159
|
+
{
|
|
6160
|
+
"kind": "Content",
|
|
6161
|
+
"text": "get instanceMembers(): "
|
|
6162
|
+
},
|
|
6163
|
+
{
|
|
6164
|
+
"kind": "Content",
|
|
6165
|
+
"text": "import(\"@alloy-js/core\")."
|
|
6166
|
+
},
|
|
6167
|
+
{
|
|
6168
|
+
"kind": "Reference",
|
|
6169
|
+
"text": "OutputMemberSpace",
|
|
6170
|
+
"canonicalReference": "@alloy-js/core!OutputMemberSpace:class"
|
|
6171
|
+
},
|
|
6172
|
+
{
|
|
6173
|
+
"kind": "Content",
|
|
6174
|
+
"text": ";"
|
|
6175
|
+
}
|
|
6176
|
+
],
|
|
6177
|
+
"isReadonly": true,
|
|
6178
|
+
"isOptional": false,
|
|
6179
|
+
"releaseTag": "Public",
|
|
6180
|
+
"name": "instanceMembers",
|
|
6181
|
+
"propertyTypeTokenRange": {
|
|
6182
|
+
"startIndex": 1,
|
|
6183
|
+
"endIndex": 3
|
|
6184
|
+
},
|
|
6185
|
+
"isStatic": false,
|
|
6186
|
+
"isProtected": false,
|
|
6187
|
+
"isAbstract": false
|
|
6188
|
+
},
|
|
6189
|
+
{
|
|
6190
|
+
"kind": "Property",
|
|
6191
|
+
"canonicalReference": "@alloy-js/python!PythonOutputSymbol#isInstanceMemberSymbol:member",
|
|
5799
6192
|
"docComment": "",
|
|
5800
6193
|
"excerptTokens": [
|
|
5801
6194
|
{
|
|
5802
6195
|
"kind": "Content",
|
|
5803
|
-
"text": "get
|
|
6196
|
+
"text": "get isInstanceMemberSymbol(): "
|
|
5804
6197
|
},
|
|
5805
6198
|
{
|
|
5806
|
-
"kind": "
|
|
5807
|
-
"text": "
|
|
5808
|
-
"canonicalReference": "@alloy-js/python!ImportRecords:type"
|
|
6199
|
+
"kind": "Content",
|
|
6200
|
+
"text": "boolean"
|
|
5809
6201
|
},
|
|
5810
6202
|
{
|
|
5811
6203
|
"kind": "Content",
|
|
@@ -5815,7 +6207,7 @@
|
|
|
5815
6207
|
"isReadonly": true,
|
|
5816
6208
|
"isOptional": false,
|
|
5817
6209
|
"releaseTag": "Public",
|
|
5818
|
-
"name": "
|
|
6210
|
+
"name": "isInstanceMemberSymbol",
|
|
5819
6211
|
"propertyTypeTokenRange": {
|
|
5820
6212
|
"startIndex": 1,
|
|
5821
6213
|
"endIndex": 2
|
|
@@ -5826,39 +6218,16 @@
|
|
|
5826
6218
|
},
|
|
5827
6219
|
{
|
|
5828
6220
|
"kind": "Property",
|
|
5829
|
-
"canonicalReference": "@alloy-js/python!
|
|
6221
|
+
"canonicalReference": "@alloy-js/python!PythonOutputSymbol#isStaticMemberSymbol:member",
|
|
5830
6222
|
"docComment": "",
|
|
5831
6223
|
"excerptTokens": [
|
|
5832
6224
|
{
|
|
5833
6225
|
"kind": "Content",
|
|
5834
|
-
"text": "get
|
|
5835
|
-
},
|
|
5836
|
-
{
|
|
5837
|
-
"kind": "Reference",
|
|
5838
|
-
"text": "Map",
|
|
5839
|
-
"canonicalReference": "!Map:interface"
|
|
5840
|
-
},
|
|
5841
|
-
{
|
|
5842
|
-
"kind": "Content",
|
|
5843
|
-
"text": "<"
|
|
5844
|
-
},
|
|
5845
|
-
{
|
|
5846
|
-
"kind": "Reference",
|
|
5847
|
-
"text": "PythonOutputSymbol",
|
|
5848
|
-
"canonicalReference": "@alloy-js/python!PythonOutputSymbol:class"
|
|
5849
|
-
},
|
|
5850
|
-
{
|
|
5851
|
-
"kind": "Content",
|
|
5852
|
-
"text": ", "
|
|
5853
|
-
},
|
|
5854
|
-
{
|
|
5855
|
-
"kind": "Reference",
|
|
5856
|
-
"text": "PythonOutputSymbol",
|
|
5857
|
-
"canonicalReference": "@alloy-js/python!PythonOutputSymbol:class"
|
|
6226
|
+
"text": "get isStaticMemberSymbol(): "
|
|
5858
6227
|
},
|
|
5859
6228
|
{
|
|
5860
6229
|
"kind": "Content",
|
|
5861
|
-
"text": "
|
|
6230
|
+
"text": "boolean"
|
|
5862
6231
|
},
|
|
5863
6232
|
{
|
|
5864
6233
|
"kind": "Content",
|
|
@@ -5868,10 +6237,10 @@
|
|
|
5868
6237
|
"isReadonly": true,
|
|
5869
6238
|
"isOptional": false,
|
|
5870
6239
|
"releaseTag": "Public",
|
|
5871
|
-
"name": "
|
|
6240
|
+
"name": "isStaticMemberSymbol",
|
|
5872
6241
|
"propertyTypeTokenRange": {
|
|
5873
6242
|
"startIndex": 1,
|
|
5874
|
-
"endIndex":
|
|
6243
|
+
"endIndex": 2
|
|
5875
6244
|
},
|
|
5876
6245
|
"isStatic": false,
|
|
5877
6246
|
"isProtected": false,
|
|
@@ -5879,16 +6248,16 @@
|
|
|
5879
6248
|
},
|
|
5880
6249
|
{
|
|
5881
6250
|
"kind": "Property",
|
|
5882
|
-
"canonicalReference": "@alloy-js/python!
|
|
6251
|
+
"canonicalReference": "@alloy-js/python!PythonOutputSymbol.memberSpaces:member",
|
|
5883
6252
|
"docComment": "",
|
|
5884
6253
|
"excerptTokens": [
|
|
5885
6254
|
{
|
|
5886
6255
|
"kind": "Content",
|
|
5887
|
-
"text": "
|
|
6256
|
+
"text": "static readonly memberSpaces: "
|
|
5888
6257
|
},
|
|
5889
6258
|
{
|
|
5890
6259
|
"kind": "Content",
|
|
5891
|
-
"text": "\"
|
|
6260
|
+
"text": "readonly [\"static\", \"instance\"]"
|
|
5892
6261
|
},
|
|
5893
6262
|
{
|
|
5894
6263
|
"kind": "Content",
|
|
@@ -5898,149 +6267,62 @@
|
|
|
5898
6267
|
"isReadonly": true,
|
|
5899
6268
|
"isOptional": false,
|
|
5900
6269
|
"releaseTag": "Public",
|
|
5901
|
-
"name": "
|
|
6270
|
+
"name": "memberSpaces",
|
|
5902
6271
|
"propertyTypeTokenRange": {
|
|
5903
6272
|
"startIndex": 1,
|
|
5904
6273
|
"endIndex": 2
|
|
5905
6274
|
},
|
|
5906
|
-
"isStatic":
|
|
6275
|
+
"isStatic": true,
|
|
5907
6276
|
"isProtected": false,
|
|
5908
6277
|
"isAbstract": false
|
|
5909
|
-
}
|
|
5910
|
-
],
|
|
5911
|
-
"extendsTokenRange": {
|
|
5912
|
-
"startIndex": 1,
|
|
5913
|
-
"endIndex": 2
|
|
5914
|
-
},
|
|
5915
|
-
"implementsTokenRanges": []
|
|
5916
|
-
},
|
|
5917
|
-
{
|
|
5918
|
-
"kind": "TypeAlias",
|
|
5919
|
-
"canonicalReference": "@alloy-js/python!PythonOutputScope:type",
|
|
5920
|
-
"docComment": "",
|
|
5921
|
-
"excerptTokens": [
|
|
5922
|
-
{
|
|
5923
|
-
"kind": "Content",
|
|
5924
|
-
"text": "export type PythonOutputScope = "
|
|
5925
|
-
},
|
|
5926
|
-
{
|
|
5927
|
-
"kind": "Reference",
|
|
5928
|
-
"text": "PythonModuleScope",
|
|
5929
|
-
"canonicalReference": "@alloy-js/python!PythonModuleScope:class"
|
|
5930
|
-
},
|
|
5931
|
-
{
|
|
5932
|
-
"kind": "Content",
|
|
5933
|
-
"text": " | "
|
|
5934
6278
|
},
|
|
5935
6279
|
{
|
|
5936
|
-
"kind": "
|
|
5937
|
-
"
|
|
5938
|
-
"
|
|
5939
|
-
},
|
|
5940
|
-
{
|
|
5941
|
-
"kind": "Content",
|
|
5942
|
-
"text": ";"
|
|
5943
|
-
}
|
|
5944
|
-
],
|
|
5945
|
-
"fileUrlPath": "src/symbols/scopes.ts",
|
|
5946
|
-
"releaseTag": "Public",
|
|
5947
|
-
"name": "PythonOutputScope",
|
|
5948
|
-
"typeTokenRange": {
|
|
5949
|
-
"startIndex": 1,
|
|
5950
|
-
"endIndex": 4
|
|
5951
|
-
}
|
|
5952
|
-
},
|
|
5953
|
-
{
|
|
5954
|
-
"kind": "Class",
|
|
5955
|
-
"canonicalReference": "@alloy-js/python!PythonOutputSymbol:class",
|
|
5956
|
-
"docComment": "/**\n * Represents an 'exported' symbol from a .py file. Class, enum, interface etc.\n */\n",
|
|
5957
|
-
"excerptTokens": [
|
|
5958
|
-
{
|
|
5959
|
-
"kind": "Content",
|
|
5960
|
-
"text": "export declare class PythonOutputSymbol extends "
|
|
5961
|
-
},
|
|
5962
|
-
{
|
|
5963
|
-
"kind": "Reference",
|
|
5964
|
-
"text": "OutputSymbol",
|
|
5965
|
-
"canonicalReference": "@alloy-js/core!OutputSymbol:class"
|
|
5966
|
-
},
|
|
5967
|
-
{
|
|
5968
|
-
"kind": "Content",
|
|
5969
|
-
"text": " "
|
|
5970
|
-
}
|
|
5971
|
-
],
|
|
5972
|
-
"fileUrlPath": "src/symbols/python-output-symbol.ts",
|
|
5973
|
-
"releaseTag": "Public",
|
|
5974
|
-
"isAbstract": false,
|
|
5975
|
-
"name": "PythonOutputSymbol",
|
|
5976
|
-
"preserveMemberOrder": false,
|
|
5977
|
-
"members": [
|
|
5978
|
-
{
|
|
5979
|
-
"kind": "Constructor",
|
|
5980
|
-
"canonicalReference": "@alloy-js/python!PythonOutputSymbol:constructor(1)",
|
|
5981
|
-
"docComment": "/**\n * Constructs a new instance of the `PythonOutputSymbol` class\n */\n",
|
|
6280
|
+
"kind": "Property",
|
|
6281
|
+
"canonicalReference": "@alloy-js/python!PythonOutputSymbol#module:member",
|
|
6282
|
+
"docComment": "",
|
|
5982
6283
|
"excerptTokens": [
|
|
5983
6284
|
{
|
|
5984
6285
|
"kind": "Content",
|
|
5985
|
-
"text": "
|
|
5986
|
-
},
|
|
5987
|
-
{
|
|
5988
|
-
"kind": "Content",
|
|
5989
|
-
"text": "string"
|
|
6286
|
+
"text": "get module(): "
|
|
5990
6287
|
},
|
|
5991
6288
|
{
|
|
5992
6289
|
"kind": "Content",
|
|
5993
|
-
"text": "
|
|
5994
|
-
},
|
|
5995
|
-
{
|
|
5996
|
-
"kind": "Reference",
|
|
5997
|
-
"text": "CreatePythonSymbolOptions",
|
|
5998
|
-
"canonicalReference": "@alloy-js/python!CreatePythonSymbolOptions:interface"
|
|
6290
|
+
"text": "string | undefined"
|
|
5999
6291
|
},
|
|
6000
6292
|
{
|
|
6001
6293
|
"kind": "Content",
|
|
6002
|
-
"text": "
|
|
6294
|
+
"text": ";"
|
|
6003
6295
|
}
|
|
6004
6296
|
],
|
|
6297
|
+
"isReadonly": true,
|
|
6298
|
+
"isOptional": false,
|
|
6005
6299
|
"releaseTag": "Public",
|
|
6300
|
+
"name": "module",
|
|
6301
|
+
"propertyTypeTokenRange": {
|
|
6302
|
+
"startIndex": 1,
|
|
6303
|
+
"endIndex": 2
|
|
6304
|
+
},
|
|
6305
|
+
"isStatic": false,
|
|
6006
6306
|
"isProtected": false,
|
|
6007
|
-
"
|
|
6008
|
-
"parameters": [
|
|
6009
|
-
{
|
|
6010
|
-
"parameterName": "name",
|
|
6011
|
-
"parameterTypeTokenRange": {
|
|
6012
|
-
"startIndex": 1,
|
|
6013
|
-
"endIndex": 2
|
|
6014
|
-
},
|
|
6015
|
-
"isOptional": false
|
|
6016
|
-
},
|
|
6017
|
-
{
|
|
6018
|
-
"parameterName": "options",
|
|
6019
|
-
"parameterTypeTokenRange": {
|
|
6020
|
-
"startIndex": 3,
|
|
6021
|
-
"endIndex": 4
|
|
6022
|
-
},
|
|
6023
|
-
"isOptional": false
|
|
6024
|
-
}
|
|
6025
|
-
]
|
|
6307
|
+
"isAbstract": false
|
|
6026
6308
|
},
|
|
6027
6309
|
{
|
|
6028
6310
|
"kind": "Property",
|
|
6029
|
-
"canonicalReference": "@alloy-js/python!PythonOutputSymbol#
|
|
6311
|
+
"canonicalReference": "@alloy-js/python!PythonOutputSymbol#staticMembers:member",
|
|
6030
6312
|
"docComment": "",
|
|
6031
6313
|
"excerptTokens": [
|
|
6032
6314
|
{
|
|
6033
6315
|
"kind": "Content",
|
|
6034
|
-
"text": "get
|
|
6316
|
+
"text": "get staticMembers(): "
|
|
6035
6317
|
},
|
|
6036
6318
|
{
|
|
6037
|
-
"kind": "
|
|
6038
|
-
"text": "
|
|
6039
|
-
"canonicalReference": "@alloy-js/python!PythonMemberScope:class"
|
|
6319
|
+
"kind": "Content",
|
|
6320
|
+
"text": "import(\"@alloy-js/core\")."
|
|
6040
6321
|
},
|
|
6041
6322
|
{
|
|
6042
|
-
"kind": "
|
|
6043
|
-
"text": "
|
|
6323
|
+
"kind": "Reference",
|
|
6324
|
+
"text": "OutputMemberSpace",
|
|
6325
|
+
"canonicalReference": "@alloy-js/core!OutputMemberSpace:class"
|
|
6044
6326
|
},
|
|
6045
6327
|
{
|
|
6046
6328
|
"kind": "Content",
|
|
@@ -6050,7 +6332,7 @@
|
|
|
6050
6332
|
"isReadonly": true,
|
|
6051
6333
|
"isOptional": false,
|
|
6052
6334
|
"releaseTag": "Public",
|
|
6053
|
-
"name": "
|
|
6335
|
+
"name": "staticMembers",
|
|
6054
6336
|
"propertyTypeTokenRange": {
|
|
6055
6337
|
"startIndex": 1,
|
|
6056
6338
|
"endIndex": 3
|
|
@@ -6058,43 +6340,72 @@
|
|
|
6058
6340
|
"isStatic": false,
|
|
6059
6341
|
"isProtected": false,
|
|
6060
6342
|
"isAbstract": false
|
|
6343
|
+
}
|
|
6344
|
+
],
|
|
6345
|
+
"extendsTokenRange": {
|
|
6346
|
+
"startIndex": 1,
|
|
6347
|
+
"endIndex": 2
|
|
6348
|
+
},
|
|
6349
|
+
"implementsTokenRanges": []
|
|
6350
|
+
},
|
|
6351
|
+
{
|
|
6352
|
+
"kind": "Interface",
|
|
6353
|
+
"canonicalReference": "@alloy-js/python!PythonOutputSymbolOptions:interface",
|
|
6354
|
+
"docComment": "",
|
|
6355
|
+
"excerptTokens": [
|
|
6356
|
+
{
|
|
6357
|
+
"kind": "Content",
|
|
6358
|
+
"text": "export interface PythonOutputSymbolOptions extends "
|
|
6061
6359
|
},
|
|
6062
6360
|
{
|
|
6063
|
-
"kind": "
|
|
6064
|
-
"
|
|
6361
|
+
"kind": "Reference",
|
|
6362
|
+
"text": "OutputSymbolOptions",
|
|
6363
|
+
"canonicalReference": "@alloy-js/core!OutputSymbolOptions:interface"
|
|
6364
|
+
},
|
|
6365
|
+
{
|
|
6366
|
+
"kind": "Content",
|
|
6367
|
+
"text": " "
|
|
6368
|
+
}
|
|
6369
|
+
],
|
|
6370
|
+
"fileUrlPath": "src/symbols/python-output-symbol.ts",
|
|
6371
|
+
"releaseTag": "Public",
|
|
6372
|
+
"name": "PythonOutputSymbolOptions",
|
|
6373
|
+
"preserveMemberOrder": false,
|
|
6374
|
+
"members": [
|
|
6375
|
+
{
|
|
6376
|
+
"kind": "PropertySignature",
|
|
6377
|
+
"canonicalReference": "@alloy-js/python!PythonOutputSymbolOptions#module:member",
|
|
6065
6378
|
"docComment": "",
|
|
6066
6379
|
"excerptTokens": [
|
|
6067
6380
|
{
|
|
6068
6381
|
"kind": "Content",
|
|
6069
|
-
"text": "
|
|
6382
|
+
"text": "module?: "
|
|
6070
6383
|
},
|
|
6071
6384
|
{
|
|
6072
6385
|
"kind": "Content",
|
|
6073
|
-
"text": "string
|
|
6386
|
+
"text": "string"
|
|
6074
6387
|
},
|
|
6075
6388
|
{
|
|
6076
6389
|
"kind": "Content",
|
|
6077
|
-
"text": "
|
|
6390
|
+
"text": ";"
|
|
6078
6391
|
}
|
|
6079
6392
|
],
|
|
6080
6393
|
"isReadonly": false,
|
|
6081
|
-
"isOptional":
|
|
6394
|
+
"isOptional": true,
|
|
6082
6395
|
"releaseTag": "Public",
|
|
6083
6396
|
"name": "module",
|
|
6084
6397
|
"propertyTypeTokenRange": {
|
|
6085
6398
|
"startIndex": 1,
|
|
6086
6399
|
"endIndex": 2
|
|
6087
|
-
}
|
|
6088
|
-
"isStatic": false,
|
|
6089
|
-
"isProtected": false,
|
|
6090
|
-
"isAbstract": false
|
|
6400
|
+
}
|
|
6091
6401
|
}
|
|
6092
6402
|
],
|
|
6093
|
-
"
|
|
6094
|
-
|
|
6095
|
-
|
|
6096
|
-
|
|
6097
|
-
|
|
6403
|
+
"extendsTokenRanges": [
|
|
6404
|
+
{
|
|
6405
|
+
"startIndex": 1,
|
|
6406
|
+
"endIndex": 2
|
|
6407
|
+
}
|
|
6408
|
+
]
|
|
6098
6409
|
},
|
|
6099
6410
|
{
|
|
6100
6411
|
"kind": "Interface",
|
|
@@ -6226,7 +6537,16 @@
|
|
|
6226
6537
|
},
|
|
6227
6538
|
{
|
|
6228
6539
|
"kind": "Content",
|
|
6229
|
-
"text": "() => [
|
|
6540
|
+
"text": "() => ["
|
|
6541
|
+
},
|
|
6542
|
+
{
|
|
6543
|
+
"kind": "Reference",
|
|
6544
|
+
"text": "Children",
|
|
6545
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
6546
|
+
},
|
|
6547
|
+
{
|
|
6548
|
+
"kind": "Content",
|
|
6549
|
+
"text": ", "
|
|
6230
6550
|
},
|
|
6231
6551
|
{
|
|
6232
6552
|
"kind": "Reference",
|
|
@@ -6242,10 +6562,10 @@
|
|
|
6242
6562
|
"text": ";"
|
|
6243
6563
|
}
|
|
6244
6564
|
],
|
|
6245
|
-
"fileUrlPath": "src/symbols/reference.
|
|
6565
|
+
"fileUrlPath": "src/symbols/reference.tsx",
|
|
6246
6566
|
"returnTypeTokenRange": {
|
|
6247
6567
|
"startIndex": 3,
|
|
6248
|
-
"endIndex":
|
|
6568
|
+
"endIndex": 8
|
|
6249
6569
|
},
|
|
6250
6570
|
"releaseTag": "Public",
|
|
6251
6571
|
"overloadIndex": 1,
|
|
@@ -7105,6 +7425,44 @@
|
|
|
7105
7425
|
],
|
|
7106
7426
|
"extendsTokenRanges": []
|
|
7107
7427
|
},
|
|
7428
|
+
{
|
|
7429
|
+
"kind": "Function",
|
|
7430
|
+
"canonicalReference": "@alloy-js/python!usePythonLexicalScope:function(1)",
|
|
7431
|
+
"docComment": "",
|
|
7432
|
+
"excerptTokens": [
|
|
7433
|
+
{
|
|
7434
|
+
"kind": "Content",
|
|
7435
|
+
"text": "export declare function usePythonLexicalScope(): "
|
|
7436
|
+
},
|
|
7437
|
+
{
|
|
7438
|
+
"kind": "Reference",
|
|
7439
|
+
"text": "PythonLexicalScope",
|
|
7440
|
+
"canonicalReference": "@alloy-js/python!PythonLexicalScope:class"
|
|
7441
|
+
},
|
|
7442
|
+
{
|
|
7443
|
+
"kind": "Content",
|
|
7444
|
+
"text": " | "
|
|
7445
|
+
},
|
|
7446
|
+
{
|
|
7447
|
+
"kind": "Reference",
|
|
7448
|
+
"text": "PythonModuleScope",
|
|
7449
|
+
"canonicalReference": "@alloy-js/python!PythonModuleScope:class"
|
|
7450
|
+
},
|
|
7451
|
+
{
|
|
7452
|
+
"kind": "Content",
|
|
7453
|
+
"text": ";"
|
|
7454
|
+
}
|
|
7455
|
+
],
|
|
7456
|
+
"fileUrlPath": "src/symbols/scopes.ts",
|
|
7457
|
+
"returnTypeTokenRange": {
|
|
7458
|
+
"startIndex": 1,
|
|
7459
|
+
"endIndex": 4
|
|
7460
|
+
},
|
|
7461
|
+
"releaseTag": "Public",
|
|
7462
|
+
"overloadIndex": 1,
|
|
7463
|
+
"parameters": [],
|
|
7464
|
+
"name": "usePythonLexicalScope"
|
|
7465
|
+
},
|
|
7108
7466
|
{
|
|
7109
7467
|
"kind": "Function",
|
|
7110
7468
|
"canonicalReference": "@alloy-js/python!usePythonNamePolicy:function(1)",
|