Package Exports
- stack-frame
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (stack-frame) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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