PythonOutputSymbol
Represents an ‘exported’ symbol from a .py file. Class, enum, interface etc.
Members
Section titled “Members”Extends OutputSymbol
| constructor | (name: string | Namekey, spaces: OutputSpace[] | OutputSpace | undefined, options: PythonOutputSymbolOptions) | Constructs a new instance of the PythonOutputSymbol class |
| copy | () => PythonOutputSymbol | |
| debugInfo | Record<string, unknown> | |
| instanceMembers | import(“@alloy-js/core”).OutputMemberSpace | |
| isInstanceMemberSymbol | boolean | |
| isStaticMemberSymbol | boolean | |
| isTypeOnly | boolean | Returns true if this symbol is only used in type annotation contexts. Such symbols can be imported inside a TYPE_CHECKING block. |
| markAsValue | () => void | Mark this symbol as also being used as a value (not just a type). |
| memberSpaces | readonly [“static”, “instance”] | |
| module | string | undefined | |
| staticMembers | import(“@alloy-js/core”).OutputMemberSpace |