@alloy-js/python 0.1.0-dev.3 → 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.
Files changed (107) hide show
  1. package/dist/src/components/CallSignature.d.ts.map +1 -1
  2. package/dist/src/components/CallSignature.js +8 -11
  3. package/dist/src/components/ClassDeclaration.d.ts.map +1 -1
  4. package/dist/src/components/ClassDeclaration.js +6 -20
  5. package/dist/src/components/ClassInstantiation.d.ts.map +1 -1
  6. package/dist/src/components/ClassInstantiation.js +4 -4
  7. package/dist/src/components/Declaration.d.ts +1 -5
  8. package/dist/src/components/Declaration.d.ts.map +1 -1
  9. package/dist/src/components/Declaration.js +6 -15
  10. package/dist/src/components/EnumDeclaration.d.ts.map +1 -1
  11. package/dist/src/components/EnumDeclaration.js +33 -59
  12. package/dist/src/components/EnumMember.d.ts.map +1 -1
  13. package/dist/src/components/EnumMember.js +3 -4
  14. package/dist/src/components/FunctionDeclaration.d.ts +3 -1
  15. package/dist/src/components/FunctionDeclaration.d.ts.map +1 -1
  16. package/dist/src/components/FunctionDeclaration.js +6 -16
  17. package/dist/src/components/LexicalScope.d.ts +8 -0
  18. package/dist/src/components/LexicalScope.d.ts.map +1 -0
  19. package/dist/src/components/LexicalScope.js +21 -0
  20. package/dist/src/components/MemberScope.d.ts +8 -0
  21. package/dist/src/components/MemberScope.d.ts.map +1 -0
  22. package/dist/src/components/MemberScope.js +15 -0
  23. package/dist/src/components/PythonBlock.d.ts +5 -4
  24. package/dist/src/components/PythonBlock.d.ts.map +1 -1
  25. package/dist/src/components/PythonBlock.js +0 -1
  26. package/dist/src/components/SourceFile.js +1 -2
  27. package/dist/src/components/VariableDeclaration.d.ts.map +1 -1
  28. package/dist/src/components/VariableDeclaration.js +8 -31
  29. package/dist/src/components/index.d.ts +2 -0
  30. package/dist/src/components/index.d.ts.map +1 -1
  31. package/dist/src/components/index.js +2 -0
  32. package/dist/src/create-module.d.ts.map +1 -1
  33. package/dist/src/create-module.js +3 -4
  34. package/dist/src/name-conflict-resolver.d.ts +3 -0
  35. package/dist/src/name-conflict-resolver.d.ts.map +1 -0
  36. package/dist/src/name-conflict-resolver.js +7 -0
  37. package/dist/src/symbol-creation.d.ts +13 -2
  38. package/dist/src/symbol-creation.d.ts.map +1 -1
  39. package/dist/src/symbol-creation.js +33 -9
  40. package/dist/src/symbols/index.d.ts +1 -1
  41. package/dist/src/symbols/index.d.ts.map +1 -1
  42. package/dist/src/symbols/index.js +1 -1
  43. package/dist/src/symbols/python-lexical-scope.d.ts +7 -0
  44. package/dist/src/symbols/python-lexical-scope.d.ts.map +1 -0
  45. package/dist/src/symbols/python-lexical-scope.js +14 -0
  46. package/dist/src/symbols/python-member-scope.d.ts +3 -4
  47. package/dist/src/symbols/python-member-scope.d.ts.map +1 -1
  48. package/dist/src/symbols/python-member-scope.js +4 -7
  49. package/dist/src/symbols/python-module-scope.d.ts +4 -9
  50. package/dist/src/symbols/python-module-scope.d.ts.map +1 -1
  51. package/dist/src/symbols/python-module-scope.js +6 -14
  52. package/dist/src/symbols/python-output-symbol.d.ts +10 -7
  53. package/dist/src/symbols/python-output-symbol.d.ts.map +1 -1
  54. package/dist/src/symbols/python-output-symbol.js +23 -6
  55. package/dist/src/symbols/reference.d.ts +2 -2
  56. package/dist/src/symbols/reference.d.ts.map +1 -1
  57. package/dist/src/symbols/reference.js +36 -36
  58. package/dist/src/symbols/scopes.d.ts +3 -1
  59. package/dist/src/symbols/scopes.d.ts.map +1 -1
  60. package/dist/src/symbols/scopes.js +8 -0
  61. package/dist/test/classdeclarations.test.js +87 -52
  62. package/dist/test/enums.test.js +8 -2
  63. package/dist/test/externals.test.js +6 -5
  64. package/dist/test/functiondeclaration.test.js +73 -36
  65. package/dist/test/imports.test.js +9 -36
  66. package/dist/test/utils.d.ts +2 -3
  67. package/dist/test/utils.d.ts.map +1 -1
  68. package/dist/test/utils.js +3 -2
  69. package/dist/test/variables.test.js +11 -11
  70. package/dist/tsconfig.tsbuildinfo +1 -1
  71. package/package.json +2 -2
  72. package/src/components/CallSignature.tsx +9 -17
  73. package/src/components/ClassDeclaration.tsx +5 -32
  74. package/src/components/ClassInstantiation.tsx +6 -12
  75. package/src/components/Declaration.tsx +1 -20
  76. package/src/components/EnumDeclaration.tsx +18 -41
  77. package/src/components/EnumMember.tsx +1 -3
  78. package/src/components/FunctionDeclaration.tsx +12 -30
  79. package/src/components/LexicalScope.tsx +24 -0
  80. package/src/components/MemberScope.tsx +18 -0
  81. package/src/components/PythonBlock.tsx +6 -1
  82. package/src/components/SourceFile.tsx +2 -2
  83. package/src/components/VariableDeclaration.tsx +7 -35
  84. package/src/components/index.ts +2 -0
  85. package/src/create-module.ts +7 -13
  86. package/src/name-conflict-resolver.ts +21 -0
  87. package/src/symbol-creation.ts +50 -11
  88. package/src/symbols/index.ts +1 -1
  89. package/src/symbols/python-lexical-scope.ts +16 -0
  90. package/src/symbols/python-member-scope.ts +4 -8
  91. package/src/symbols/python-module-scope.ts +6 -32
  92. package/src/symbols/python-output-symbol.ts +36 -10
  93. package/src/symbols/reference.tsx +70 -0
  94. package/src/symbols/scopes.ts +15 -1
  95. package/temp/api.json +1015 -561
  96. package/test/classdeclarations.test.tsx +66 -31
  97. package/test/enums.test.tsx +2 -2
  98. package/test/externals.test.tsx +6 -7
  99. package/test/functiondeclaration.test.tsx +48 -39
  100. package/test/imports.test.tsx +11 -36
  101. package/test/utils.tsx +9 -5
  102. package/test/variables.test.tsx +11 -7
  103. package/dist/src/symbols/custom-output-scope.d.ts +0 -10
  104. package/dist/src/symbols/custom-output-scope.d.ts.map +0 -1
  105. package/dist/src/symbols/custom-output-scope.js +0 -25
  106. package/src/symbols/custom-output-scope.ts +0 -35
  107. 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": "CreatePythonSymbolOptions",
