CanonicalAliasEnvironment

CanonicalAliasEnvironment#

class treescope.canonical_aliases.CanonicalAliasEnvironment[source]#

Bases: object

An environment that defines a set of canonical aliases.

Variables:

aliases (dict[int, treescope.canonical_aliases.ModuleAttributePath]) – A mapping from id(some_object) to the path where we expect to find that object.

Methods

__init__(aliases)

Attributes

aliases