Mercurial > octave-nkf
comparison src/pt-cmd.h @ 2086:bfb775fb6fe8
[project @ 1996-04-25 05:55:19 by jwe]
author | jwe |
---|---|
date | Thu, 25 Apr 1996 05:55:19 +0000 |
parents | 003570e69c7b |
children | 97a566037a75 |
comparison
equal
deleted
inserted
replaced
2085:7603b37325db | 2086:bfb775fb6fe8 |
---|---|
27 #pragma interface | 27 #pragma interface |
28 #endif | 28 #endif |
29 | 29 |
30 class ostream; | 30 class ostream; |
31 | 31 |
32 class Octave_object; | 32 class octave_value_list; |
33 | 33 |
34 class tree_statement_list; | 34 class tree_statement_list; |
35 class tree_global_init_list; | 35 class tree_global_init_list; |
36 class tree_if_command_list; | 36 class tree_if_command_list; |
37 class tree_expression; | 37 class tree_expression; |
38 class tree_index_expression; | 38 class tree_index_expression; |
39 class tree_identifier; | 39 class tree_identifier; |
40 class tree_return_list; | 40 class tree_return_list; |
41 class tree_constant; | 41 class octave_value; |
42 class symbol_record; | 42 class symbol_record; |
43 | 43 |
44 class tree_command; | 44 class tree_command; |
45 class tree_global_command; | 45 class tree_global_command; |
46 class tree_while_command; | 46 class tree_while_command; |
143 | 143 |
144 void print_code (ostream& os); | 144 void print_code (ostream& os); |
145 | 145 |
146 private: | 146 private: |
147 void do_for_loop_once (tree_return_list *lst, | 147 void do_for_loop_once (tree_return_list *lst, |
148 const Octave_object& rhs, bool& quit); | 148 const octave_value_list& rhs, bool& quit); |
149 | 149 |
150 void do_for_loop_once (tree_index_expression *idx_expr, | 150 void do_for_loop_once (tree_index_expression *idx_expr, |
151 const tree_constant& rhs, bool& quit); | 151 const octave_value& rhs, bool& quit); |
152 | 152 |
153 void do_for_loop_once (tree_identifier *ident, | 153 void do_for_loop_once (tree_identifier *ident, |
154 tree_constant& rhs, bool& quit); | 154 octave_value& rhs, bool& quit); |
155 | 155 |
156 tree_index_expression *id; // Identifier to modify. | 156 tree_index_expression *id; // Identifier to modify. |
157 tree_return_list *id_list; // List of identifiers to modify. | 157 tree_return_list *id_list; // List of identifiers to modify. |
158 tree_expression *expr; // Expression to evaluate. | 158 tree_expression *expr; // Expression to evaluate. |
159 tree_statement_list *list; // List of commands to execute. | 159 tree_statement_list *list; // List of commands to execute. |