1527
- "canonicalReference": "@alloy-js/python!CreatePythonSymbolOptions:interface"
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": "TypeAlias",
3924
- "canonicalReference": "@alloy-js/python!ImportRecords:type",
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 type ImportRecords = "
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
- "typeTokenRange": {
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": "Variable",
3973
- "canonicalReference": "@alloy-js/python!ImportRecords:var",
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": "ImportRecords: "
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": "ImportRecords",
3987
- "canonicalReference": "@alloy-js/python!ImportRecords:type"
3787
+ "text": "ImportStatementProps",
3788
+ "canonicalReference": "@alloy-js/python!ImportStatementProps:interface"
3988
3789
  },
3989
3790
  {
3990
3791
  "kind": "Content",
3991
- "text": ";\n new (entries?: readonly (readonly ["
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": "])[] | null): "
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
- "kind": "Reference",
4013
- "text": "ImportRecords",
4014
- "canonicalReference": "@alloy-js/python!ImportRecords:type"
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": ";\n prototype: "
4019
- },
4020
- {
4021
- "kind": "Reference",
4022
- "text": "Map",
4023
- "canonicalReference": "!Map:interface"
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:type"
4017
+ "canonicalReference": "@alloy-js/python!ImportRecords:class"
4299
4018
  },
4300
4019
  {
4301
4020
  "kind": "Content",
@@ -4323,6 +4042,57 @@
4323
4042
  "kind": "Content",
4324
4043
  "text": "export declare function InitFunctionDeclaration(props: "
4325
4044
  },
4045
+ {
4046
+ "kind": "Reference",
4047
+ "text": "InitFunctionDeclarationProps",
4048
+ "canonicalReference": "@alloy-js/python!InitFunctionDeclarationProps:interface"
4049
+ },
4050
+ {
4051
+ "kind": "Content",
4052
+ "text": "): "
4053
+ },
4054
+ {
4055
+ "kind": "Content",
4056
+ "text": "import(\"@alloy-js/core\")."
4057
+ },
4058
+ {
4059
+ "kind": "Reference",
4060
+ "text": "Children",
4061
+ "canonicalReference": "@alloy-js/core!Children:type"
4062
+ },
4063
+ {
4064
+ "kind": "Content",
4065
+ "text": ";"
4066
+ }
4067
+ ],
4068
+ "fileUrlPath": "src/components/FunctionDeclaration.tsx",
4069
+ "returnTypeTokenRange": {
4070
+ "startIndex": 3,
4071
+ "endIndex": 5
4072
+ },
4073
+ "releaseTag": "Public",
4074
+ "overloadIndex": 1,
4075
+ "parameters": [
4076
+ {
4077
+ "parameterName": "props",
4078
+ "parameterTypeTokenRange": {
4079
+ "startIndex": 1,
4080
+ "endIndex": 2
4081
+ },
4082
+ "isOptional": false
4083
+ }
4084
+ ],
4085
+ "name": "InitFunctionDeclaration"
4086
+ },
4087
+ {
4088
+ "kind": "Interface",
4089
+ "canonicalReference": "@alloy-js/python!InitFunctionDeclarationProps:interface",
4090
+ "docComment": "",
4091
+ "excerptTokens": [
4092
+ {
4093
+ "kind": "Content",
4094
+ "text": "export interface InitFunctionDeclarationProps extends "
4095
+ },
4326
4096
  {
4327
4097
  "kind": "Reference",
4328
4098
  "text": "Omit",
@@ -4341,6 +4111,68 @@
4341
4111
  "kind": "Content",
4342
4112
  "text": ", \"name\" | \"instanceFunction\" | \"classFunction\">"
4343
4113
  },
4114
+ {
4115
+ "kind": "Content",
4116
+ "text": " "
4117
+ }
4118
+ ],
4119
+ "fileUrlPath": "src/components/FunctionDeclaration.tsx",
4120
+ "releaseTag": "Public",
4121
+ "name": "InitFunctionDeclarationProps",
4122
+ "preserveMemberOrder": false,
4123
+ "members": [],
4124
+ "extendsTokenRanges": [
4125
+ {
4126
+ "startIndex": 1,
4127
+ "endIndex": 5
4128
+ }
4129
+ ]
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
+ },
4344
4176
  {
4345
4177
  "kind": "Content",
4346
4178
  "text": "): "
@@ -4359,10 +4191,10 @@
4359
4191
  "text": ";"
4360
4192
  }
