Represents a frame in a stack.

Hierarchy

  • StackFrame

Properties

col?: number

The column in the file where the frame originates.

fileName?: string

The fileName, relative to the project root, of the stack frame.

function?: string

The name of the function the frame occurs in.

line?: number

The line number in the file where the frame originates.

srcAfter?: string[]

A number of source code lines after the line the frame originates from.

The number of lines is configurable.

srcBefore?: string[]

A number of source code lines before the line the frame originates from.

The number of lines is configurable.

srcLine?: string

The line of source code the frame originates from.

This line may be partial if the line is too large.

Generated using TypeDoc