Alexandria 2.31.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
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

◆ enter()

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

Called when a node is entered

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

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

◆ exit()

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

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