SwiftclassMorpheus
PyStaticMethod
class Morpheus.PyStaticMethod
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolMorpheus.Attributable
- protocolMorpheus.Callable
- protocolMorpheus.HasAbstractFlag
- protocolMorpheus.PyDescriptor
- protocolMorpheus.PyObject
- protocolMorpheus.Storable
Members 10
- deinit
deinit - field
let function: Morpheus.Function+0x10 - func
__get__(obj: Any?, type: Morpheus.PyClass) throws -> Any - func
attribute(for: String) -> Any? - func
call(args: [Any], keywords: [String : Any]) async throws -> Any - func
has(attribute: String) -> Bool - func
store(key: Any, obj: Any, kind: Morpheus.NameBindingKind) -> () - init
Morpheus.PyStaticMethod.__allocating_init(function: Morpheus.Function) -> Morpheus.PyStaticMethod - var
final var __class__: Morpheus.PyClass { get } - var
final var name: String { get }
Header
class PyStaticMethod { let function: Morpheus.Function init(function: Morpheus.Function) final var __class__: any Morpheus.PyClass { get } final var name: Swift.String { get } final func has(attribute: Swift.String) -> Swift.Bool final func call(args: [Any], keywords: [Swift.String : Any]) async throws -> Any final func store(key: Any, obj: Any, kind: Morpheus.NameBindingKind) final func __get__(obj: Any?, type: any Morpheus.PyClass) throws -> Any final func attribute(for: Swift.String) -> Any? deinit }