23 #if ! defined (octave_tree_funcall_h) 24 #define octave_tree_funcall_h 1 26 #include "octave-config.h" 46 int l = -1,
int c = -1)
50 error (
"tree_funcall: invalid function");
63 void print (std::ostream&
os,
bool pr_as_read_syntax =
false,
64 bool pr_orig_txt =
true);
66 void print_raw (std::ostream&
os,
bool pr_as_read_syntax =
false,
67 bool pr_orig_txt =
true);
91 #if defined (OCTAVE_USE_DEPRECATED_FUNCTIONS) 93 OCTAVE_DEPRECATED (4.4,
"use 'octave::tree_funcall' instead")
94 typedef
octave::tree_funcall tree_funcall;
tree_funcall(const octave_value &f, const octave_value_list &a, int l=-1, int c=-1)
void print(std::ostream &os, bool pr_as_read_syntax=false, bool pr_orig_txt=true)
octave_value_list arguments(void) const
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
void error(const char *fmt,...)
nd example oindent opens the file binary numeric values will be read assuming they are stored in IEEE format with the least significant bit and then converted to the native representation Opening a file that is already open simply opens it again and returns a separate file id It is not an error to open a file several though writing to the same file through several different file ids may produce unexpected results The possible values of text mode reading and writing automatically converts linefeeds to the appropriate line end character for the you may append a you must also open the file in binary mode The parameter conversions are currently only supported for and permissions will be set to and then everything is written in a single operation This is very efficient and improves performance c
~tree_funcall(void)=default
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
void print_raw(std::ostream &os, bool pr_as_read_syntax=false, bool pr_orig_txt=true)
tree_funcall & operator=(const tree_funcall &)=delete
virtual void visit_funcall(tree_funcall &)=0
tree_funcall * dup(symbol_scope &scope) const
bool is_function(void) const
bool has_magic_end(void) const
void accept(tree_walker &tw)