4361
4193
  ],
4362
- "fileUrlPath": "src/components/FunctionDeclaration.tsx",
4194
+ "fileUrlPath": "src/components/LexicalScope.tsx",
4363
4195
  "returnTypeTokenRange": {
4364
- "startIndex": 6,
4365
- "endIndex": 8
4196
+ "startIndex": 3,
4197
+ "endIndex": 5
4366
4198
  },
4367
4199
  "releaseTag": "Public",
4368
4200
  "overloadIndex": 1,
@@ -4371,12 +4203,79 @@
4371
4203
  "parameterName": "props",
4372
4204
  "parameterTypeTokenRange": {
4373
4205
  "startIndex": 1,
4374
- "endIndex": 5
4206
+ "endIndex": 2
4375
4207
  },
4376
4208
  "isOptional": false
4377
4209
  }
4378
4210
  ],
4379
- "name": "InitFunctionDeclaration"
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
+ ]
4380
4279
  },
4381
4280
  {
4382
4281
  "kind": "Function",
@@ -4777,17 +4676,138 @@
4777
4676
  "extendsTokenRanges": []
4778
4677
  },
4779
4678
  {
4780
- "kind": "Interface",
4781
- "canonicalReference": "@alloy-js/python!ModuleDescriptor:interface",
4679
+ "kind": "Function",
4680
+ "canonicalReference": "@alloy-js/python!MemberScope:function(1)",
4782
4681
  "docComment": "",
4783
4682
  "excerptTokens": [
4784
4683
  {
4785
4684
  "kind": "Content",
4786
- "text": "export interface ModuleDescriptor "
4787
- }
4788
- ],
4789
- "fileUrlPath": "src/create-module.ts",
4790
- "releaseTag": "Public",
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": ";"
4704
+ }
4705
+ ],
4706
+ "fileUrlPath": "src/components/MemberScope.tsx",
4707
+ "returnTypeTokenRange": {
4708
+ "startIndex": 3,
4709
+ "endIndex": 4
4710
+ },
4711
+ "releaseTag": "Public",
4712
+ "overloadIndex": 1,
4713
+ "parameters": [
4714
+ {
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",
4791
4811
  "name": "ModuleDescriptor",
4792
4812
  "preserveMemberOrder": false,
4793
4813
  "members": [
@@ -5440,18 +5460,10 @@
5440
5460
  "kind": "Content",
5441
5461
  "text": "export declare function PythonBlock(props: "
5442
5462
  },
5443
- {
5444
- "kind": "Content",
5445
- "text": "{\n children: "
5446
- },
5447
5463
  {
5448
5464
  "kind": "Reference",
5449
- "text": "Children",
5450
- "canonicalReference": "@alloy-js/core!Children:type"
5451
- },
5452
- {
5453
- "kind": "Content",
5454
- "text": ";\n opener?: string;\n}"
5465
+ "text": "PythonBlockProps",
5466
+ "canonicalReference": "@alloy-js/python!PythonBlockProps:interface"
5455
5467
  },
5456
5468
  {
5457
5469
  "kind": "Content",
@@ -5469,8 +5481,8 @@
5469
5481
  ],
5470
5482
  "fileUrlPath": "src/components/PythonBlock.tsx",
5471
5483
  "returnTypeTokenRange": {
5472
- "startIndex": 5,
5473
- "endIndex": 6
5484
+ "startIndex": 3,
5485
+ "endIndex": 4
5474
5486
  },
5475
5487
  "releaseTag": "Public",
5476
5488
  "overloadIndex": 1,
@@ -5479,13 +5491,86 @@
5479
5491
  "parameterName": "props",
5480
5492
  "parameterTypeTokenRange": {
5481
5493
  "startIndex": 1,
5482
- "endIndex": 4
5494
+ "endIndex": 2
5483
5495
  },
5484
5496
  "isOptional": false
5485
5497
  }
5486
5498
  ],
5487
5499
  "name": "PythonBlock"
5488
5500
  },
