0.4.0 • Published 7 years ago
stack-frame v0.4.0
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
0.4.0
7 years ago
0.2.0
7 years ago
0.1.1
7 years ago
0.1.0
7 years ago
0.0.0-alpha.a91e0949
7 years ago
0.0.0-alpha.a96114f5
7 years ago
0.0.0
7 years ago