Alexandria  2.25.0
SDC-CH common library for the Euclid project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
Pyston::Visitor Class Referenceabstract

#include <Node.h>

Inheritance diagram for Pyston::Visitor:
Inheritance graph
[legend]

Public Member Functions

virtual void enter (const NodeBase *)=0
 
virtual void exit (const NodeBase *)=0
 

Detailed Description

Base class for visitors of a computing tree.

Leaf nodes will call enter and, immediately after, exit. For binary operators, the left side is visited first

Definition at line 160 of file Node.h.

Member Function Documentation

virtual void Pyston::Visitor::enter ( const NodeBase )
pure virtual

Called when a node is entered

Implemented in Pyston::GraphvizGenerator, and Pyston::TextReprVisitor.

Referenced by Pyston::PythonCall< T >::visit(), and Pyston::AttrGetter< T >::visit().

virtual void Pyston::Visitor::exit ( const NodeBase )
pure virtual

The documentation for this class was generated from the following file: