GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "octave-config.h"
#include <cstdio>
#include <string>
#include <stack>
#include <vector>
#include <map>
#include "lex.h"
#include "symtab.h"
#include "token.h"
#include "ovl.h"
Go to the source code of this file.
Classes | |
class | octave::base_parser |
class | octave::parser |
class | octave::push_parser |
Namespaces | |
octave | |
Octave interface to the compression and uncompression libraries. | |
Variables | |
base_lexer * | octave::LEXER |
int | octave_debug |
bool | reading_startup_message_printed |
OCTINTERP_API string_vector autoloaded_functions | ( | void | ) |
OCTINTERP_API void cleanup_statement_list | ( | tree_statement_list ** | lst | ) |
OCTINTERP_API octave_value_list eval_string | ( | const std::string & | , |
bool | silent, | ||
int & | parse_status, | ||
int | nargout | ||
) |
Referenced by gh_manager::do_execute_callback(), do_who(), extract_function(), generate_struct_completions(), get_user_input(), Java_org_octave_Octave_doEvalString(), octave_fcn_handle::load_ascii(), octave_fcn_handle::load_binary(), octave_fcn_handle::load_hdf5(), looks_like_struct(), mexEvalString(), mexEvalStringWithTrap(), octave_fcn_inline::octave_fcn_inline(), and read_mat5_binary_element().
OCTINTERP_API octave_value eval_string | ( | const std::string & | , |
bool | silent, | ||
int & | parse_status | ||
) |
OCTINTERP_API octave_value_list feval | ( | const std::string & | name, |
const octave_value_list & | args = octave_value_list() , |
||
int | nargout = 0 |
||
) |
OCTINTERP_API octave_value_list feval | ( | octave_function * | fcn, |
const octave_value_list & | args = octave_value_list() , |
||
int | nargout = 0 |
||
) |
OCTINTERP_API octave_value_list feval | ( | const octave_value_list & | args, |
int | nargout = 0 |
||
) |
OCTINTERP_API std::string get_help_from_file | ( | const std::string & | nm, |
bool & | symbol_found, | ||
std::string & | file | ||
) |
Definition at line 8169 of file oct-parse.cc.
References octave::sys::env::base_pathname(), octave::sys::file_ops::dir_sep_str(), octave_function::doc_string(), fcn, fcn_file_in_path(), file, parse_fcn_file(), retval, and string.
Referenced by get_help_from_file(), and raw_help_from_file().
OCTINTERP_API std::string get_help_from_file | ( | const std::string & | nm, |
bool & | symbol_found | ||
) |
Definition at line 8212 of file oct-parse.cc.
References file, get_help_from_file(), and string.
OCTINTERP_API octave_function* load_fcn_from_file | ( | const std::string & | file_name, |
const std::string & | dir_name = "" , |
||
const std::string & | dispatch_type = "" , |
||
const std::string & | package_name = "" , |
||
const std::string & | fcn_name = "" , |
||
bool | autoload = false |
||
) |
Definition at line 8260 of file oct-parse.cc.
References octave::sys::env::absolute_pathname(), autoload(), octave::sys::env::base_pathname(), octave::sys::file_ops::dir_sep_str(), octave_function::doc_string(), file, frame, octave_base_value::is_user_function(), octave_value_list::length(), octave_dynamic_loader::load_mex(), octave_dynamic_loader::load_oct(), octave::sys::env::make_absolute(), nm, parse_fcn_file(), retval, octave_function::scope(), octave_function::stash_dir_name(), symbol_table::stash_dir_name_for_subfunctions(), octave_function::stash_package_name(), and string.
Referenced by cdef_method::cdef_method_rep::check_method(), symbol_table::fcn_info::fcn_info_rep::find_autoload(), symbol_table::fcn_info::fcn_info_rep::find_user_function(), symbol_table::fcn_info::fcn_info_rep::load_class_constructor(), symbol_table::fcn_info::fcn_info_rep::load_class_method(), load_out_of_date_fcn(), symbol_table::fcn_info::fcn_info_rep::load_private_function(), read_mat5_binary_element(), and octave_fcn_handle::set_fcn().
OCTINTERP_API std::string lookup_autoload | ( | const std::string & | nm | ) |
Definition at line 8219 of file oct-parse.cc.
References load_path::find_file(), p, retval, and string.
Referenced by symbol_table::fcn_info::fcn_info_rep::find_autoload(), out_of_date_check(), and symbol_exist().
OCTINTERP_API string_vector reverse_lookup_autoload | ( | const std::string & | nm | ) |
Definition at line 8247 of file oct-parse.cc.
References string_vector::append(), and p.
OCTINTERP_API void source_file | ( | const std::string & | file_name, |
const std::string & | context = "" , |
||
bool | verbose = false , |
||
bool | require_file = true , |
||
const std::string & | warn_for = "" |
||
) |
Referenced by do_edit_history(), do_run_history(), and execute_pkg_add_or_del().
int octave_debug |
bool reading_startup_message_printed |
Definition at line 142 of file oct-parse.cc.