5501
+ {
5502
+ "kind": "Interface",
5503
+ "canonicalReference": "@alloy-js/python!PythonBlockProps:interface",
5504
+ "docComment": "",
5505
+ "excerptTokens": [
5506
+ {
5507
+ "kind": "Content",
5508
+ "text": "export interface PythonBlockProps "
5509
+ }
5510
+ ],
5511
+ "fileUrlPath": "src/components/PythonBlock.tsx",
5512
+ "releaseTag": "Public",
5513
+ "name": "PythonBlockProps",
5514
+ "preserveMemberOrder": false,
5515
+ "members": [
5516
+ {
5517
+ "kind": "PropertySignature",
5518
+ "canonicalReference": "@alloy-js/python!PythonBlockProps#children:member",
5519
+ "docComment": "",
5520
+ "excerptTokens": [
5521
+ {
5522
+ "kind": "Content",
5523
+ "text": "children: "
5524
+ },
5525
+ {
5526
+ "kind": "Reference",
5527
+ "text": "Children",
5528
+ "canonicalReference": "@alloy-js/core!Children:type"
5529
+ },
5530
+ {
5531
+ "kind": "Content",
5532
+ "text": ";"
5533
+ }
5534
+ ],
5535
+ "isReadonly": false,
5536
+ "isOptional": false,
5537
+ "releaseTag": "Public",
5538
+ "name": "children",
5539
+ "propertyTypeTokenRange": {
5540
+ "startIndex": 1,
5541
+ "endIndex": 2
5542
+ }
5543
+ },
5544
+ {
5545
+ "kind": "PropertySignature",
5546
+ "canonicalReference": "@alloy-js/python!PythonBlockProps#opener:member",
5547
+ "docComment": "",
5548
+ "excerptTokens": [
5549
+ {
5550
+ "kind": "Content",
5551
+ "text": "opener?: "
5552
+ },
5553
+ {
5554
+ "kind": "Content",
5555
+ "text": "string"
5556
+ },
5557
+ {
5558
+ "kind": "Content",
5559
+ "text": ";"
5560
+ }
5561
+ ],
5562
+ "isReadonly": false,
5563
+ "isOptional": true,
5564
+ "releaseTag": "Public",
5565
+ "name": "opener",
5566
+ "propertyTypeTokenRange": {
5567
+ "startIndex": 1,
5568
+ "endIndex": 2
5569
+ }
5570
+ }
5571
+ ],
5572
+ "extendsTokenRanges": []
5573
+ },
5489
5574
  {
5490
5575
  "kind": "TypeAlias",
5491
5576
  "canonicalReference": "@alloy-js/python!PythonElements:type",
@@ -5514,41 +5599,71 @@
5514
5599
  },
