GNU Octave  4.2.1
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
interpreter.cc File Reference
#include <string>
#include <iostream>
#include "cmd-edit.h"
#include "file-ops.h"
#include "file-stat.h"
#include "fpucw-wrappers.h"
#include "lo-blas-proto.h"
#include "lo-error.h"
#include "oct-env.h"
#include "str-vec.h"
#include "signal-wrappers.h"
#include "unistd-wrappers.h"
#include "builtins.h"
#include "defaults.h"
#include "Cell.h"
#include "defun.h"
#include "display.h"
#include "error.h"
#include "file-io.h"
#include "graphics.h"
#include "interpreter.h"
#include "load-path.h"
#include "load-save.h"
#include "octave-link.h"
#include "octave.h"
#include "oct-hist.h"
#include "oct-map.h"
#include "oct-mutex.h"
#include "ops.h"
#include "ovl.h"
#include "ov.h"
#include "ov-classdef.h"
#include "parse.h"
#include "pt-eval.h"
#include "pt-jump.h"
#include "pt-stmt.h"
#include "sighandlers.h"
#include "sysdep.h"
#include "unwind-prot.h"
#include "utils.h"
#include "variables.h"
#include <version.h>
Include dependency graph for interpreter.cc:

Go to the source code of this file.

Functions

OCTAVE_EXPORT octave_value_list F__version_info__ (const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list Fquit (const octave_value_list &args, int) pass that value to the operating system as Octave's exit status.The default value is zero.When exiting
 
static void initialize_error_handlers ()
 
static void initialize_version_info (void)
 
static OCTAVE_NORETURN void lo_error_handler (const char *fmt,...)
 
static OCTAVE_NORETURN void lo_error_with_id_handler (const char *id, const char *fmt,...)
 
static void maximum_braindamage (void)
 
void recover_from_exception (void)
 

Variables

OCTAVE_EXPORT
octave_value_list Octave will
attempt to run the m file 
file {finish.m} if it exists. User commands to save the workspace or clean up temporary files may be placed in that file. Alternatively
 
static std::list< std::stringoctave_atexit_functions
 
void(* octave_exit )(int) = ::exit
 
bool octave_initialized = false
 
bool octave_interpreter_ready = false
 
bool quit_allowed = true
 

Function Documentation

OCTAVE_EXPORT octave_value_list F__version_info__ ( const octave_value_list args,
int   
)
OCTAVE_EXPORT octave_value_list Fquit ( const octave_value_list args,
int   
)
static void initialize_error_handlers ( )
static
static void initialize_version_info ( void  )
static
static OCTAVE_NORETURN void lo_error_handler ( const char *  fmt,
  ... 
)
static

Definition at line 142 of file interpreter.cc.

References octave_throw_execution_exception(), and verror_with_cfn().

Referenced by initialize_error_handlers().

static OCTAVE_NORETURN void lo_error_with_id_handler ( const char *  id,
const char *  fmt,
  ... 
)
static

Definition at line 153 of file interpreter.cc.

References octave_throw_execution_exception(), and verror_with_id_cfn().

Referenced by initialize_error_handlers().

static void maximum_braindamage ( void  )
static
void recover_from_exception ( void  )

Variable Documentation

OCTAVE_EXPORT octave_value_list Octave will attempt to run the m file file {finish.m} if it exists. User commands to save the workspace or clean up temporary files may be placed in that file. Alternatively

Definition at line 231 of file interpreter.cc.

std::list<std::string> octave_atexit_functions
static

Definition at line 213 of file interpreter.cc.

void(* octave_exit)(int) = ::exit

Definition at line 72 of file interpreter.cc.

bool octave_initialized = false

Definition at line 82 of file interpreter.cc.

Referenced by octave::user_abort().

bool octave_interpreter_ready = false

Definition at line 79 of file interpreter.cc.

Referenced by execute_pkg_add_or_del().

bool quit_allowed = true

Definition at line 75 of file interpreter.cc.

Referenced by octave_oncleanup::~octave_oncleanup().