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 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 \"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_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 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]
static void do_static_init ( tree_decl_elt elt  )  [inline, static]
static bool quit_loop_now ( void   )  [inline, static]

Variable Documentation

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

bool Vsilent_functions = false [static]

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

Referenced by tree_evaluator::visit_statement().

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines