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
symtab.cc File Reference
#include <sstream>
#include "file-ops.h"
#include "file-stat.h"
#include "oct-env.h"
#include "oct-time.h"
#include "singleton-cleanup.h"
#include "debug.h"
#include "defun.h"
#include "dirfns.h"
#include "input.h"
#include "load-path.h"
#include "ov-classdef.h"
#include "ov-fcn.h"
#include "ov-usr-fcn.h"
#include "pager.h"
#include "parse.h"
#include "pt-arg-list.h"
#include "pt-pr-code.h"
#include "symtab.h"
#include "unwind-prot.h"
#include "utils.h"
Include dependency graph for symtab.cc:

Go to the source code of this file.

Functions

 __current_scope__ () Return the current scope and context as integers.eealso
 
static builtin_type_t(* build_sup_table (void))[btyp_num_types]
 
OCTAVE_EXPORT octave_value_list F__current_scope__ (const octave_value_list &, int) ar
 
nd deftypefn *OCTAVE_EXPORT
octave_value_list 
F__dump_symtab_info__ (const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list F__get_cmdline_fcn_txt__ (const octave_value_list &args, int)
 
static std::string fcn_file_name (const octave_value &fcn)
 
OCTAVE_EXPORT octave_value_list Fignore_function_time_stamp (const octave_value_list &args, int nargout) Octave will not automatically recompile function files in subdirectories of ile
 
std::string get_dispatch_type (const octave_value_list &args, builtin_type_t &builtin_type)
 
std::string get_dispatch_type (const octave_value_list &args)
 
if they have changed since
they were last but will
recompile other function files
in the search path if they
change If set to Octave will
not recompile any function
files unless their definitions
are removed with Octave will
always check time stamps on
files to determine whether
functions defined function
files need to recompiled nd
deftypefn * 
if (nargin > 1) print_usage()
 
 if (nargout > 0||nargin==0)
 
 if (nargin==1)
 
static bool load_out_of_date_fcn (const std::string &ff, const std::string &dir_name, octave_value &function, const std::string &dispatch_type="", const std::string &package_name="")
 
bool out_of_date_check (octave_value &function, const std::string &dispatch_type, bool check_relative)
 
static void split_name_with_package (const std::string &name, std::string &fname, std::string &pname)
 

Variables

if they have changed since
they were last but will
recompile other function files
in the search path if they
change If set to 
code {"all"}
 
if they have changed since
they were last 
compiled
 
if they have changed since
they were last but will
recompile other function files
in the search path if they
change If set to Octave will
not recompile any function
files unless their definitions
are removed with 
ode {clear}. If set to code{"none"}
 
octave_value retval
 
static int Vignore_function_time_stamp = 1
 

Function Documentation

__current_scope__ ( )

Definition at line 1774 of file symtab.cc.

static builtin_type_t(* build_sup_table ( void  ) )[btyp_num_types]
static
OCTAVE_EXPORT octave_value_list F__current_scope__ ( const octave_value_list ,
int   
)

Definition at line 1774 of file symtab.cc.

References symbol_table::current_context(), symbol_table::current_scope(), and ovl().

Referenced by install_symtab_fcns().

nd deftypefn* OCTAVE_EXPORT octave_value_list F__dump_symtab_info__ ( const octave_value_list args,
int   
)
OCTAVE_EXPORT octave_value_list F__get_cmdline_fcn_txt__ ( const octave_value_list args,
int   
)
static std::string fcn_file_name ( const octave_value fcn)
static
OCTAVE_EXPORT octave_value_list Fignore_function_time_stamp ( const octave_value_list args,
int  nargout 
)

Definition at line 1707 of file symtab.cc.

Referenced by install_symtab_fcns().

std::string get_dispatch_type ( const octave_value_list args,
builtin_type_t builtin_type 
)
std::string get_dispatch_type ( const octave_value_list args)

Definition at line 676 of file symtab.cc.

References octave_value::builtin_type(), and get_dispatch_type().

if they have changed since they were last but will recompile other function files in the search path if they change If set to Octave will not recompile any function files unless their definitions are removed with Octave will always check time stamps on files to determine whether functions defined function files need to recompiled nd deftypefn* if ( nargin  ,
 
)
if ( nargout  ,
0||  nargin = = 0 
)

Definition at line 1716 of file symtab.cc.

if ( nargin  = = 1)

Definition at line 1734 of file symtab.cc.

static bool load_out_of_date_fcn ( const std::string ff,
const std::string dir_name,
octave_value function,
const std::string dispatch_type = "",
const std::string package_name = "" 
)
inlinestatic

Definition at line 190 of file symtab.cc.

References fcn, load_fcn_from_file(), octave_value(), and retval.

Referenced by out_of_date_check().

bool out_of_date_check ( octave_value function,
const std::string dispatch_type,
bool  check_relative 
)
static void split_name_with_package ( const std::string name,
std::string fname,
std::string pname 
)
static

Definition at line 159 of file symtab.cc.

References name.

Referenced by out_of_date_check().

Variable Documentation

if they have changed since they were last but will recompile other function files in the search path if they change If set to code {"all"}

Definition at line 1707 of file symtab.cc.

if they have changed since they were last compiled
if they have changed since they were last but will recompile other function files in the search path if they change If set to Octave will not recompile any function files unless their definitions are removed with ode {clear}. If set to code{"none"}

Definition at line 1707 of file symtab.cc.

return retval
int Vignore_function_time_stamp = 1
static

Definition at line 78 of file symtab.cc.