class documentation

class FrameSymbolVisitor(NodeVisitor): (source)

View In Hierarchy

A visitor for `Frame.inspect`.

Method __init__ Undocumented
Method visit_Assign Visit assignments in the correct order.
Method visit_AssignBlock Stop visiting at block assigns.
Method visit_Block Stop visiting at blocks.
Method visit_CallBlock Undocumented
Method visit_FilterBlock Undocumented
Method visit_For Visiting stops at for blocks. However the block sequence is visited as part of the outer scope.
Method visit_FromImport Undocumented
Method visit_If Undocumented
Method visit_Import Undocumented
Method visit_Macro Undocumented
Method visit_Name All assignments to names go through this function.
Method visit_NSRef Undocumented
Method visit_OverlayScope Do not visit into overlay scopes.
Method visit_Scope Stop visiting at scopes.
Method visit_With Undocumented
Instance Variable symbols Undocumented

Inherited from NodeVisitor:

Method generic_visit Called if no explicit visitor function exists for a node.
Method get_visitor Return the visitor function for this node or `None` if no visitor exists for this node. In that case the generic visit function is used instead.
Method visit Visit a node.
def __init__(self, symbols): (source)

Undocumented

Parameters
symbols:SymbolsUndocumented
def visit_Assign(self, node, **kwargs): (source)

Visit assignments in the correct order.

Parameters
node:nodes.AssignUndocumented
**kwargs:t.AnyUndocumented
def visit_AssignBlock(self, node, **kwargs): (source)

Stop visiting at block assigns.

Parameters
node:nodes.AssignBlockUndocumented
**kwargs:t.AnyUndocumented
def visit_Block(self, node, **kwargs): (source)

Stop visiting at blocks.

Parameters
node:nodes.BlockUndocumented
**kwargs:t.AnyUndocumented
def visit_CallBlock(self, node, **kwargs): (source)

Undocumented

Parameters
node:nodes.CallBlockUndocumented
**kwargs:t.AnyUndocumented
def visit_FilterBlock(self, node, **kwargs): (source)

Undocumented

Parameters
node:nodes.FilterBlockUndocumented
**kwargs:t.AnyUndocumented
def visit_For(self, node, **kwargs): (source)

Visiting stops at for blocks. However the block sequence is visited as part of the outer scope.

Parameters
node:nodes.ForUndocumented
**kwargs:t.AnyUndocumented
def visit_FromImport(self, node, **kwargs): (source)

Undocumented

Parameters
node:nodes.FromImportUndocumented
**kwargs:t.AnyUndocumented
def visit_If(self, node, **kwargs): (source)

Undocumented

Parameters
node:nodes.IfUndocumented
**kwargs:t.AnyUndocumented
def visit_Import(self, node, **kwargs): (source)

Undocumented

Parameters
node:nodes.ImportUndocumented
**kwargs:t.AnyUndocumented
def visit_Macro(self, node, **kwargs): (source)

Undocumented

Parameters
node:nodes.MacroUndocumented
**kwargs:t.AnyUndocumented
def visit_Name(self, node, store_as_param=False, **kwargs): (source)

All assignments to names go through this function.

Parameters
node:nodes.NameUndocumented
store_as_param:boolUndocumented
**kwargs:t.AnyUndocumented
def visit_NSRef(self, node, **kwargs): (source)

Undocumented

Parameters
node:nodes.NSRefUndocumented
**kwargs:t.AnyUndocumented
def visit_OverlayScope(self, node, **kwargs): (source)

Do not visit into overlay scopes.

Parameters
node:nodes.OverlayScopeUndocumented
**kwargs:t.AnyUndocumented
def visit_Scope(self, node, **kwargs): (source)

Stop visiting at scopes.

Parameters
node:nodes.ScopeUndocumented
**kwargs:t.AnyUndocumented
def visit_With(self, node, **kwargs): (source)

Undocumented

Parameters
node:nodes.WithUndocumented
**kwargs:t.AnyUndocumented
symbols = (source)

Undocumented