Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Callsite

Encapsulates information about the source of a method invocation.

Hierarchy

  • Callsite

Index

Constructors

  • Initializes a new Callsite object.

    Returns Callsite

Properties

stack: any

Accessors

  • get filename(): string
  • Gets the filename of the current callsite.

    Returns string

    A string representing the filename of the current callsite; undefined if the filename could not be resolved for the callsite.

  • Gets the parent callsite.

    Returns Callsite

    A Callsite object that represents the calling callsite; undefined if the current callsite is the root.

Methods

  • Retrieves the calling callsite.

    Returns Callsite

    The Callsite of the caller callsite; undefined if the current callsite is the root.

  • Retrieves the current callsite.

    Returns Callsite

    The Callsite of

Generated using TypeDoc