SwiftclassMorpheus

class Morpheus.PyClassMethod

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 7

  1. deinitdeinit
  2. fieldlet function: Morpheus.Function+0x10
  3. func__get__(obj: Any?, type: Morpheus.PyClass) throws -> Any
  4. funccall(args: [Any], keywords: [String : Any]) async throws -> Any
  5. initMorpheus.PyClassMethod.__allocating_init(function: Morpheus.Function) -> Morpheus.PyClassMethod
  6. varvar __class__: Morpheus.PyClass { get }
  7. varvar name: String { get }
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
}