stack-frame
A stack frame.
API
ScriptLine
A container holding a script line.
lineNumber
The line number of this line of source.
Type: number
content
The content (or value) of this line of source.
Type: string
highlight
Whether or not this line should be highlighted. Particularly useful for error reporting with context.
Type: boolean
StackFrame
A representation of a stack frame.
getFunctionName
Returns the name of this function.
Returns (string | null)
getSource
Returns the source of the frame. This contains the file name, line number, and column number when available.
Returns string
toString
Returns a pretty version of this stack frame.
Returns string