Class DefaultNameResolver

Hierarchy

  • ConNameResolver
    • DefaultNameResolver

Constructors

Properties

Methods

Constructors

Properties

aliasResolver: AliasResolver
prefixResolver: PrefixResolver

Methods

  • Algorithm:

    1. First the dictionary of aliases is used to translate the name to its alias, if any. This is a single step, a single alias lookup.
    2. If the name contains a prefix, the prefix resolver for that prefix is invoked to resolve the name.

    Any more complex behavior, or any sort of recursion where the result of a name resolution is further resolved, must be done through composition of name resolvers and implementing the composition logic in individual resolvers.

    Parameters

    • name: string

    Returns string

Generated using TypeDoc