Mercurial > hg > octave-avbm
comparison src/ov-usr-fcn.h @ 4748:7b145222fea3
[project @ 2004-02-07 06:27:27 by jwe]
author | jwe |
---|---|
date | Sat, 07 Feb 2004 06:27:28 +0000 |
parents | ca3a1d687bba |
children | e35b034d3523 |
comparison
equal
deleted
inserted
replaced
4747:3f28979bbe2c | 4748:7b145222fea3 |
---|---|
93 | 93 |
94 void mark_as_system_fcn_file (void); | 94 void mark_as_system_fcn_file (void); |
95 | 95 |
96 bool is_system_fcn_file (void) const { return system_fcn_file; } | 96 bool is_system_fcn_file (void) const { return system_fcn_file; } |
97 | 97 |
98 bool is_user_function (void) const { return true; } | |
99 | |
98 bool takes_varargs (void) const; | 100 bool takes_varargs (void) const; |
99 | 101 |
100 void octave_va_start (void) { curr_va_arg_number = num_named_args; } | 102 void octave_va_start (void) { curr_va_arg_number = num_named_args; } |
101 | 103 |
102 octave_value octave_va_arg (void); | 104 octave_value octave_va_arg (void); |
109 | 111 |
110 void varargout_to_vr_val (void); | 112 void varargout_to_vr_val (void); |
111 | 113 |
112 bool has_varargout (void) const; | 114 bool has_varargout (void) const; |
113 | 115 |
114 void stash_function_name (const std::string& s); | 116 void stash_function_name (const std::string& s) { my_name = s; } |
115 | |
116 std::string function_name (void) const { return fcn_name; } | |
117 | 117 |
118 void mark_as_nested_function (void) { nested_function = true; } | 118 void mark_as_nested_function (void) { nested_function = true; } |
119 | 119 |
120 bool is_nested_function (void) const { return nested_function; } | 120 bool is_nested_function (void) const { return nested_function; } |
121 | 121 |
190 octave_comment_list *trail_comm; | 190 octave_comment_list *trail_comm; |
191 | 191 |
192 // The name of the file we parsed | 192 // The name of the file we parsed |
193 std::string file_name; | 193 std::string file_name; |
194 | 194 |
195 // The name of the function. | |
196 std::string fcn_name; | |
197 | |
198 // The time the file was parsed. | 195 // The time the file was parsed. |
199 octave_time t_parsed; | 196 octave_time t_parsed; |
200 | 197 |
201 // The time the file was last checked to see if it needs to be | 198 // The time the file was last checked to see if it needs to be |
202 // parsed again. | 199 // parsed again. |