equal
deleted
inserted
replaced
29 */ |
29 */ |
30 |
30 |
31 |
31 |
32 #include "../absyntax/absyntax.hh" |
32 #include "../absyntax/absyntax.hh" |
33 |
33 |
34 |
|
35 class stage4out_c { |
34 class stage4out_c { |
36 public: |
35 public: |
37 std::string indent_level; |
36 std::string indent_level; |
38 std::string indent_spaces; |
37 std::string indent_spaces; |
39 |
38 |
40 public: |
39 public: |
41 stage4out_c(std::string indent_level = " "); |
40 stage4out_c(std::string indent_level = " "); |
|
41 stage4out_c(const char *radix, const char *extension, std::string indent_level = " "); |
42 ~stage4out_c(void); |
42 ~stage4out_c(void); |
43 |
43 |
44 void indent_right(void); |
44 void indent_right(void); |
45 void indent_left(void); |
45 void indent_left(void); |
46 |
46 |
51 void *printupper(std::string str); |
51 void *printupper(std::string str); |
52 |
52 |
53 void *printlocation(const char *str); |
53 void *printlocation(const char *str); |
54 void *printlocation(std::string str); |
54 void *printlocation(std::string str); |
55 |
55 |
|
56 protected: |
|
57 std::ostream *out; |
|
58 std::fstream *m_file; |
|
59 |
56 }; |
60 }; |
57 |
61 |
58 |
62 |
59 |
63 |
60 |
64 |