FrameIdentifierVisitor Class

Inheritance diagram of FrameIdentifierVisitor

class FrameIdentifierVisitor(identifiers)

A visitor for Frame.inspect.

Methods

__init__(identifiers)
generic_visit(node, *args, **kwargs) Called if no explicit visitor function exists for a node.
get_visitor(node) Return the visitor function for this node or None if no visitor
visit(node, *args, **kwargs) Visit a node.
visit_Assign(node) Visit assignments in the correct order.
visit_Block(node) Stop visiting at blocks.
visit_CallBlock(node)
visit_FilterBlock(node)
visit_For(node) Visiting stops at for blocks.
visit_FromImport(node)
visit_If(node)
visit_Import(node)
visit_Macro(node)
visit_Name(node) All assignments to names go through this function.
visit_Scope(node) Stop visiting at scopes.

Descriptions

class FrameIdentifierVisitor

Method details

__init__(identifiers)
visit_Assign(node)

Visit assignments in the correct order.

visit_Block(node)

Stop visiting at blocks.

visit_CallBlock(node)
visit_FilterBlock(node)
visit_For(node)

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

visit_FromImport(node)
visit_If(node)
visit_Import(node)
visit_Macro(node)
visit_Name(node)

All assignments to names go through this function.

visit_Scope(node)

Stop visiting at scopes.

Inherited member details

generic_visit(node, *args, **kwargs)

Called if no explicit visitor function exists for a node.

get_visitor(node)

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.

visit(node, *args, **kwargs)

Visit a node.

Table Of Contents

Previous topic

Frame Class

Next topic

Identifiers Class