comparison src/pt-loop.h @ 10313:f3b65e1ae355

untabify src header files
author John W. Eaton <jwe@octave.org>
date Thu, 11 Feb 2010 12:16:43 -0500
parents cd96d29c5efa
children fd0a3ac60b0e
comparison
equal deleted inserted replaced
10312:cbc402e64d83 10313:f3b65e1ae355
47 tree_while_command (int l = -1, int c = -1) 47 tree_while_command (int l = -1, int c = -1)
48 : tree_command (l, c), expr (0), list (0), lead_comm (0), 48 : tree_command (l, c), expr (0), list (0), lead_comm (0),
49 trail_comm (0) { } 49 trail_comm (0) { }
50 50
51 tree_while_command (tree_expression *e, 51 tree_while_command (tree_expression *e,
52 octave_comment_list *lc = 0, 52 octave_comment_list *lc = 0,
53 octave_comment_list *tc = 0, 53 octave_comment_list *tc = 0,
54 int l = -1, int c = -1) 54 int l = -1, int c = -1)
55 : tree_command (l, c), expr (e), list (0), lead_comm (lc), 55 : tree_command (l, c), expr (e), list (0), lead_comm (lc),
56 trail_comm (tc) { } 56 trail_comm (tc) { }
57 57
58 tree_while_command (tree_expression *e, tree_statement_list *lst, 58 tree_while_command (tree_expression *e, tree_statement_list *lst,
59 octave_comment_list *lc = 0, 59 octave_comment_list *lc = 0,
60 octave_comment_list *tc = 0, 60 octave_comment_list *tc = 0,
61 int l = -1, int c = -1) 61 int l = -1, int c = -1)
62 : tree_command (l, c), expr (e), list (lst), lead_comm (lc), 62 : tree_command (l, c), expr (e), list (lst), lead_comm (lc),
63 trail_comm (tc) { } 63 trail_comm (tc) { }
64 64
65 ~tree_while_command (void); 65 ~tree_while_command (void);
66 66
71 octave_comment_list *leading_comment (void) { return lead_comm; } 71 octave_comment_list *leading_comment (void) { return lead_comm; }
72 72
73 octave_comment_list *trailing_comment (void) { return trail_comm; } 73 octave_comment_list *trailing_comment (void) { return trail_comm; }
74 74
75 tree_command *dup (symbol_table::scope_id scope, 75 tree_command *dup (symbol_table::scope_id scope,
76 symbol_table::context_id context) const; 76 symbol_table::context_id context) const;
77 77
78 void accept (tree_walker& tw); 78 void accept (tree_walker& tw);
79 79
80 protected: 80 protected:
81 81
109 109
110 tree_do_until_command (int l = -1, int c = -1) 110 tree_do_until_command (int l = -1, int c = -1)
111 : tree_while_command (l, c) { } 111 : tree_while_command (l, c) { }
112 112
113 tree_do_until_command (tree_expression *e, 113 tree_do_until_command (tree_expression *e,
114 octave_comment_list *lc = 0, 114 octave_comment_list *lc = 0,
115 octave_comment_list *tc = 0, 115 octave_comment_list *tc = 0,
116 int l = -1, int c = -1) 116 int l = -1, int c = -1)
117 : tree_while_command (e, lc, tc, l, c) { } 117 : tree_while_command (e, lc, tc, l, c) { }
118 118
119 tree_do_until_command (tree_expression *e, tree_statement_list *lst, 119 tree_do_until_command (tree_expression *e, tree_statement_list *lst,
120 octave_comment_list *lc = 0, 120 octave_comment_list *lc = 0,
121 octave_comment_list *tc = 0, 121 octave_comment_list *tc = 0,
122 int l = -1, int c = -1) 122 int l = -1, int c = -1)
123 : tree_while_command (e, lst, lc, tc, l, c) { } 123 : tree_while_command (e, lst, lc, tc, l, c) { }
124 124
125 ~tree_do_until_command (void) { } 125 ~tree_do_until_command (void) { }
126 126
127 tree_command *dup (symbol_table::scope_id scope, 127 tree_command *dup (symbol_table::scope_id scope,
128 symbol_table::context_id context) const; 128 symbol_table::context_id context) const;
129 129
130 void accept (tree_walker& tw); 130 void accept (tree_walker& tw);
131 131
132 private: 132 private:
133 133
148 tree_simple_for_command (int l = -1, int c = -1) 148 tree_simple_for_command (int l = -1, int c = -1)
149 : tree_command (l, c), lhs (0), expr (0), list (0), lead_comm (0), 149 : tree_command (l, c), lhs (0), expr (0), list (0), lead_comm (0),
150 trail_comm (0) { } 150 trail_comm (0) { }
151 151
152 tree_simple_for_command (tree_expression *le, tree_expression *re, 152 tree_simple_for_command (tree_expression *le, tree_expression *re,
153 tree_statement_list *lst, 153 tree_statement_list *lst,
154 octave_comment_list *lc = 0, 154 octave_comment_list *lc = 0,
155 octave_comment_list *tc = 0, 155 octave_comment_list *tc = 0,
156 int l = -1, int c = -1) 156 int l = -1, int c = -1)
157 : tree_command (l, c), lhs (le), expr (re), list (lst), 157 : tree_command (l, c), lhs (le), expr (re), list (lst),
158 lead_comm (lc), trail_comm (tc) { } 158 lead_comm (lc), trail_comm (tc) { }
159 159
160 ~tree_simple_for_command (void); 160 ~tree_simple_for_command (void);
161 161
168 octave_comment_list *leading_comment (void) { return lead_comm; } 168 octave_comment_list *leading_comment (void) { return lead_comm; }
169 169
170 octave_comment_list *trailing_comment (void) { return trail_comm; } 170 octave_comment_list *trailing_comment (void) { return trail_comm; }
171 171
172 tree_command *dup (symbol_table::scope_id scope, 172 tree_command *dup (symbol_table::scope_id scope,
173 symbol_table::context_id context) const; 173 symbol_table::context_id context) const;
174 174
175 void accept (tree_walker& tw); 175 void accept (tree_walker& tw);
176 176
177 private: 177 private:
178 178
206 tree_complex_for_command (int l = -1, int c = -1) 206 tree_complex_for_command (int l = -1, int c = -1)
207 : tree_command (l, c), lhs (0), expr (0), list (0), lead_comm (0), 207 : tree_command (l, c), lhs (0), expr (0), list (0), lead_comm (0),
208 trail_comm (0) { } 208 trail_comm (0) { }
209 209
210 tree_complex_for_command (tree_argument_list *le, tree_expression *re, 210 tree_complex_for_command (tree_argument_list *le, tree_expression *re,
211 tree_statement_list *lst, 211 tree_statement_list *lst,
212 octave_comment_list *lc = 0, 212 octave_comment_list *lc = 0,
213 octave_comment_list *tc = 0, 213 octave_comment_list *tc = 0,
214 int l = -1, int c = -1) 214 int l = -1, int c = -1)
215 : tree_command (l, c), lhs (le), expr (re), list (lst), 215 : tree_command (l, c), lhs (le), expr (re), list (lst),
216 lead_comm (lc), trail_comm (tc) { } 216 lead_comm (lc), trail_comm (tc) { }
217 217
218 ~tree_complex_for_command (void); 218 ~tree_complex_for_command (void);
219 219
226 octave_comment_list *leading_comment (void) { return lead_comm; } 226 octave_comment_list *leading_comment (void) { return lead_comm; }
227 227
228 octave_comment_list *trailing_comment (void) { return trail_comm; } 228 octave_comment_list *trailing_comment (void) { return trail_comm; }
229 229
230 tree_command *dup (symbol_table::scope_id scope, 230 tree_command *dup (symbol_table::scope_id scope,
231 symbol_table::context_id context) const; 231 symbol_table::context_id context) const;
232 232
233 void accept (tree_walker& tw); 233 void accept (tree_walker& tw);
234 234
235 private: 235 private:
236 236