Mercurial > octave-nkf
comparison src/pt-pr-code.h @ 2961:8a77d52c9d02
[project @ 1997-05-12 01:36:04 by jwe]
author | jwe |
---|---|
date | Mon, 12 May 1997 01:36:24 +0000 |
parents | 194b50e4725b |
children | 1b47dd00a831 |
comparison
equal
deleted
inserted
replaced
2960:194b50e4725b | 2961:8a77d52c9d02 |
---|---|
28 #endif | 28 #endif |
29 | 29 |
30 #include <string> | 30 #include <string> |
31 | 31 |
32 #include "pt-walk.h" | 32 #include "pt-walk.h" |
33 | |
34 class tree_expression; | |
33 | 35 |
34 // How to print the code that the parse trees represent. | 36 // How to print the code that the parse trees represent. |
35 | 37 |
36 class | 38 class |
37 tree_print_code : public tree_walker | 39 tree_print_code : public tree_walker |
158 | 160 |
159 void indent (void); | 161 void indent (void); |
160 | 162 |
161 void reset (void); | 163 void reset (void); |
162 | 164 |
165 void print_parens (const tree_expression& expr, const char *txt); | |
166 | |
163 // Must create with an output stream! | 167 // Must create with an output stream! |
164 | 168 |
165 tree_print_code (void); | 169 tree_print_code (void); |
166 | 170 |
167 // No copying! | 171 // No copying! |