#include <cstdio>
#include <clocale>
#include <iostream>
#include <set>
#include <string>
#include <thread>
#include "cmd-edit.h"
#include "cmd-hist.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 "quit.h"
#include "str-vec.h"
#include "signal-wrappers.h"
#include "unistd-wrappers.h"
#include "builtin-defun-decls.h"
#include "defaults.h"
#include "Cell.h"
#include "defun.h"
#include "display.h"
#include "error.h"
#include "event-manager.h"
#include "graphics.h"
#include "help.h"
#include "input.h"
#include "interpreter-private.h"
#include "interpreter.h"
#include "load-path.h"
#include "load-save.h"
#include "octave.h"
#include "oct-hist.h"
#include "oct-map.h"
#include "oct-mutex.h"
#include "ovl.h"
#include "ov.h"
#include "ov-classdef.h"
#include "parse.h"
#include "pt-classdef.h"
#include "pt-eval.h"
#include "pt-jump.h"
#include "pt-stmt.h"
#include "settings.h"
#include "sighandlers.h"
#include "sysdep.h"
#include "unwind-prot.h"
#include "utils.h"
#include "variables.h"
#include "version.h"
Go to the source code of this file.
Classes | |
class | cli_input_reader |
Macros | |
#define | OCTAVE_IGNORE_EXCEPTION(E) |
#define | OCTAVE_SAFE_CALL(F, ARGS) |
Functions | |
OCTAVE_EXPORT octave_value_list | F__traditional__ (octave::interpreter &interp, const octave_value_list &, int) |
OCTAVE_EXPORT octave_value_list | F__version_info__ (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Fatexit (octave::interpreter &interp, const octave_value_list &args, int nargout) |
OCTAVE_EXPORT octave_value_list | Fquit (octave::interpreter &interp, const octave_value_list &args, int) |
static void | initialize_error_handlers (void) |
static void | initialize_version_info (void) |
static void | initialize_xerbla_error_handler (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 int | safe_source_file (const std::string &file_name, const std::string &context="", bool verbose=false, bool require_file=true) |
static void | xerbla_abort (void) |
Variables | |
bool | octave_initialized = false |
bool | octave_interpreter_ready = false |
bool | quit_allowed = true |
sys::time | Vlast_chdir_time = 0.0 |
#define OCTAVE_IGNORE_EXCEPTION | ( | E | ) |
Definition at line 934 of file interpreter.cc.
#define OCTAVE_SAFE_CALL | ( | F, | |
ARGS | |||
) |
Definition at line 943 of file interpreter.cc.
OCTAVE_EXPORT octave_value_list F__traditional__ | ( | octave::interpreter & | interp, |
const octave_value_list & | , | ||
int | |||
) |
Definition at line 312 of file interpreter.cc.
References ovl().
OCTAVE_EXPORT octave_value_list F__version_info__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 102 of file interpreter.cc.
References octave_map::assign(), octave_map::length(), n, octave_map::nfields(), octave_map::numel(), print_usage(), and octave_map::resize().
Referenced by initialize_version_info().
OCTAVE_EXPORT octave_value_list Fatexit | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | nargout | ||
) |
Definition at line 280 of file interpreter.cc.
References ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list Fquit | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 176 of file interpreter.cc.
References error(), numel(), ovl(), and print_usage().
|
static |
Definition at line 442 of file interpreter.cc.
References lo_error_handler(), lo_error_with_id_handler(), set_liboctave_error_handler(), set_liboctave_error_with_id_handler(), set_liboctave_warning_handler(), set_liboctave_warning_with_id_handler(), warning(), and warning_with_id().
Referenced by interpreter::interpreter().
|
static |
Definition at line 374 of file interpreter.cc.
References F__version_info__(), OCTAVE_VERSION, and release().
Referenced by interpreter::interpreter().
|
static |
Definition at line 391 of file interpreter.cc.
References F77_FUNC(), NaN, octave_set_xerbla_handler(), and xerbla_abort().
Referenced by interpreter::interpreter().
|
static |
Definition at line 421 of file interpreter.cc.
References verror_with_cfn().
Referenced by initialize_error_handlers().
|
static |
Definition at line 432 of file interpreter.cc.
References verror_with_id_cfn().
Referenced by initialize_error_handlers().
|
static |
Definition at line 347 of file interpreter.cc.
References __get_interpreter__(), interpreter::handle_exception(), interpreter::recover_from_exception(), and source_file().
Referenced by interpreter::execute_command_line_file(), and interpreter::execute_startup_files().
|
static |
Definition at line 386 of file interpreter.cc.
References error().
Referenced by initialize_xerbla_error_handler().
bool octave_initialized = false |
Definition at line 94 of file interpreter.cc.
Referenced by generic_sig_handler(), and interpreter::initialize().
bool octave_interpreter_ready = false |
Definition at line 91 of file interpreter.cc.
Referenced by interpreter::interpreter(), and load_path::execute_pkg_add_or_del().
bool quit_allowed = true |
Definition at line 87 of file interpreter.cc.
Referenced by interpreter::interpreter(), octave_oncleanup::call_object_destructor(), and cdef_object_rep::release().
sys::time Vlast_chdir_time = 0.0 |
Definition at line 340 of file interpreter.cc.
Referenced by interpreter::chdir(), and out_of_date_check().