Ibyar/Aurora
    Preparing search index...

    Class Scope<T>

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Implemented by

    Index
    • Type Parameters

      Parameters

      • context: T
      • OptionalpropertyKeys: (keyof T)[]

      Returns Scope<T>

    _ctx: T
    _inners: Map<keyof T, Scope<any>>
    _keys?: (keyof T)[]
    • delete property from context

      Parameters

      • propertyKey: keyof T

      Returns boolean

    • get value of propertyKey in current context

      Parameters

      • propertyKey: keyof T

      Returns any

    • get current context object of this scope

      Returns T

    • get a proxy of the current context object if exists.

      Returns T

    • get a scope for an object named as propertyKey from cache map,

      if the current value is not type od object, will return undefined.

      Type Parameters

      Parameters

      • propertyKey: keyof T

        the name of the property

      Returns S | undefined

    • is current context has propertyKey in hash map keys

      Parameters

      • propertyKey: keyof T

      Returns boolean

    • set the value of propertyKey in current context, could be instilled with value.

      Parameters

      • propertyKey: keyof T
      • Optionalvalue: any
      • Optionalreceiver: any

      Returns boolean

    • create a scope with the same type of this scope

      Type Parameters

      Parameters

      • propertyKey: keyof T

      Returns S

    • sc

      Type Parameters

      Parameters

      • propertyKey: keyof T
      • Optionalscope: S

      Returns S

    • Type Parameters

      Parameters

      • OptionalpropertyKeys: (keyof T)[]

      Returns Scope<T>

    • Type Parameters

      Parameters

      • ctx: T
      • OptionalpropertyKeys: (keyof T)[]

      Returns Scope<T>