{ } qjs-modules

stack

Source: lib/stack.js (pure JS) — default export: StackFrame

Parses and represents call-stack frames.

Exports

ExportArgsKindDescription
Location—re-exportRe-exported from the location module.
Stack(st, pred)1–2functionParses a raw stack string into an array of StackFrames, filtered by pred.
StackFrame—classOne stack frame: function name, file, line, column. (default export)

Export list

Generated by utilities/doc-api.js from the stack dump of utilities/api-surface.sh: 104 members. Edit the text above this block, not the block.

Functions: Stack[Symbol.species]()

Location

class, constructible

  • static methods: count()
  • methods: clone(), copy(), equal(), nextChar(), toString(), [Symbol.toPrimitive]()
  • properties: byteOffset (get), charOffset (get), column (get), file (get/set), line (get), [Symbol.toStringTag]

Stack

class, constructible

  • static methods: common(), fromString(), update()
  • methods: entries(), filter(), find(), findIndex(), findLastIndex(), indexOf(), lastIndexOf(), pop(), push(), reverse(), shift(), slice(), splice(), toString(), unshift(), update(), values(), [Symbol.inspect](), [Symbol.iterator](), [Symbol.toPrimitive]()
  • properties: [Symbol.toStringTag]

StackFrame

class, constructible

  • static methods: equal(), fromString()
  • methods: equals(), getArgs(), getColumnNumber(), getEvalOrigin(), getFileName(), getFunctionName(), getIs(), getIsEval(), getIsNative(), getIsToplevel(), getLineNumber(), getSource(), setArgs(), setColumnNumber(), setEvalOrigin(), setFileName(), setFunctionName(), setIs(), setIsEval(), setIsNative(), setIsToplevel(), setLineNumber(), setSource(), toString(), [Symbol.inspect]()
  • properties: loc (get), [Symbol.toStringTag] (get)

default

class, constructible

  • static methods: equal(), fromString()
  • methods: equals(), getArgs(), getColumnNumber(), getEvalOrigin(), getFileName(), getFunctionName(), getIs(), getIsEval(), getIsNative(), getIsToplevel(), getLineNumber(), getSource(), setArgs(), setColumnNumber(), setEvalOrigin(), setFileName(), setFunctionName(), setIs(), setIsEval(), setIsNative(), setIsToplevel(), setLineNumber(), setSource(), toString(), [Symbol.inspect]()
  • properties: loc (get), [Symbol.toStringTag] (get)