26 #if defined (HAVE_CONFIG_H)
49 std::string msg =
"'" +
name () +
"' undefined";
53 msg +=
" near line " + std::to_string (l);
56 msg +=
", column " + std::to_string (c);
61 if (! missing_msg.empty ())
62 msg +=
"\n\n" + missing_msg;
64 error_with_id (
"Octave:undefined-function",
"%s", msg.c_str ());
129 retval = fcn->
call (tw, nargout);
141 interp.
feval (
"display", args);
165 OCTAVE_END_NAMESPACE(
octave)
symbol_table & get_symbol_table()
octave_value_list feval(const char *name, const octave_value_list &args=octave_value_list(), int nargout=0)
Evaluate an Octave function (built-in or interpreted) and return the list of result values.
virtual bool accepts_postfix_index(char type) const
virtual octave_value_list call(octave::tree_evaluator &tw, int nargout=0, const octave_value_list &args=octave_value_list())
void stash_name_tags(const string_vector &nm)
bool is_undefined() const
octave_function * function_value(bool silent=false) const
bool is_added_static() const
symbol_record find_symbol(const std::string &name)
octave_value find_function(const std::string &name, const symbol_scope &search_scope=symbol_scope::invalid())
octave_lvalue lvalue(tree_evaluator &tw)
interpreter & get_interpreter()
std::shared_ptr< stack_frame > get_current_stack_frame() const
octave_value varval(const symbol_record &sym) const
bool statement_printing_enabled()
char postfix_index() const
bool is_postfix_indexed() const
bool print_result() const
virtual void copy_base(const tree_expression &e)
tree_identifier(int l=-1, int c=-1)
octave_lvalue lvalue(tree_evaluator &tw)
octave_value_list evaluate_n(tree_evaluator &tw, int nargout=1)
tree_identifier * dup(symbol_scope &scope) const
void static_workspace_error()
void eval_undefined_error()
virtual int column() const
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
void error_with_id(const char *id, const char *fmt,...)
octave_value_list ovl(const OV_Args &... args)
Construct an octave_value_list with less typing.
std::string maybe_missing_function_hook(const std::string &name)