A fully qualified name relative to a specific root, usually referring to a TypeScript namespace or type.
Canonical names are organized in a prefix tree, that is, the “parent” of a canonical name is the name corresponding to its prefix.
It is possible for two different canonical names to have the same
qualified name, namely if they are rooted in different scopes. The
predicates deal specifically with canonical names that are rooted in
the global scope or in the scope of a named module.
This class is only populated when full TypeScript extraction is enabled.
Gets a string describing the root scope of this canonical name.
Gets a child of this canonical name, i.e. an extension of its qualified name.
Gets the name of the external module represented by this canonical name, if any.
Gets the name of the global variable represented by this canonical name, if any.
Gets the module represented by this canonical name, if such a module exists and was extracted.
Gets the name without prefix.
Gets the parent of this canonical name, that is, the prefix of its qualified name.
Gets the qualified name without the root.
Gets the outermost scope from which this type can be accessed by a qualified name (without using an
Holds if this canonical name has a child, i.e. an extension of its qualified name.
Holds if this has the given qualified name, rooted in the global scope.
Holds if this has the given qualified name, rooted in the given external module.
Holds if this canonical name is exported by its parent.
Holds if this is the export namespace of a module.
Holds if this is the export namespace of the given module.
True if this has no parent.
Gets the fully qualified name, followed by the name of its enclosing module or file.