comparison src/pt-stmt.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
92 void set_command (tree_command *c) { cmd = c; } 92 void set_command (tree_command *c) { cmd = c; }
93 93
94 void set_expression (tree_expression *e) { expr = e; } 94 void set_expression (tree_expression *e) { expr = e; }
95 95
96 tree_statement *dup (symbol_table::scope_id scope, 96 tree_statement *dup (symbol_table::scope_id scope,
97 symbol_table::context_id context) const; 97 symbol_table::context_id context) const;
98 98
99 void accept (tree_walker& tw); 99 void accept (tree_walker& tw);
100 100
101 private: 101 private:
102 102
133 script_body (false) { append (s); } 133 script_body (false) { append (s); }
134 134
135 ~tree_statement_list (void) 135 ~tree_statement_list (void)
136 { 136 {
137 while (! empty ()) 137 while (! empty ())
138 { 138 {
139 iterator p = begin (); 139 iterator p = begin ();
140 delete *p; 140 delete *p;
141 erase (p); 141 erase (p);
142 } 142 }
143 } 143 }
144 144
145 void mark_as_function_body (void) { function_body = true; } 145 void mark_as_function_body (void) { function_body = true; }
146 146
147 void mark_as_anon_function_body (void) { anon_function_body = true; } 147 void mark_as_anon_function_body (void) { anon_function_body = true; }
159 void delete_breakpoint (int line); 159 void delete_breakpoint (int line);
160 160
161 octave_value_list list_breakpoints (void); 161 octave_value_list list_breakpoints (void);
162 162
163 tree_statement_list *dup (symbol_table::scope_id scope, 163 tree_statement_list *dup (symbol_table::scope_id scope,
164 symbol_table::context_id context) const; 164 symbol_table::context_id context) const;
165 165
166 void accept (tree_walker& tw); 166 void accept (tree_walker& tw);
167 167
168 private: 168 private:
169 169