23 #if defined (HAVE_CONFIG_H) 39 while (
p != lst.
end ())
46 errmsg (
"invalid lvalue in multiple assignment", elt->
line ());
106 while (
p != lst.
end ())
137 errmsg (
"invalid lvalue in for command", cmd.
line ());
153 list->accept (*
this);
165 if (len == 0 || len > 2)
166 errmsg (
"invalid number of output arguments in for command",
184 list->accept (*
this);
231 list->accept (*
this);
240 list->accept (*
this);
248 while (
p != lst.
end ())
265 std::list<tree_argument_list *> lst = expr.
arg_lists ();
267 std::list<tree_argument_list *>::iterator
p = lst.begin ();
269 while (
p != lst.end ())
283 while (
p != lst.
end ())
297 while (
p != lst.
end ())
351 while (
p != lst.
end ())
387 while (
p != lst.
end ())
404 errmsg (
"invalid lvalue in assignment", expr.
line ());
450 list->accept (*
this);
458 while (
p != lst.
end ())
478 list->accept (*
this);
491 errmsg (
"invalid lvalue used for identifier in try-catch command",
501 catch_code->
accept (*
this);
509 if (unwind_protect_code)
510 unwind_protect_code->
accept (*
this);
515 cleanup_code->
accept (*
this);
529 list->accept (*
this);
538 list->accept (*
this);
550 error (
"%s", msg.c_str ());
void visit_continue_command(tree_continue_command &)
virtual int line(void) const
tree_expression * right_hand_side(void)
void visit_while_command(tree_while_command &)
void visit_simple_for_command(tree_simple_for_command &)
OCTAVE_NORETURN void errmsg(const std::string &msg, int line)
tree_statement_list * cleanup(void)
The value of lines which begin with a space character are not saved in the history list A value of all commands are saved on the history list
tree_expression * base(void)
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
void visit_if_command_list(tree_if_command_list &)
void visit_function_def(tree_function_def &)
void visit_identifier(tree_identifier &)
void visit_switch_case_list(tree_switch_case_list &)
void visit_constant(tree_constant &)
virtual void accept(tree_walker &tw)=0
size_t length(void) const
void error(const char *fmt,...)
void visit_statement(tree_statement &)
tree_decl_init_list * initializer_list(void)
tree_statement_list * body(void)
std::list< tree_expression * >::iterator iterator
octave_value function(void)
void visit_do_until_command(tree_do_until_command &)
void accept(tree_walker &tw)
void visit_octave_user_script(octave_user_script &)
void visit_statement_list(tree_statement_list &)
void visit_multi_assignment(tree_multi_assignment &)
void visit_binary_expression(tree_binary_expression &)
void visit_no_op_command(tree_no_op_command &)
tree_statement_list * commands(void)
void accept(tree_walker &tw)
tree_expression * expression(void)
void visit_simple_assignment(tree_simple_assignment &)
void visit_unwind_protect_command(tree_unwind_protect_command &)
virtual bool lvalue_ok(void) const
void visit_return_command(tree_return_command &)
void visit_cell(tree_cell &)
std::list< tree_argument_list * > arg_lists(void)
void visit_anon_fcn_handle(tree_anon_fcn_handle &)
tree_expression * control_expr(void)
tree_expression * control_expr(void)
void accept(tree_walker &tw)
tree_statement_list * cleanup(void)
tree_expression * left_hand_side(void)
void accept(tree_walker &tw)
void visit_octave_user_function(octave_user_function &)
tree_expression * maxproc_expr(void)
void visit_switch_command(tree_switch_command &)
tree_expression * expression(void)
base_list< tree_argument_list * >::iterator iterator
void visit_decl_elt(tree_decl_elt &)
tree_expression * increment(void)
void visit_if_command(tree_if_command &)
tree_command * command(void)
void visit_prefix_expression(tree_prefix_expression &)
void visit_complex_for_command(tree_complex_for_command &)
void visit_postfix_expression(tree_postfix_expression &)
void visit_try_catch_command(tree_try_catch_command &)
void accept(tree_walker &tw)
void visit_switch_case(tree_switch_case &)
tree_expression * switch_value(void)
tree_expression * right_hand_side(void)
void visit_colon_expression(tree_colon_expression &)
bool lvalue_ok(void) const
tree_statement_list * body(void)
tree_statement_list * body(void)
tree_expression * rhs(void)
void visit_matrix(tree_matrix &)
void visit_funcall(tree_funcall &)
void accept(tree_walker &tw)
tree_statement_list * body(void)
tree_expression * left_hand_side(void)
void visit_decl_init_list(tree_decl_init_list &)
void visit_break_command(tree_break_command &)
void visit_return_list(tree_return_list &)
tree_argument_list * left_hand_side(void)
void accept(tree_walker &tw)
tree_expression * lhs(void)
void visit_parameter_list(tree_parameter_list &)
virtual octave_function * function_value(bool silent=false)
tree_expression * operand(void)
void accept(tree_walker &tw)
tree_identifier * ident(void)
void visit_decl_command(tree_decl_command &)
void visit_fcn_handle(tree_fcn_handle &)
tree_expression * condition(void)
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
void visit_if_clause(tree_if_clause &)
void visit_index_expression(tree_index_expression &)
tree_statement_list * body(void)
void visit_argument_list(tree_argument_list &)
tree_switch_case_list * case_list(void)
tree_argument_list * left_hand_side(void)
tree_if_command_list * cmd_list(void)
tree_expression * condition(void)
tree_identifier * identifier(void)
tree_expression * limit(void)
tree_expression * expression(void)