5515
5600
  {
5516
5601
  "kind": "Class",
5517
- "canonicalReference": "@alloy-js/python!PythonMemberScope:class",
5602
+ "canonicalReference": "@alloy-js/python!PythonLexicalScope:class",
5518
5603
  "docComment": "",
5519
5604
  "excerptTokens": [
5520
5605
  {
5521
5606
  "kind": "Content",
5522
- "text": "export declare class PythonMemberScope extends "
5607
+ "text": "export declare class PythonLexicalScope extends "
5523
5608
  },
5524
5609
  {
5525
5610
  "kind": "Reference",
5526
- "text": "CustomOutputScope",
5527
- "canonicalReference": "@alloy-js/python!CustomOutputScope:class"
5611
+ "text": "OutputScope",
5612
+ "canonicalReference": "@alloy-js/core!OutputScope:class"
5528
5613
  },
5529
5614
  {
5530
5615
  "kind": "Content",
5531
5616
  "text": " "
5532
5617
  }
5533
5618
  ],
5534
- "fileUrlPath": "src/symbols/python-member-scope.ts",
5619
+ "fileUrlPath": "src/symbols/python-lexical-scope.ts",
5535
5620
  "releaseTag": "Public",
5536
5621
  "isAbstract": false,
5537
- "name": "PythonMemberScope",
5622
+ "name": "PythonLexicalScope",
5538
5623
  "preserveMemberOrder": false,
5539
5624
  "members": [
5540
5625
  {
5541
5626
  "kind": "Property",
5542
- "canonicalReference": "@alloy-js/python!PythonMemberScope#kind:member",
5627
+ "canonicalReference": "@alloy-js/python!PythonLexicalScope.declarationSpaces:member",
5628
+ "docComment": "",
5629
+ "excerptTokens": [
5630
+ {
5631
+ "kind": "Content",
5632
+ "text": "static readonly declarationSpaces: "
5633
+ },
5634
+ {
5635
+ "kind": "Content",
5636
+ "text": "readonly string[]"
5637
+ },
5638
+ {
5639
+ "kind": "Content",
5640
+ "text": ";"
5641
+ }
5642
+ ],
5643
+ "isReadonly": true,
5644
+ "isOptional": false,
5645
+ "releaseTag": "Public",
5646
+ "name": "declarationSpaces",
5647
+ "propertyTypeTokenRange": {
5648
+ "startIndex": 1,
5649
+ "endIndex": 2
5650
+ },
5651
+ "isStatic": true,
5652
+ "isProtected": false,
5653
+ "isAbstract": false
5654
+ },
5655
+ {
5656
+ "kind": "Property",
5657
+ "canonicalReference": "@alloy-js/python!PythonLexicalScope#ownerSymbol:member",
5543
5658
  "docComment": "",
5544
5659
  "excerptTokens": [
5545
5660
  {
5546
5661
  "kind": "Content",
5547
- "text": "get kind(): "
5662
+ "text": "get ownerSymbol(): "
5548
5663
  },
5549
5664
  {
5550
5665
  "kind": "Content",
5551
- "text": "\"member\""
5666
+ "text": "undefined"
5552
5667
  },
5553
5668
  {
5554
5669
  "kind": "Content",
@@ -5558,7 +5673,7 @@
5558
5673
  "isReadonly": true,
5559
5674
  "isOptional": false,
5560
5675
  "releaseTag": "Public",
5561
- "name": "kind",
5676
+ "name": "ownerSymbol",
5562
5677
  "propertyTypeTokenRange": {
5563
5678
  "startIndex": 1,
5564
5679
  "endIndex": 2
@@ -5569,17 +5684,21 @@
5569
5684
  },
5570
5685
  {
5571
5686
  "kind": "Property",
5572
- "canonicalReference": "@alloy-js/python!PythonMemberScope#owner:member",
5687
+ "canonicalReference": "@alloy-js/python!PythonLexicalScope#symbols:member",
5573
5688
  "docComment": "",
5574
5689
  "excerptTokens": [
5575
5690
  {
5576
5691
  "kind": "Content",
5577
- "text": "get owner(): "
5692
+ "text": "get symbols(): "
5693
+ },
5694
+ {
5695
+ "kind": "Content",
5696
+ "text": "import(\"@alloy-js/core\")."
5578
5697
  },
5579
5698
  {
5580
5699
  "kind": "Reference",
5581
- "text": "PythonOutputSymbol",
5582
- "canonicalReference": "@alloy-js/python!PythonOutputSymbol:class"
5700
+ "text": "OutputSpace",
5701
+ "canonicalReference": "@alloy-js/core!OutputSpace:type"
5583
5702
  },
5584
5703
  {
5585
5704
  "kind": "Content",
@@ -5589,10 +5708,10 @@
5589
5708
  "isReadonly": true,
5590
5709
  "isOptional": false,
5591
5710
  "releaseTag": "Public",
5592
- "name": "owner",
5711
+ "name": "symbols",
5593
5712
  "propertyTypeTokenRange": {
5594
5713
  "startIndex": 1,
5595
- "endIndex": 2
5714
+ "endIndex": 3
5596
5715
  },
5597
5716
  "isStatic": false,
5598
5717
  "isProtected": false,
@@ -5607,37 +5726,37 @@
5607
5726
  },
5608
5727
  {
5609
5728
  "kind": "Class",
5610
- "canonicalReference": "@alloy-js/python!PythonModuleScope:class",
5729
+ "canonicalReference": "@alloy-js/python!PythonMemberScope:class",
5611
5730
  "docComment": "",
5612
5731
  "excerptTokens": [
5613
5732
  {
5614
5733
  "kind": "Content",
5615
- "text": "export declare class PythonModuleScope extends "
5734
+ "text": "export declare class PythonMemberScope extends "
5616
5735
  },
5617
5736
  {
5618
5737
  "kind": "Reference",
5619
- "text": "CustomOutputScope",
5620
- "canonicalReference": "@alloy-js/python!CustomOutputScope:class"
5738
+ "text": "OutputScope",
5739
+ "canonicalReference": "@alloy-js/core!OutputScope:class"
5621
5740
  },
5622
5741
  {
5623
5742
  "kind": "Content",
5624
5743
  "text": " "
5625
5744
  }
5626
5745
  ],
5627
- "fileUrlPath": "src/symbols/python-module-scope.ts",
5746
+ "fileUrlPath": "src/symbols/python-member-scope.ts",
5628
5747
  "releaseTag": "Public",
5629
5748
  "isAbstract": false,
5630
- "name": "PythonModuleScope",
5749
+ "name": "PythonMemberScope",
5631
5750
  "preserveMemberOrder": false,
5632
5751
  "members": [
5633
5752
  {
5634
- "kind": "Method",
5635
- "canonicalReference": "@alloy-js/python!PythonModuleScope#addImport:member(1)",
5753
+ "kind": "Property",
5754
+ "canonicalReference": "@alloy-js/python!PythonMemberScope#ownerSymbol:member",
5636
5755
  "docComment": "",
5637
5756
  "excerptTokens": [
5638
5757
  {
5639
5758
  "kind": "Content",
5640
- "text": "addImport(targetSymbol: "
5759
+ "text": "get ownerSymbol(): "
5641
5760
  },
5642
5761
  {
5643
5762
  "kind": "Reference",
@@ -5646,15 +5765,78 @@
5646
5765
  },
5647
5766
  {
5648
5767
  "kind": "Content",
5649
- "text": ", targetModule: "
5650
- },
5651
- {
5652
- "kind": "Reference",
5653
- "text": "PythonModuleScope",
5654
- "canonicalReference": "@alloy-js/python!PythonModuleScope:class"
5655
- },
5656
- {
5657
- "kind": "Content",
5768
+ "text": ";"
5769
+ }
5770
+ ],
5771
+ "isReadonly": true,
5772
+ "isOptional": false,
5773
+ "releaseTag": "Public",
5774
+ "name": "ownerSymbol",
5775
+ "propertyTypeTokenRange": {
5776
+ "startIndex": 1,
5777
+ "endIndex": 2
5778
+ },
5779
+ "isStatic": false,
5780
+ "isProtected": false,
5781
+ "isAbstract": false
5782
+ }
5783
+ ],
5784
+ "extendsTokenRange": {
5785
+ "startIndex": 1,
5786
+ "endIndex": 2
5787
+ },
5788
+ "implementsTokenRanges": []
5789
+ },
5790
+ {
5791
+ "kind": "Class",
5792
+ "canonicalReference": "@alloy-js/python!PythonModuleScope:class",
5793
+ "docComment": "",
5794
+ "excerptTokens": [
5795
+ {
5796
+ "kind": "Content",
5797
+ "text": "export declare class PythonModuleScope extends "
5798
+ },
5799
+ {
5800
+ "kind": "Reference",
5801
+ "text": "PythonLexicalScope",
5802
+ "canonicalReference": "@alloy-js/python!PythonLexicalScope:class"
5803
+ },
5804
+ {
5805
+ "kind": "Content",
5806
+ "text": " "
5807
+ }
5808
+ ],
5809
+ "fileUrlPath": "src/symbols/python-module-scope.ts",
5810
+ "releaseTag": "Public",
5811
+ "isAbstract": false,
5812
+ "name": "PythonModuleScope",
5813
+ "preserveMemberOrder": false,
5814
+ "members": [
5815
+ {
5816
+ "kind": "Method",
5817
+ "canonicalReference": "@alloy-js/python!PythonModuleScope#addImport:member(1)",
5818
+ "docComment": "",
5819
+ "excerptTokens": [
5820
+ {
5821
+ "kind": "Content",
5822
+ "text": "addImport(targetSymbol: "
5823
+ },
5824
+ {
5825
+ "kind": "Reference",
5826
+ "text": "PythonOutputSymbol",
5827
+ "canonicalReference": "@alloy-js/python!PythonOutputSymbol:class"
5828
+ },
5829
+ {
5830
+ "kind": "Content",
5831
+ "text": ", targetModule: "
5832
+ },
5833
+ {
5834
+ "kind": "Reference",
5835
+ "text": "PythonModuleScope",
5836
+ "canonicalReference": "@alloy-js/python!PythonModuleScope:class"
5837
+ },
5838
+ {
5839
+ "kind": "Content",
5658
5840
  "text": "): "
5659
5841
  },
5660
5842
  {
@@ -5704,12 +5886,318 @@
5704
5886
  "excerptTokens": [
5705
5887
  {
5706
5888
  "kind": "Content",
5707
- "text": "get importedModules(): "
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",
6192
+ "docComment": "",
6193
+ "excerptTokens": [
6194
+ {
6195
+ "kind": "Content",
6196
+ "text": "get isInstanceMemberSymbol(): "
5708
6197
  },
5709
6198
  {
5710
- "kind": "Reference",
5711
- "text": "ImportRecords",
5712
- "canonicalReference": "@alloy-js/python!ImportRecords:type"
6199
+ "kind": "Content",
6200
+ "text": "boolean"
5713
6201
  },
5714
6202
  {
5715
6203
  "kind": "Content",
@@ -5719,7 +6207,7 @@
5719
6207
  "isReadonly": true,
5720
6208
  "isOptional": false,
5721
6209
  "releaseTag": "Public",
5722
- "name": "importedModules",
6210
+ "name": "isInstanceMemberSymbol",
5723
6211
  "propertyTypeTokenRange": {
5724
6212
  "startIndex": 1,
5725
6213
  "endIndex": 2
@@ -5730,39 +6218,16 @@
5730
6218
  },
5731
6219
  {
5732
6220
  "kind": "Property",
5733
- "canonicalReference": "@alloy-js/python!PythonModuleScope#importedSymbols:member",
6221
+ "canonicalReference": "@alloy-js/python!PythonOutputSymbol#isStaticMemberSymbol:member",
5734
6222
  "docComment": "",
5735
6223
  "excerptTokens": [
5736
6224
  {
5737
6225
  "kind": "Content",
5738
- "text": "get importedSymbols(): "
5739
- },
5740
- {
5741
- "kind": "Reference",
5742
- "text": "Map",
5743
- "canonicalReference": "!Map:interface"
5744
- },
5745
- {
5746
- "kind": "Content",
5747
- "text": "<"
5748
- },
5749
- {
5750
- "kind": "Reference",
5751
- "text": "PythonOutputSymbol",
5752
- "canonicalReference": "@alloy-js/python!PythonOutputSymbol:class"
5753
- },
5754
- {
5755
- "kind": "Content",
5756
- "text": ", "
5757
- },
5758
- {
5759
- "kind": "Reference",
5760
- "text": "PythonOutputSymbol",
5761
- "canonicalReference": "@alloy-js/python!PythonOutputSymbol:class"
6226
+ "text": "get isStaticMemberSymbol(): "
5762
6227
  },
5763
6228
  {
5764
6229
  "kind": "Content",
5765
- "text": ">"
6230
+ "text": "boolean"
5766
6231
  },
5767
6232
  {
5768
6233
  "kind": "Content",
@@ -5772,10 +6237,10 @@
5772
6237
  "isReadonly": true,
5773
6238
  "isOptional": false,
5774
6239
  "releaseTag": "Public",
5775
- "name": "importedSymbols",
6240
+ "name": "isStaticMemberSymbol",
5776
6241
  "propertyTypeTokenRange": {
5777
6242
  "startIndex": 1,
5778
- "endIndex": 7
6243
+ "endIndex": 2
5779
6244
  },
5780
6245
  "isStatic": false,
5781
6246
  "isProtected": false,
@@ -5783,16 +6248,16 @@
5783
6248
  },
5784
6249
  {
5785
6250
  "kind": "Property",
5786
- "canonicalReference": "@alloy-js/python!PythonModuleScope#kind:member",
6251
+ "canonicalReference": "@alloy-js/python!PythonOutputSymbol.memberSpaces:member",
5787
6252
  "docComment": "",
5788
6253
  "excerptTokens": [
5789
6254
  {
5790
6255
  "kind": "Content",
5791
- "text": "get kind(): "
6256
+ "text": "static readonly memberSpaces: "
5792
6257
  },
5793
6258
  {
5794
6259
  "kind": "Content",
5795
- "text": "\"module\""
6260
+ "text": "readonly [\"static\", \"instance\"]"
5796
6261
  },
5797
6262
  {
5798
6263
  "kind": "Content",
@@ -5802,149 +6267,62 @@
5802
6267
  "isReadonly": true,
5803
6268
  "isOptional": false,
5804
6269
  "releaseTag": "Public",
5805
- "name": "kind",
6270
+ "name": "memberSpaces",
5806
6271
  "propertyTypeTokenRange": {
5807
6272
  "startIndex": 1,
5808
6273
  "endIndex": 2
5809
6274
  },
5810
- "isStatic": false,
6275
+ "isStatic": true,
5811
6276
  "isProtected": false,
5812
6277
  "isAbstract": false
5813
- }
5814
- ],
5815
- "extendsTokenRange": {
5816
- "startIndex": 1,
5817
- "endIndex": 2
5818
- },
5819
- "implementsTokenRanges": []
5820
- },
5821
- {
5822
- "kind": "TypeAlias",
5823
- "canonicalReference": "@alloy-js/python!PythonOutputScope:type",
5824
- "docComment": "",
5825
- "excerptTokens": [
5826
- {
5827
- "kind": "Content",
5828
- "text": "export type PythonOutputScope = "
5829
- },
5830
- {
5831
- "kind": "Reference",
5832
- "text": "PythonModuleScope",
5833
- "canonicalReference": "@alloy-js/python!PythonModuleScope:class"
5834
- },
5835
- {
5836
- "kind": "Content",
5837
- "text": " | "
5838
- },
5839
- {
5840
- "kind": "Reference",
5841
- "text": "PythonMemberScope",
5842
- "canonicalReference": "@alloy-js/python!PythonMemberScope:class"
5843
- },
5844
- {
5845
- "kind": "Content",
5846
- "text": ";"
5847
- }
5848
- ],
5849
- "fileUrlPath": "src/symbols/scopes.ts",
5850
- "releaseTag": "Public",
5851
- "name": "PythonOutputScope",
5852
- "typeTokenRange": {
5853
- "startIndex": 1,
5854
- "endIndex": 4
5855
- }
5856
- },
5857
- {
5858
- "kind": "Class",
5859
- "canonicalReference": "@alloy-js/python!PythonOutputSymbol:class",
5860
- "docComment": "/**\n * Represents an 'exported' symbol from a .py file. Class, enum, interface etc.\n */\n",
5861
- "excerptTokens": [
5862
- {
5863
- "kind": "Content",
5864
- "text": "export declare class PythonOutputSymbol extends "
5865
- },
5866
- {
5867
- "kind": "Reference",
5868
- "text": "OutputSymbol",
5869
- "canonicalReference": "@alloy-js/core!OutputSymbol:class"
5870
6278
  },
5871
6279
  {
5872
- "kind": "Content",
5873
- "text": " "
5874
- }
5875
- ],
5876
- "fileUrlPath": "src/symbols/python-output-symbol.ts",
5877
- "releaseTag": "Public",
5878
- "isAbstract": false,
5879
- "name": "PythonOutputSymbol",
5880
- "preserveMemberOrder": false,
5881
- "members": [
5882
- {
5883
- "kind": "Constructor",
5884
- "canonicalReference": "@alloy-js/python!PythonOutputSymbol:constructor(1)",
5885
- "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": "",
5886
6283
  "excerptTokens": [
5887
6284
  {
5888
6285
  "kind": "Content",
5889
- "text": "constructor(name: "
5890
- },
5891
- {
5892
- "kind": "Content",
5893
- "text": "string"
6286
+ "text": "get module(): "
5894
6287
  },
5895
6288
  {
5896
6289
  "kind": "Content",
5897
- "text": ", options: "
5898
- },
5899
- {
5900
- "kind": "Reference",
5901
- "text": "CreatePythonSymbolOptions",
5902
- "canonicalReference": "@alloy-js/python!CreatePythonSymbolOptions:interface"
6290
+ "text": "string | undefined"
5903
6291
  },
5904
6292
  {
5905
6293
  "kind": "Content",
5906
- "text": ");"
6294
+ "text": ";"
5907
6295
  }
5908
6296
  ],
6297
+ "isReadonly": true,
6298
+ "isOptional": false,
5909
6299
  "releaseTag": "Public",
6300
+ "name": "module",
6301
+ "propertyTypeTokenRange": {
6302
+ "startIndex": 1,
6303
+ "endIndex": 2
6304
+ },
6305
+ "isStatic": false,
5910
6306
  "isProtected": false,
5911
- "overloadIndex": 1,
5912
- "parameters": [
5913
- {
5914
- "parameterName": "name",
5915
- "parameterTypeTokenRange": {
5916
- "startIndex": 1,
5917
- "endIndex": 2
5918
- },
5919
- "isOptional": false
5920
- },
5921
- {
5922
- "parameterName": "options",
5923
- "parameterTypeTokenRange": {
5924
- "startIndex": 3,
5925
- "endIndex": 4
5926
- },
5927
- "isOptional": false
5928
- }
5929
- ]
6307
+ "isAbstract": false
5930
6308
  },
5931
6309
  {
5932
6310
  "kind": "Property",
5933
- "canonicalReference": "@alloy-js/python!PythonOutputSymbol#instanceMemberScope:member",
6311
+ "canonicalReference": "@alloy-js/python!PythonOutputSymbol#staticMembers:member",
5934
6312
  "docComment": "",
5935
6313
  "excerptTokens": [
5936
6314
  {
5937
6315
  "kind": "Content",
5938
- "text": "get instanceMemberScope(): "
6316
+ "text": "get staticMembers(): "
5939
6317
  },
5940
6318
  {
5941
- "kind": "Reference",
5942
- "text": "PythonMemberScope",
5943
- "canonicalReference": "@alloy-js/python!PythonMemberScope:class"
6319
+ "kind": "Content",
6320
+ "text": "import(\"@alloy-js/core\")."
5944
6321
  },
5945
6322
  {
5946
- "kind": "Content",
5947
- "text": " | undefined"
6323
+ "kind": "Reference",
6324
+ "text": "OutputMemberSpace",
6325
+ "canonicalReference": "@alloy-js/core!OutputMemberSpace:class"
5948
6326
  },
5949
6327
  {
5950
6328
  "kind": "Content",
@@ -5954,7 +6332,7 @@
5954
6332
  "isReadonly": true,
5955
6333
  "isOptional": false,
5956
6334
  "releaseTag": "Public",
5957
- "name": "instanceMemberScope",
6335
+ "name": "staticMembers",
5958
6336
  "propertyTypeTokenRange": {
5959
6337
  "startIndex": 1,
5960
6338
  "endIndex": 3
@@ -5962,43 +6340,72 @@
5962
6340
  "isStatic": false,
5963
6341
  "isProtected": false,
5964
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 "
5965
6359
  },
5966
6360
  {
5967
- "kind": "Property",
5968
- "canonicalReference": "@alloy-js/python!PythonOutputSymbol#module:member",
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",
5969
6378
  "docComment": "",
5970
6379
  "excerptTokens": [
5971
6380
  {
5972
6381
  "kind": "Content",
5973
- "text": "get module(): "
6382
+ "text": "module?: "
5974
6383
  },
5975
6384
  {
5976
6385
  "kind": "Content",
5977
- "text": "string | undefined"
6386
+ "text": "string"
5978
6387
  },
5979
6388
  {
5980
6389
  "kind": "Content",
5981
- "text": ";\n\nset module(value: string | undefined);"
6390
+ "text": ";"
5982
6391
  }
5983
6392
  ],
5984
6393
  "isReadonly": false,
5985
- "isOptional": false,
6394
+ "isOptional": true,
5986
6395
  "releaseTag": "Public",
5987
6396
  "name": "module",
5988
6397
  "propertyTypeTokenRange": {
5989
6398
  "startIndex": 1,
5990
6399
  "endIndex": 2
5991
- },
5992
- "isStatic": false,
5993
- "isProtected": false,
5994
- "isAbstract": false
6400
+ }
5995
6401
  }
5996
6402
  ],
5997
- "extendsTokenRange": {
5998
- "startIndex": 1,
5999
- "endIndex": 2
6000
- },
6001
- "implementsTokenRanges": []
6403
+ "extendsTokenRanges": [
6404
+ {
6405
+ "startIndex": 1,
6406
+ "endIndex": 2
6407
+ }
6408
+ ]
6002
6409
  },
6003
6410
  {
6004
6411
  "kind": "Interface",
@@ -6130,7 +6537,16 @@
6130
6537
  },
6131
6538
  {
6132
6539
  "kind": "Content",
6133
- "text": "() => [string, "
6540
+ "text": "() => ["
6541
+ },
6542
+ {
6543
+ "kind": "Reference",
6544
+ "text": "Children",
6545
+ "canonicalReference": "@alloy-js/core!Children:type"
6546
+ },
6547
+ {
6548
+ "kind": "Content",
6549
+ "text": ", "
6134
6550
  },
6135
6551
  {
6136
6552
  "kind": "Reference",
@@ -6146,10 +6562,10 @@
6146
6562
  "text": ";"
6147
6563
  }
6148
6564
  ],
6149
- "fileUrlPath": "src/symbols/reference.ts",
6565
+ "fileUrlPath": "src/symbols/reference.tsx",
6150
6566
  "returnTypeTokenRange": {
6151
6567
  "startIndex": 3,
6152
- "endIndex": 6
6568
+ "endIndex": 8
6153
6569
  },
6154
6570
  "releaseTag": "Public",
6155
6571
  "overloadIndex": 1,
@@ -7009,6 +7425,44 @@
7009
7425
  ],
7010
7426
  "extendsTokenRanges": []
7011
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
+ },
7012
7466
  {
7013
7467
  "kind": "Function",
7014
7468
  "canonicalReference": "@alloy-js/python!usePythonNamePolicy:function(1)",