Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Context

Index

Constructors

constructor

Properties

environments

environments: Scope

globals

globals: Scope

opts

Private registers

registers: object

Type declaration

Private scopes

scopes: Scope[] = [{}]

sync

sync: boolean

Methods

bottom

Private findScope

get

  • get(path: string): object

getAll

getFromScope

  • getFromScope(scope: object, paths: string[] | string): object

getRegister

  • getRegister(key: string, defaultValue?: object): any
  • Parameters

    • key: string
    • Default value defaultValue: object = {}

    Returns any

Private parseProp

  • parseProp(str: string): string[]

pop

push

  • push(ctx: object): number

restoreRegister

  • restoreRegister(keyValues: [string, any][]): void

saveRegister

  • saveRegister(...keys: string[]): [string, any][]

setRegister

  • setRegister(key: string, value: any): any

Generated using TypeDoc