37 while (p != lst.
end ())
44 gripe (
"invalid lvalue in multiple assignment", elt->
line ());
132 while (p != lst.
end ())
149 gripe (
"invalid lvalue in for command", cmd.
line ());
177 if (len == 0 || len > 2)
178 gripe (
"invalid number of output arguments in for command",
185 do_lvalue_check =
false;
261 while (p != lst.
end ())
278 std::list<tree_argument_list *> lst = expr.
arg_lists ();
280 std::list<tree_argument_list *>::iterator p = lst.begin ();
282 while (p != lst.end ())
296 while (p != lst.
end ())
310 while (p != lst.
end ())
369 while (p != lst.
end ())
406 while (p != lst.
end ())
423 gripe (
"invalid lvalue in assignment", expr.
line ());
479 while (p != lst.
end ())
512 gripe (
"invalid lvalue used for identifier in try-catch command",
522 catch_code->
accept (*
this);
530 if (unwind_protect_code)
531 unwind_protect_code->
accept (*
this);
536 cleanup_code->
accept (*
this);
571 error (
"%s", msg.c_str ());
tree_expression * operand(void)
void visit_if_command(tree_if_command &)
tree_identifier * identifier(void)
void visit_cell(tree_cell &)
virtual bool lvalue_ok(void) const
size_t length(void) const
void accept(tree_walker &tw)
tree_statement_list * cleanup(void)
tree_expression * left_hand_side(void)
tree_expression * switch_value(void)
void visit_identifier(tree_identifier &)
tree_expression * control_expr(void)
void visit_try_catch_command(tree_try_catch_command &)
void visit_decl_init_list(tree_decl_init_list &)
tree_argument_list * left_hand_side(void)
void accept(tree_walker &tw)
tree_command * command(void)
void visit_continue_command(tree_continue_command &)
void error(const char *fmt,...)
tree_switch_case_list * case_list(void)
tree_statement_list * commands(void)
void visit_postfix_expression(tree_postfix_expression &)
tree_expression * expression(void)
tree_expression * case_label(void)
void visit_if_clause(tree_if_clause &)
void visit_statement_list(tree_statement_list &)
void do_decl_command(tree_decl_command &)
void visit_prefix_expression(tree_prefix_expression &)
bool lvalue_ok(void) const
tree_argument_list * left_hand_side(void)
tree_identifier * ident(void)
tree_decl_init_list * initializer_list(void)
void visit_simple_for_command(tree_simple_for_command &)
void visit_unwind_protect_command(tree_unwind_protect_command &)
tree_statement_list * body(void)
tree_expression * increment(void)
tree_if_command_list * cmd_list(void)
void visit_binary_expression(tree_binary_expression &)
tree_statement_list * body(void)
void visit_if_command_list(tree_if_command_list &)
std::list< tree_expression * >::iterator iterator
tree_expression * maxproc_expr(void)
void accept(tree_walker &tw)
tree_expression * right_hand_side(void)
std::list< tree_argument_list * > arg_lists(void)
tree_expression * condition(void)
F77_RET_T const double const double * f
tree_expression * control_expr(void)
void visit_function_def(tree_function_def &)
void accept(tree_walker &tw)
void visit_anon_fcn_handle(tree_anon_fcn_handle &)
void visit_argument_list(tree_argument_list &)
void visit_return_list(tree_return_list &)
tree_expression * limit(void)
octave_value function(void)
tree_statement_list * body(void)
tree_expression * lhs(void)
tree_expression * left_hand_side(void)
tree_statement_list * body(void)
void accept(tree_walker &tw)
void accept(tree_walker &tw)
void visit_parameter_list(tree_parameter_list &)
tree_statement_list * commands(void)
void visit_index_expression(tree_index_expression &)
tree_statement_list * cleanup(void)
void visit_colon_expression(tree_colon_expression &)
virtual int line(void) const
void visit_persistent_command(tree_persistent_command &)
octave_function * function_value(bool silent=false) const
void visit_simple_assignment(tree_simple_assignment &)
void accept(tree_walker &tw)
void visit_octave_user_function(octave_user_function &)
tree_statement_list * body(void)
void visit_switch_case(tree_switch_case &)
void visit_funcall(tree_funcall &)
tree_expression * rhs(void)
void visit_constant(tree_constant &)
void visit_fcn_handle(tree_fcn_handle &)
void visit_decl_elt(tree_decl_elt &)
void visit_break_command(tree_break_command &)
tree_expression * expression(void)
void accept(tree_walker &tw)
void accept(tree_walker &tw)
tree_expression * expression(void)
void accept(tree_walker &tw)
void visit_complex_for_command(tree_complex_for_command &)
void gripe(const std::string &msg, int line)
void accept(tree_walker &tw)
virtual void accept(tree_walker &)
void visit_matrix(tree_matrix &)
tree_expression * base(void)
tree_statement_list * body(void)
void visit_statement(tree_statement &)
void visit_switch_case_list(tree_switch_case_list &)
void visit_global_command(tree_global_command &)
tree_statement_list * body(void)
void visit_while_command(tree_while_command &)
tree_expression * right_hand_side(void)
octave_base_list< tree_argument_list * >::iterator iterator
void visit_multi_assignment(tree_multi_assignment &)
virtual void accept(tree_walker &tw)=0
void visit_do_until_command(tree_do_until_command &)
void visit_octave_user_script(octave_user_script &)
void visit_switch_command(tree_switch_command &)
void visit_return_command(tree_return_command &)
void visit_no_op_command(tree_no_op_command &)
tree_expression * condition(void)