stack-frame
A stack frame.
Last updated 8 years ago by timer .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install stack-frame 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.0-alpha.a91e0949                                ...           canary (8 years ago)
  • 0.4.0                                ...           latest (8 years ago)

7 Versions

  • 0.4.0                                ...           8 years ago
  • 0.2.0                                ...           8 years ago
  • 0.1.1                                ...           8 years ago
  • 0.1.0                                ...           8 years ago
  • 0.0.0-alpha.a91e0949                                ...           8 years ago
  • 0.0.0-alpha.a96114f5                                ...           8 years ago
  • 0.0.0                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 4
Last Day 0
Last Week 4
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None

Copyright 2013 - present © cnpmjs.org | Home |