Fan

 

const class

sys::Method

sys::Obj
  sys::Slot
    sys::Method

Method models a function with a formal parameter list and return value (or Void if no return).

Slots

callSource

Obj? call(Obj[]? args)

Convenience for func.call

call0Source

Obj? call0()

Convenience for func.call0

call1Source

Obj? call1(Obj? a)

Convenience for func.call1

call2Source

Obj? call2(Obj? a, Obj? b)

Convenience for func.call2

call3Source

Obj? call3(Obj? a, Obj? b, Obj? c)

Convenience for func.call3

call4Source

Obj? call4(Obj? a, Obj? b, Obj? c, Obj? d)

Convenience for func.call4

call5Source

Obj? call5(Obj? a, Obj? b, Obj? c, Obj? d, Obj? e)

Convenience for func.call5

call6Source

Obj? call6(Obj? a, Obj? b, Obj? c, Obj? d, Obj? e, Obj? f)

Convenience for func.call6

call7Source

Obj? call7(Obj? a, Obj? b, Obj? c, Obj? d, Obj? e, Obj? f, Obj? g)

Convenience for func.call7

call8Source

Obj? call8(Obj? a, Obj? b, Obj? c, Obj? d, Obj? e, Obj? f, Obj? g, Obj? h)

Convenience for func.call8

callOnSource

Obj? callOn(Obj? target, Obj[]? args)

Convenience for func.callOn

funcSource

Func func()

Get the function body of this method.

paramsSource

Param[] params()

Get the parameters of the method. Convenience for func.params.

returnsSource

Type returns()

Type returned by the method or sys::Void if no return value. Convenience for func.returns.