class documentation
class ClosedScope(Scope): (source)
Known subclasses: libstatic.Comp, libstatic.Func, libstatic.Lamb
Model a closed scope (abstract). Closed scope have <locals>.
| Class Variable | node |
Undocumented |
Inherited from Scope:
| Method | name |
If the node associated to this Def has a name, returns this name. Otherwise returns None. |
Inherited from Def (via Scope):
| Method | add |
Undocumented |
| Method | users |
The list of ast entity that holds a reference to this node. |
| Instance Variable | islive |
Undocumented |
| Method | _setup |
Undocumented |
| Method | _str |
Undocumented |
| Instance Variable | _users |
Undocumented |
node:
Union[ ast.FunctionDef, ast.AsyncFunctionDef, ast.Lambda, ast.GeneratorExp, ast.ListComp, ast.DictComp, ast.SetComp] =
(source)
¶
overrides
libstatic.Def.nodeUndocumented