GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#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"
#include "pt-jit.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 @qcode{\"local\"} option, the\n\ variable is changed locally for the function and any subroutines it calls.\n\ The original 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 @qcode{\"local\"} option, the\n\ variable is changed locally for the function and any subroutines it calls.\n\ The original 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 1253 of file pt-eval.cc.
References SET_INTERNAL_VARIABLE.
DEFUN | ( | silent_functions | , |
args | , | ||
nargout | |||
) |
Definition at line 1282 of file pt-eval.cc.
References SET_INTERNAL_VARIABLE.
|
inlinestatic |
Definition at line 143 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().
|
inlinestatic |
Definition at line 173 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_persistent_command().
Definition at line 274 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().
tree_evaluator* current_evaluator = &std_evaluator |
Definition at line 52 of file pt-eval.cc.
Referenced by octave_user_script::do_multi_index_op(), octave_user_function::do_multi_index_op(), get_debug_input(), and main_loop().
|
static |
Definition at line 50 of file pt-eval.cc.
int Vmax_recursion_depth = 256 |
Definition at line 67 of file pt-eval.cc.
Referenced by octave_user_script::do_multi_index_op(), and octave_user_function::do_multi_index_op().
|
static |
Definition at line 71 of file pt-eval.cc.
Referenced by tree_evaluator::statement_printing_enabled().