NameScope
A scope which acts as a namespace with a certain name, which is prefixed to all local names declared in it. This could be a package or other structural elements, like a class. In the latter case, the derived RecordScope should be used.
Inheritors
Properties
The list of child scopes.
Returns the GlobalScope of this scope by traversing its parents upwards.
In some languages, the lookup scope of a symbol that is being resolved (e.g. of a Reference) can be adjusted through keywords (such as global
in Python or PHP).
FQN Name currently valid
A map of symbols and their respective Declaration nodes that declare them.
A map of typedefs keyed by their alias name. This is still needed as a bridge until we completely redesign the alias / typedef system.
A list of ImportDeclaration nodes that have ImportDeclaration.wildcardImport set to true.
Functions
Adds a declaration with the defined symbol.
Looks up a list of Declaration nodes for the specified symbol. Optionally, predicate can be used for additional filtering.