23 #if ! defined (octave_parse_h)
24 #define octave_parse_h 1
26 #include "octave-config.h"
79 class tree_statement_listtree_statement;
117 bool verbose =
false,
bool require_file =
true,
145 extern base_lexer *
LEXER;
295 recover_from_parsing_function (
void);
302 make_meta_class_query (
const std::string& class_nm);
311 make_classdef_properties_block (
token *tok_val,
317 make_classdef_methods_block (
token *tok_val,
323 make_classdef_events_block (
token *tok_val,
329 make_classdef_enum_block (
token *tok_val,
384 template <
typename T>
396 void bison_error (
const std::string&
s,
int l = -1,
int c = -1);
For example cd octave end example noindent changes the current working directory to an error message is printed and the working directory is not changed sc
Octave interface to the compression and uncompression libraries.
For example cd octave end example noindent changes the current working directory to file
bool reading_startup_message_printed
The value of lines which begin with a space character are not saved in the history list A value of all commands are saved on the history list
std::string curr_package_name
OCTINTERP_API octave_value_list feval(const std::string &name, const octave_value_list &args=octave_value_list(), int nargout=0)
parser(octave::lexer &lxr)
OCTINTERP_API std::string get_help_from_file(const std::string &nm, bool &symbol_found, std::string &file)
OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup calculate Y_a and Y _d item Given calculate Y nd enumerate In either initial values for the given components are input
bool fcn_file_from_relative_lookup
OCTINTERP_API string_vector reverse_lookup_autoload(const std::string &nm)
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
OCTAVE_EXPORT octave_value_list isdir nd deftypefn *std::string nm
OCTAVE_EXPORT octave_value_list return the number of command line arguments passed to Octave If called with the optional argument the function xample nargout(@histc)
std::list< std::string > subfunction_names
static llvm::LLVMContext & context
nd deftypefn *octave_map m
OCTINTERP_API std::string lookup_autoload(const std::string &nm)
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)
OCTINTERP_API string_vector autoloaded_functions(void)
the sparsity preserving column transformation such that that defines the pivoting threshold can be given in which case it defines the c
tree_classdef * classdef_object
std::string parse_error_msg
parser(const std::string &eval_string)
std::string curr_class_name
symbol_table::scope_id primary_fcn_scope
bool parsing_subfunctions
static octave_value make_fcn_handle(octave_builtin::fcn ff, const std::string &nm)
std::vector< symbol_table::scope_id > function_scopes
tree_statement_list * stmt_list
OCTINTERP_API octave_value_list eval_string(const std::string &, bool silent, int &parse_status, int nargout)
end example noindent will load the function or usages such as example autoload("foo", file_in_loadpath("bar.oct"))@end example @noindent are strongly discouraged
octave_function * primary_fcn_ptr
OCTINTERP_API void cleanup_statement_list(tree_statement_list **lst)
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="")
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string