26 #if ! defined (octave_pt_decl_h)
27 #define octave_pt_decl_h 1
29 #include "octave-config.h"
86 std::string
name ()
const {
return m_id->
name (); }
142 std::list<std::string> retval;
146 std::string nm = elt->
name ();
149 retval.push_back (nm);
168 :
tree_command (l, c), m_cmd_name (
n), m_init_list (nullptr) { }
171 int l = -1,
int c = -1);
191 std::string
name ()
const {
return m_cmd_name; }
201 std::string m_cmd_name;
207 OCTAVE_END_NAMESPACE(
octave)
void append(const tree_decl_elt * &s)
iterator erase(iterator pos)
void accept(tree_walker &tw)
tree_decl_command(const std::string &n, int l=-1, int c=-1)
tree_decl_init_list * initializer_list()
tree_decl_elt * dup(symbol_scope &scope) const
octave_lvalue lvalue(tree_evaluator &tw)
void accept(tree_walker &tw)
tree_identifier * ident()
bool is_persistent() const
void mark_as_formal_parameter()
tree_decl_elt(tree_identifier *i, tree_expression *e=nullptr)
tree_expression * expression()
void accept(tree_walker &tw)
std::list< std::string > variable_names() const
tree_decl_init_list(tree_decl_elt *t)
void mark_as_formal_parameter()
octave_lvalue lvalue(tree_evaluator &tw)
virtual void visit_decl_command(tree_decl_command &)
virtual void visit_decl_init_list(tree_decl_init_list &)
virtual void visit_decl_elt(tree_decl_elt &)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn