GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
pt-eval.cc File Reference
#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"
Include dependency graph for pt-eval.cc:

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_evaluatorcurrent_evaluator = &std_evaluator
static tree_evaluator std_evaluator
int Vmax_recursion_depth = 256
static bool Vsilent_functions = false

Function Documentation

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.

static void do_global_init ( tree_decl_elt elt)
inlinestatic
static void do_static_init ( tree_decl_elt elt)
inlinestatic
static bool quit_loop_now ( void  )
inlinestatic

Variable Documentation

tree_evaluator* current_evaluator = &std_evaluator
tree_evaluator std_evaluator
static

Definition at line 50 of file pt-eval.cc.

int Vmax_recursion_depth = 256
bool Vsilent_functions = false
static

Definition at line 71 of file pt-eval.cc.

Referenced by tree_evaluator::statement_printing_enabled().