@eagleoutice/flowr - v2.10.2
    Preparing search index...

    This is the read-only interface to the FlowrAnalyzerEnvironmentContext, which provides access to the built-in environment used during analysis.

    interface ReadOnlyFlowrAnalyzerEnvironmentContext {
        get builtInEnvironment(): {
            builtInEnv?: true;
            id: number;
            memory: ReadonlyMap;
            parent: { readonly id: number; readonly parent: ...; readonly memory: ReadonlyMap<BrandedIdentifier, readonly ({ readonly type: InGraphReferenceType; readonly definedAt: NodeId; readonly value?: readonly NodeId[] | undefined; readonly nodeId: NodeId; readonly name: BrandedIdentifier | ... 1 more ... | undefined; readonly cd...;
        };
        get emptyBuiltInEnvironment(): {
            builtInEnv?: true;
            id: number;
            memory: ReadonlyMap;
            parent: { readonly id: number; readonly parent: ...; readonly memory: ReadonlyMap<BrandedIdentifier, readonly ({ readonly type: InGraphReferenceType; readonly definedAt: NodeId; readonly value?: readonly NodeId[] | undefined; readonly nodeId: NodeId; readonly name: BrandedIdentifier | ... 1 more ... | undefined; readonly cd...;
        };
        getCleanEnvFingerprint(): string;
        makeCleanEnv(): REnvironmentInformation;
        makeCleanEnvWithEmptyBuiltIns(): REnvironmentInformation;
        makeEmptyEnv(): REnvironmentInformation;
    }

    Implemented by

    Index

    Accessors

    • get builtInEnvironment(): {
          builtInEnv?: true;
          id: number;
          memory: ReadonlyMap;
          parent: { readonly id: number; readonly parent: ...; readonly memory: ReadonlyMap<BrandedIdentifier, readonly ({ readonly type: InGraphReferenceType; readonly definedAt: NodeId; readonly value?: readonly NodeId[] | undefined; readonly nodeId: NodeId; readonly name: BrandedIdentifier | ... 1 more ... | undefined; readonly cd...;
      }

      Get the built-in environment used during analysis.

      Returns {
          builtInEnv?: true;
          id: number;
          memory: ReadonlyMap;
          parent: { readonly id: number; readonly parent: ...; readonly memory: ReadonlyMap<BrandedIdentifier, readonly ({ readonly type: InGraphReferenceType; readonly definedAt: NodeId; readonly value?: readonly NodeId[] | undefined; readonly nodeId: NodeId; readonly name: BrandedIdentifier | ... 1 more ... | undefined; readonly cd...;
      }

      • Optional ReadonlybuiltInEnv?: true

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

      • Readonlyid: number

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

      • Readonlymemory: ReadonlyMap

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

      • Readonlyparent: { readonly id: number; readonly parent: ...; readonly memory: ReadonlyMap<BrandedIdentifier, readonly ({ readonly type: InGraphReferenceType; readonly definedAt: NodeId; readonly value?: readonly NodeId[] | undefined; readonly nodeId: NodeId; readonly name: BrandedIdentifier | ... 1 more ... | undefined; readonly cd...

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

    • get emptyBuiltInEnvironment(): {
          builtInEnv?: true;
          id: number;
          memory: ReadonlyMap;
          parent: { readonly id: number; readonly parent: ...; readonly memory: ReadonlyMap<BrandedIdentifier, readonly ({ readonly type: InGraphReferenceType; readonly definedAt: NodeId; readonly value?: readonly NodeId[] | undefined; readonly nodeId: NodeId; readonly name: BrandedIdentifier | ... 1 more ... | undefined; readonly cd...;
      }

      Get the empty built-in environment used during analysis. The empty built-in environment only contains primitive definitions.

      Returns {
          builtInEnv?: true;
          id: number;
          memory: ReadonlyMap;
          parent: { readonly id: number; readonly parent: ...; readonly memory: ReadonlyMap<BrandedIdentifier, readonly ({ readonly type: InGraphReferenceType; readonly definedAt: NodeId; readonly value?: readonly NodeId[] | undefined; readonly nodeId: NodeId; readonly name: BrandedIdentifier | ... 1 more ... | undefined; readonly cd...;
      }

      • Optional ReadonlybuiltInEnv?: true

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

      • Readonlyid: number

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

      • Readonlymemory: ReadonlyMap

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

      • Readonlyparent: { readonly id: number; readonly parent: ...; readonly memory: ReadonlyMap<BrandedIdentifier, readonly ({ readonly type: InGraphReferenceType; readonly definedAt: NodeId; readonly value?: readonly NodeId[] | undefined; readonly nodeId: NodeId; readonly name: BrandedIdentifier | ... 1 more ... | undefined; readonly cd...

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

    Methods