comparison src/pt-loop.h @ 3485:e5d5848370c9

[project @ 2000-01-28 02:07:35 by jwe]
author jwe
date Fri, 28 Jan 2000 02:07:38 +0000
parents 8b1f46ac2b64
children 0689afb1d001
comparison
equal deleted inserted replaced
3484:8b1f46ac2b64 3485:e5d5848370c9
80 // No copying! 80 // No copying!
81 81
82 tree_while_command (const tree_while_command&); 82 tree_while_command (const tree_while_command&);
83 83
84 tree_while_command& operator = (const tree_while_command&); 84 tree_while_command& operator = (const tree_while_command&);
85 };
86
87 // Do-While.
88
89 class
90 tree_do_while_command : public tree_while_command
91 {
92 public:
93
94 tree_do_while_command (int l = -1, int c = -1)
95 : tree_while_command (l, c) { }
96
97 tree_do_while_command (tree_expression *e, int l = -1, int c = -1)
98 : tree_while_command (e, l, c) { }
99
100 tree_do_while_command (tree_expression *e, tree_statement_list *lst,
101 int l = -1, int c = -1)
102 : tree_while_command (e, lst, l, c) { }
103
104 ~tree_do_while_command (void) { }
105
106 void eval (void);
107
108 void eval_error (void);
109
110 void accept (tree_walker& tw);
111
112 private:
113
114 // No copying!
115
116 tree_do_while_command (const tree_do_while_command&);
117
118 tree_do_while_command& operator = (const tree_do_while_command&);
119 }; 85 };
120 86
121 // Do-Until. 87 // Do-Until.
122 88
123 class 89 class