#include <cstdio>
#include <string>
#include <stack>
#include "oct-obj.h"
Go to the source code of this file.
Functions | |
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 hargout) |
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 (const octave_value_list &args, 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 std::string | get_help_from_file (const std::string &nm, bool &symbol_found) |
OCTINTERP_API std::string | get_help_from_file (const std::string &nm, bool &symbol_found, std::string &file) |
OCTINTERP_API octave_function * | load_fcn_from_file (const std::string &file_name, const std::string &dir_name=std::string(), const std::string &dispatch_type=std::string(), const std::string &fcn_name=std::string(), bool autoload=false) |
OCTINTERP_API std::string | lookup_autoload (const std::string &nm) |
int | octave_lex (void) |
int | octave_parse (void) |
void | reset_parser (void) |
OCTINTERP_API string_vector | reverse_lookup_autoload (const std::string &nm) |
OCTINTERP_API void | source_file (const std::string &file_name, const std::string &context=std::string(), bool verbose=false, bool require_file=true, const std::string &warn_for=std::string()) |
Variables | |
std::string | current_class_name |
int | current_input_column |
std::stack< std::string > | help_buf |
bool | input_from_startup_file |
int | input_line_number |
bool | line_editing |
int | octave_debug |
bool | reading_startup_message_printed |
std::stack < symbol_table::scope_id > | symtab_context |
OCTINTERP_API string_vector autoloaded_functions | ( | void | ) |
Referenced by DEFUN(), and make_name_list().
OCTINTERP_API void cleanup_statement_list | ( | tree_statement_list ** | lst | ) |
Referenced by get_debug_input(), and main_loop().
OCTINTERP_API octave_value_list eval_string | ( | const std::string & | , | |
bool | silent, | |||
int & | parse_status, | |||
int | hargout | |||
) |
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 | |||
) |
Referenced by octave_class::all_strings(), bind_internal_variable(), compare_property_values(), DEFCONSTFUN(), DEFUN(), DEFUN_DLD(), do_octave_atexit(), do_who(), octave_class::index_vector(), input_event_hook(), interactive_input(), octave_class::load_ascii(), octave_class::load_binary(), maybe_missing_function_hook(), mexCallMATLAB(), octave_class::numel(), gnuplot_graphics_toolkit::print_figure(), print_usage(), octave_class::print_with_name(), read_mat5_binary_element(), gnuplot_graphics_toolkit::redraw_figure(), octave_class::save_ascii(), octave_class::save_binary(), save_mat5_binary_element(), gnuplot_graphics_toolkit::send_quit(), octave_class::size(), octave_class::subsasgn_common(), and octave_class::subsref().
OCTINTERP_API octave_value_list feval | ( | const octave_value_list & | args, | |
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 std::string get_help_from_file | ( | const std::string & | nm, | |
bool & | symbol_found | |||
) |
OCTINTERP_API std::string get_help_from_file | ( | const std::string & | nm, | |
bool & | symbol_found, | |||
std::string & | file | |||
) |
Referenced by raw_help_from_file().
OCTINTERP_API octave_function* load_fcn_from_file | ( | const std::string & | file_name, | |
const std::string & | dir_name = std::string() , |
|||
const std::string & | dispatch_type = std::string() , |
|||
const std::string & | fcn_name = std::string() , |
|||
bool | autoload = false | |||
) |
Referenced by 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 | ) |
Referenced by symbol_table::fcn_info::fcn_info_rep::find_autoload(), out_of_date_check(), and symbol_exist().
int octave_lex | ( | void | ) |
int octave_parse | ( | void | ) |
Referenced by get_debug_input(), and main_loop().
void reset_parser | ( | void | ) |
Referenced by get_debug_input(), and main_loop().
OCTINTERP_API string_vector reverse_lookup_autoload | ( | const std::string & | nm | ) |
OCTINTERP_API void source_file | ( | const std::string & | file_name, | |
const std::string & | context = std::string() , |
|||
bool | verbose = false , |
|||
bool | require_file = true , |
|||
const std::string & | warn_for = std::string() | |||
) |
Referenced by do_edit_history(), do_run_history(), execute_pkg_add_or_del(), and safe_source_file().
std::string current_class_name |
std::stack<std::string> help_buf |
Referenced by execute_pkg_add_or_del(), execute_startup_files(), get_debug_input(), get_user_input(), and octave_gets().
Referenced by gnu_readline(), and octave_main().
Referenced by octave_main().
Referenced by octave_main().
std::stack<symbol_table::scope_id> symtab_context |