Class UcrxMethod<TArgs, TMod>

Type Parameters

Hierarchy

Constructors

Properties

__handle__?: EsMethodHandle<TArgs>

Brand field to make type inference work.

Accessors

  • get args(): Symbols<TArgs>
  • Per-argument symbols available by their names.

    Shorthand for this.signature.args.

    Returns Symbols<TArgs>

  • get requestedName(): string
  • Requested member name.

    Note that the class may decide to rename it in order to resolve naming conflicts.

    Returns string

  • get signature(): EsSignature<TArgs>
  • Method signature.

    Returns EsSignature<TArgs>

  • get visibility(): EsMemberVisibility
  • Visibility of this member.

    Returns EsMemberVisibility

Methods

  • Declares member automatically rather explicitly.

    Called by host class if this member is not declared in the base class.

    Automatic declaration would be disposed of once the member is declared explicitly.

    Parameters

    • hostClass: EsClass<Args<string>>

      Host class to declare member for.

    • ref: Omit<EsMemberRef<UcrxMethod<TArgs, TMod>, EsMethodHandle<TArgs>>, "getHandle">

      Incomplete member reference.

    Returns EsMethodHandle<TArgs>

    Throws

    ReferenceError by default.

  • Declares this method in the given class.

    Parameters

    • hostClass: EsClass<Args<string>>

      Host class to declare method in.

    • declaration: EsMethodDeclaration<TArgs>

      Method declaration details.

    Returns EsMethodHandle<TArgs>

    Declared method handle.

  • Inherits this member from the base class.

    Called by host class to update inherited member handle.

    Returns the handle as is by default.

    Parameters

    • hostClass: EsClass<Args<string>>

      Host class to inherit member for.

    • ref: EsMemberRef<UcrxMethod<TArgs, TMod>, EsMethodHandle<TArgs>>

      Inherited member reference.

    • baseClass: EsClass<Args<string>>

      Base class the member inherited from.

    Returns EsMethodHandle<TArgs>

    Member handle updated for inherited member.

  • Parameters

    • Optional __namedParameters: {
          accessor?: string;
      }
      Optional
      • Optional Readonly accessor?: string

    Returns string

Generated using TypeDoc