TopFn
@Js
const class TopFn : Fn, Thunk
Top level function in the namespace
Return if this function has been deprecated
Func def metadata
Qualified name if function was resolved against xeto namespace
Is this function tagged as admin-only
Is this function tagged as superuser-only
Return only name
Return true
Is this a lazy function that accepts un-evaluated arguments
Thunk.call implementation
Display string taking into account old tags in defMeta
virtual Obj? callList(Obj?[]? args)
Thunk.call 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(Loc loc, Str name, Dict meta, FnParam[] params, Expr body)
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