xlib
xlib copied to clipboard
add reflection.getFunctionName()
something like:
/** get the name of the current function, and all functions under it in the call stack */
function getFunctionName(
/** where to start on the call stack. default is 0 (the immediate caller) */
stackDepth=0
): { name: parameters:[] target:string} []