Fantom

 

class

compilerJs::JsMethod

sys::Obj
  compilerJs::JsNode
    compilerJs::JsSlot
      compilerJs::JsMethod

JsMethod

Slots

codeSource

JsBlock? code

ctorChainSource

JsExpr? ctorChain

hasClosureSource

Bool hasClosure

isCtorSource

Bool isCtor

isFieldAccessorSource

Bool isFieldAccessor()

isGetterSource

Bool isGetter

isSetterSource

Bool isSetter

makeSource

new make(CompilerSupport s, MethodDef m)

paramsSource

JsMethodParam[] params

parentPeerSource

JsTypeRef? parentPeer

retSource

JsTypeRef ret

sigSource

Str sig(JsMethodParam[] pars)

writeSource

override Void write(JsWriter out)

Overrides compilerJs::JsNode.write

Doc inherited from compilerJs::JsNode.write

Write the JavaScript source code for this node.

writeMethodSource

Void writeMethod(JsWriter out, Str methName, JsMethodParam[] methParams)