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