PythonModuleScope
Members
Section titled “Members”Extends PythonLexicalScope
| addImport | (targetSymbol: PythonOutputSymbol, targetModule: PythonModuleScope, options: AddImportOptions) => PythonOutputSymbol | |
| addTypeImport | () => PythonOutputSymbol | Add TYPE_CHECKING import from the typing module. Returns the local symbol for use in the if block opener. |
| debugInfo | Record<string, unknown> | |
| importedModules | ImportRecords | |
| importedSymbols | Map<PythonOutputSymbol, PythonOutputSymbol> |