Skip to main content

XpmBuildConfiguration._inheritedNamesSet property

Set of inherited configuration names for circular reference detection.

Signature

protected _inheritedNamesSet: Set<string>;

Remarks

This set tracks the inheritance chain being processed to detect and prevent circular inheritance references.

Detection mechanism:

  1. Initially empty when configuration initialisation begins.
  2. Each inherited configuration name is added before processing that configuration's inheritance.
  3. If a configuration attempts to inherit from a name already in the set, a circular reference exists.
  4. Circular references trigger XpmInputError with details about the problematic inheritance chain.

Example: If config A inherits from B, B from C, and C from A, the circular dependency is detected when C attempts to inherit from A.


Generated via tsdoc2docusaurus 1.3.0-pre by API Extractor/Documenter 7.55.2.