23 #if !defined (octave_pt_decl_h)
24 #define octave_pt_decl_h 1
47 : id (i), expr (e) { }
53 bool is_defined (
void) {
return id ?
id->is_defined () :
false; }
55 bool is_variable (
void) {
return id ?
id->is_variable () :
false; }
57 void mark_as_formal_parameter (
void)
60 id->mark_as_formal_parameter ();
63 bool lvalue_ok (
void) {
return id ?
id->lvalue_ok () :
false; }
76 error (
"invalid number of output arguments in declaration list");
78 retval = rvalue1 (nargout);
87 std::string
name (
void) {
return id ?
id->name () :
""; }
155 int l = -1,
int c = -1)
162 std::string
name (
void) {
return cmd_name; }