TopFn
@Js
const class TopFn : Fn
Top level function in the namespace
Is this function tagged as admin-only
Return if this function has been deprecated
Is this function tagged as superuser-only
Func def metadata
Qualified name if function was resolved against xeto namespace
Thunk.callComp implementation
Thunk.callList implementation
Display string taking into account old tags in defMeta
Is this a lazy function that accepts un-evaluated arguments
Return true
Return only name
virtual Obj? callComp(Comp self, Obj? arg)
Thunk.callComp implementation
virtual Obj? callList(Obj?[]? args := null)
Thunk.callList implementation
Str dis()
Display string taking into account old tags in defMeta
const virtual Bool : isAdmin
Is this function tagged as admin-only
const virtual Bool : isDeprecated
Return if this function has been deprecated
virtual Bool isLazy()
Is this a lazy function that accepts un-evaluated arguments
const virtual Bool : isSu
Is this function tagged as superuser-only
virtual Bool isTop()
Return true
new make(FileLoc loc, Str name, Dict meta, FnParam[] params, Expr body := Literal.nullVal)
const virtual Dict : meta
Func def metadata
const Str? : qname
Qualified name if function was resolved against xeto namespace
virtual Str toStr()
Return only name