#include <cctype>
#include <iostream>
#include <fstream>
#include <typeinfo>
#include "debug.h"
#include "defun.h"
#include "error.h"
#include "gripes.h"
#include "input.h"
#include "ov-fcn-handle.h"
#include "ov-usr-fcn.h"
#include "variables.h"
#include "pt-all.h"
#include "pt-eval.h"
#include "symtab.h"
#include "unwind-prot.h"
Go to the source code of this file.
Functions | |
DEFUN (max_recursion_depth, args, nargout,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {@var{val} =} max_recursion_depth ()\n\ @deftypefnx {Built-in Function} {@var{old_val} =} max_recursion_depth (@var{new_val})\n\ @deftypefnx {Built-in Function} {} max_recursion_depth (@var{new_val}, \"local\")\n\ Query or set the internal limit on the number of times a function may\n\ be called recursively. If the limit is exceeded, an error message is\n\ printed and control returns to the top level.\n\ \n\ When called from inside a function with the \"local\" option, the variable is\n\ changed locally for the function and any subroutines it calls. The original\n\ variable value is restored when exiting the function.\n\ @end deftypefn") | |
DEFUN (silent_functions, args, nargout,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {@var{val} =} silent_functions ()\n\ @deftypefnx {Built-in Function} {@var{old_val} =} silent_functions (@var{new_val})\n\ @deftypefnx {Built-in Function} {} silent_functions (@var{new_val}, \"local\")\n\ Query or set the internal variable that controls whether internal\n\ output from a function is suppressed. If this option is disabled,\n\ Octave will display the results produced by evaluating expressions\n\ within a function body that are not terminated with a semicolon.\n\ \n\ When called from inside a function with the \"local\" option, the variable is\n\ changed locally for the function and any subroutines it calls. The original\n\ variable value is restored when exiting the function.\n\ @end deftypefn") | |
static void | do_global_init (tree_decl_elt &elt) |
static void | do_static_init (tree_decl_elt &elt) |
static bool | quit_loop_now (void) |
Variables | |
tree_evaluator * | current_evaluator = &std_evaluator |
static tree_evaluator | std_evaluator |
int | Vmax_recursion_depth = 256 |
static bool | Vsilent_functions = false |
DEFUN | ( | max_recursion_depth | , | |
args | , | |||
nargout | ||||
) |
Definition at line 1192 of file pt-eval.cc.
References SET_INTERNAL_VARIABLE.
DEFUN | ( | silent_functions | , | |
args | , | |||
nargout | ||||
) |
Definition at line 1220 of file pt-eval.cc.
References SET_INTERNAL_VARIABLE.
static void do_global_init | ( | tree_decl_elt & | elt | ) | [inline, static] |
Definition at line 133 of file pt-eval.cc.
References octave_lvalue::assign(), error_state, tree_decl_elt::expression(), tree_decl_elt::ident(), octave_lvalue::is_undefined(), tree_identifier::mark_global(), octave_value::op_asn_eq, and tree_expression::rvalue1().
Referenced by tree_evaluator::visit_global_command().
static void do_static_init | ( | tree_decl_elt & | elt | ) | [inline, static] |
Definition at line 163 of file pt-eval.cc.
References octave_lvalue::assign(), tree_decl_elt::expression(), tree_decl_elt::ident(), octave_lvalue::is_undefined(), tree_identifier::mark_as_static(), octave_value::op_asn_eq, and tree_expression::rvalue1().
Referenced by tree_evaluator::visit_static_command().
static bool quit_loop_now | ( | void | ) | [inline, static] |
Definition at line 264 of file pt-eval.cc.
References tree_break_command::breaking, tree_continue_command::continuing, error_state, and tree_return_command::returning.
Referenced by tree_evaluator::visit_complex_for_command(), tree_evaluator::visit_do_until_command(), tree_evaluator::visit_simple_for_command(), and tree_evaluator::visit_while_command().
Definition at line 49 of file pt-eval.cc.
Referenced by octave_user_function::do_multi_index_op(), octave_user_script::do_multi_index_op(), get_debug_input(), and main_loop().
tree_evaluator std_evaluator [static] |
Definition at line 47 of file pt-eval.cc.
int Vmax_recursion_depth = 256 |
Definition at line 64 of file pt-eval.cc.
Referenced by octave_user_function::do_multi_index_op(), and octave_user_script::do_multi_index_op().
bool Vsilent_functions = false [static] |
Definition at line 68 of file pt-eval.cc.
Referenced by tree_evaluator::visit_statement().