23 #if !defined (octave_pt_fcn_handle_h)
24 #define octave_fcn_handle_h 1
58 void print (std::ostream& os,
bool pr_as_read_syntax =
false,
59 bool pr_orig_txt =
true);
61 void print_raw (std::ostream& os,
bool pr_as_read_syntax =
false,
62 bool pr_orig_txt =
true);
64 std::string
name (
void)
const {
return nm; }
99 int l = -1,
int c = -1)
116 return fcn ? fcn->parameter_list () : 0;
121 return fcn ? fcn->return_list () : 0;
126 return fcn ? fcn->body () : 0;
131 return fcn ? fcn->scope () : -1;
octave_user_function * fcn
tree_anon_fcn_handle(tree_parameter_list *pl, tree_parameter_list *rl, tree_statement_list *cl, symbol_table::scope_id sid, int l=-1, int c=-1)
~tree_anon_fcn_handle(void)
bool rvalue_ok(void) const
bool has_magic_end(void) const
tree_fcn_handle(int l=-1, int c=-1)
tree_parameter_list * return_list(void) const
static llvm::LLVMContext & context
void stash_file_name(const std::string &file)
std::string name(void) const
symbol_table::scope_id scope(void) const
tree_statement_list * body(void) const
bool has_magic_end(void) const
tree_anon_fcn_handle(int l=-1, int c=-1)
tree_parameter_list * parameter_list(void) const
bool rvalue_ok(void) const
tree_fcn_handle(const std::string &n, int l=-1, int c=-1)
tree_walker & operator=(const tree_walker &)