std::vector<TreeChars> tree;
public:
- const std::string &apply(Stage &);
+ std::string apply(Stage &);
+ std::string apply(Node &n) { n.visit(*this); return formatted; }
private:
void append(const std::string &);
void begin_sub();
void last_branch();
void end_sub();
- void annotated_branch(const std::string &, Node &);
unsigned get_label(const Node &);
std::string format_type(TypeDeclaration *);