Mercurial > octave-libgccjit
comparison src/pt-assign.h @ 8913:35cd375d4bb3
make tree::dup functions const
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 05 Mar 2009 13:50:25 -0500 |
parents | 73c4516fae10 |
children | eb63fbe60fab |
comparison
equal
deleted
inserted
replaced
8912:57c3155754d6 | 8913:35cd375d4bb3 |
---|---|
71 tree_expression *left_hand_side (void) { return lhs; } | 71 tree_expression *left_hand_side (void) { return lhs; } |
72 | 72 |
73 tree_expression *right_hand_side (void) { return rhs; } | 73 tree_expression *right_hand_side (void) { return rhs; } |
74 | 74 |
75 tree_expression *dup (symbol_table::scope_id scope, | 75 tree_expression *dup (symbol_table::scope_id scope, |
76 symbol_table::context_id context); | 76 symbol_table::context_id context) const; |
77 | 77 |
78 void accept (tree_walker& tw); | 78 void accept (tree_walker& tw); |
79 | 79 |
80 octave_value::assign_op op_type (void) const { return etype; } | 80 octave_value::assign_op op_type (void) const { return etype; } |
81 | 81 |
144 tree_argument_list *left_hand_side (void) { return lhs; } | 144 tree_argument_list *left_hand_side (void) { return lhs; } |
145 | 145 |
146 tree_expression *right_hand_side (void) { return rhs; } | 146 tree_expression *right_hand_side (void) { return rhs; } |
147 | 147 |
148 tree_expression *dup (symbol_table::scope_id scope, | 148 tree_expression *dup (symbol_table::scope_id scope, |
149 symbol_table::context_id context); | 149 symbol_table::context_id context) const; |
150 | 150 |
151 void accept (tree_walker& tw); | 151 void accept (tree_walker& tw); |
152 | 152 |
153 octave_value::assign_op op_type (void) const { return etype; } | 153 octave_value::assign_op op_type (void) const { return etype; } |
154 | 154 |