Options
All
  • Public
  • Public/Protected
  • All
Menu

Class default

Manages a cached map [qualified name: string] -> list of structures, with the possibility to retrieve (resolve) based on qualified name.

Used to speed up resolution of by-(qualified-)name references.

Hierarchy

  • default

Index

Constructors

constructor

Properties

Private _cache

_cache: any

Private _model

_model: any

Private addElementToCache

addElementToCache: any

Methods

addStructureToCache

  • addStructureToCache(structure: IStructure): void
  • Recursively adds this structure and its children to the elements cache.

    Parameters

    Returns void

processNameChange

  • Updates the cache as far as it is affected by the rename of this element. Child entries are updated automatically as well.

    Parameters

    Returns void

removeStructureFromCache

  • removeStructureFromCache(structure: IStructure): void

resolve

  • Parameters

    • typeName: string
    • qualifiedName: string

    Returns AbstractElement

Generated using TypeDoc