Alexandria 2.31.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
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
25namespace Pyston {
26
31class TextReprVisitor : public Visitor {
32public:
38 explicit TextReprVisitor(std::ostream& out_stream);
39
43 void enter(const NodeBase* base) override;
44
48 void exit(const NodeBase* node) override;
49
50protected:
53};
54
55} // end of namespace Pyston
56
57#endif // PYSTON_TEXTREPRVISITOR_H
void enter(const NodeBase *base) override
std::list< std::list< std::string > > m_stack
void exit(const NodeBase *node) override