GNU Octave  4.0.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
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 "symtab.h"
#include "unwind-prot.h"
#include "utils.h"
Include dependency graph for symtab.cc:

Go to the source code of this file.

Functions

static builtin_type_t(* build_sup_table (void))[btyp_num_types]
 
OCTAVE_EXPORT octave_value_list F__current_scope__ (const octave_value_list &, int)
 
OCTAVE_EXPORT octave_value_list F__dump_symtab_info__ (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)
 
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)
 
static bool load_out_of_date_fcn (const std::string &ff, const std::string &dir_name, octave_value &function, const std::string &dispatch_type=std::string(), const std::string &package_name=std::string())
 
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

static int Vignore_function_time_stamp = 1
 

Function Documentation

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 1733 of file symtab.cc.

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

OCTAVE_EXPORT octave_value_list F__dump_symtab_info__ ( 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 
)
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 669 of file symtab.cc.

References get_dispatch_type().

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

Definition at line 185 of file symtab.cc.

References load_fcn_from_file(), and octave_value().

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 154 of file symtab.cc.

Referenced by out_of_date_check().

Variable Documentation

int Vignore_function_time_stamp = 1
static

Definition at line 75 of file symtab.cc.