SwiftclassMorpheus

class Morpheus.PyStaticMethod

Structure

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

Members 10

  1. deinitdeinit
  2. fieldlet function: Morpheus.Function+0x10
  3. func__get__(obj: Any?, type: Morpheus.PyClass) throws -> Any
  4. funcattribute(for: String) -> Any?
  5. funccall(args: [Any], keywords: [String : Any]) async throws -> Any
  6. funchas(attribute: String) -> Bool
  7. funcstore(key: Any, obj: Any, kind: Morpheus.NameBindingKind) -> ()
  8. initMorpheus.PyStaticMethod.__allocating_init(function: Morpheus.Function) -> Morpheus.PyStaticMethod
  9. varfinal var __class__: Morpheus.PyClass { get }
  10. varfinal var name: String { get }
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
}