REnvironmentInformation

Implements

Constructors

Properties

builtInEnv?: true

Is this a built-in environment that is not allowed to change? Please use this carefully and only for the top-most envs!

id: number

Unique and internally generated identifier -- will not be used for comparison but helps with debugging for tracking identities

Maps to exactly one definition of an identifier if the source is known, otherwise to a list of all possible definitions

n?: string

Optional name for namespaced/non-anonymous environments, please only set if you know what you are doing

parent: Environment

Lexical parent of the environment, if any (can be manipulated by R code)

Accessors

  • get closure(): undefined | NodeId

    Provides the closure linked to this environment. This is of importance if, for example, if you want to know the function definition associated with this environment.

    Returns undefined | NodeId

Methods