Alexandria  2.27.0
SDC-CH common library for the Euclid project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TextReprVisitor.h
Go to the documentation of this file.
1 
19 #ifndef PYSTON_TEXTREPRVISITOR_H
20 #define PYSTON_TEXTREPRVISITOR_H
21 
22 #include "Pyston/Graph/Node.h"
23 #include <list>
24 
25 namespace Pyston {
26 
31 class TextReprVisitor : public Visitor {
32 public:
38  explicit TextReprVisitor(std::ostream& out_stream);
39 
43  void enter(const NodeBase* base) override;
44 
48  void exit(const NodeBase* node) override;
49 
50 protected:
53 };
54 
55 } // end of namespace Pyston
56 
57 #endif // PYSTON_TEXTREPRVISITOR_H
std::list< std::list< std::string > > m_stack
TextReprVisitor(std::ostream &out_stream)
void exit(const NodeBase *node) override
STL class.
void enter(const NodeBase *base) override
STL class.