26 #if defined (HAVE_CONFIG_H)
50 std::string msg =
"'" +
name () +
"' undefined";
54 msg +=
" near line " + std::to_string (l);
57 msg +=
", column " + std::to_string (c);
62 if (! missing_msg.empty ())
63 msg +=
"\n\n" + missing_msg;
65 error_with_id (
"Octave:undefined-function",
"%s", msg.c_str ());
130 retval = fcn->
call (tw, nargout);
139 feval (
"display", args);
symbol_table & get_symbol_table(void)
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 mark_black_hole(void)
void stash_name_tags(const string_vector &nm)
bool is_function(void) const
OCTINTERP_API octave_function * function_value(bool silent=false) const
bool is_defined(void) const
bool is_undefined(void) const
std::string name(void) const
bool is_added_static(void) const
symbol_record find_symbol(const std::string &name)
octave_value find_function(const std::string &name, const symbol_scope &search_scope=symbol_scope())
octave_lvalue lvalue(tree_evaluator &tw)
bool statement_printing_enabled(void)
std::shared_ptr< stack_frame > get_current_stack_frame(void) const
interpreter & get_interpreter(void)
octave_value varval(const symbol_record &sym) const
char postfix_index(void) const
bool print_result(void) const
virtual void copy_base(const tree_expression &e)
bool is_postfix_indexed(void) const
tree_identifier(int l=-1, int c=-1)
void static_workspace_error(void)
octave_lvalue lvalue(tree_evaluator &tw)
void eval_undefined_error(void)
octave_value_list evaluate_n(tree_evaluator &tw, int nargout=1)
tree_identifier * dup(symbol_scope &scope) const
std::string name(void) const
virtual int column(void) const
virtual int line(void) const
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
void error_with_id(const char *id, const char *fmt,...)
octave_value_list feval(const char *name, const octave_value_list &args, int nargout)
Evaluate an Octave function (built-in or interpreted) and return the list of result values.
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)