26 #if defined (HAVE_CONFIG_H)
68 return f->call (tw, nargout);
135 return last_elt.
text ();
143 : m_av (av), m_comments (comments),
189 : m_id (i), m_comments (comments),
212 : m_id (i), m_expr (e), m_comments (comments),
233 : m_properties_lst (), m_methods_lst (), m_events_lst (), m_enum_lst ()
237 : m_properties_lst (), m_methods_lst (), m_events_lst (), m_enum_lst (),
238 m_doc_string (pb ? get_doc_string (pb->leading_comment ()) :
"")
244 : m_properties_lst (), m_methods_lst (), m_events_lst (), m_enum_lst (),
245 m_doc_string (mb ? get_doc_string (mb->leading_comment ()) :
"")
251 : m_properties_lst (), m_methods_lst (), m_events_lst (), m_enum_lst (),
252 m_doc_string (evb ? get_doc_string (evb->leading_comment ()) :
"")
258 : m_properties_lst (), m_methods_lst (), m_events_lst (), m_enum_lst (),
259 m_doc_string (enb ? get_doc_string (enb->leading_comment ()) :
"")
266 while (! m_properties_lst.empty ())
268 auto p = m_properties_lst.begin ();
270 m_properties_lst.erase (p);
273 while (! m_methods_lst.empty ())
275 auto p = m_methods_lst.begin ();
277 m_methods_lst.erase (p);
280 while (! m_events_lst.empty ())
282 auto p = m_events_lst.begin ();
284 m_events_lst.erase (p);
287 while (! m_enum_lst.empty ())
289 auto p = m_enum_lst.begin ();
291 m_enum_lst.erase (p);
296 tree_classdef_body::get_doc_string (
comment_list *comments)
const
305 return first_elt.
text ();
324 OCTAVE_END_NAMESPACE(
octave)
iterator erase(iterator pos)
octave_value get_constructor_function()
static cdef_class make_meta_class(interpreter &interp, tree_classdef *t, bool is_at_folder=false)
Analyze the tree_classdef tree and transform it to a cdef_class.
static octave_value metaclass_query(const std::string &cls)
static octave_value superclass_ref(const std::string &meth, const std::string &cls)
octave_function * function_value(bool silent=false) const
tree_expression * identifier_expression()
tree_expression * initializer_expression()
~tree_classdef_attribute_list()
void append(tree_classdef_properties_block *pb)
~tree_classdef_enum_list()
tree_classdef_enum(tree_identifier *i, tree_expression *e, comment_list *comments)
tree_classdef_event(tree_identifier *i=nullptr, comment_list *comments=nullptr)
~tree_classdef_events_list()
~tree_classdef_property_list()
~tree_classdef_property()
tree_classdef_property(tree_arg_validation *av, comment_list *comments=nullptr)
tree_expression * expression()
tree_identifier * ident()
~tree_classdef_superclass_list()
octave_value make_meta_class(interpreter &interp, bool is_at_folder=false)
bool is_postfix_indexed() const
virtual void copy_base(const tree_expression &e)
tree_superclass_ref(const std::string &meth, const std::string &cls, int l=-1, int c=-1)
octave_value_list evaluate_n(tree_evaluator &tw, int nargout=1)
tree_superclass_ref * dup(symbol_scope &scope) const
virtual int column() const
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
#define panic_unless(cond)
F77_RET_T const F77_DBLE const F77_DBLE * f
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
octave_value_list ovl(const OV_Args &... args)
Construct an octave_value_list with less typing.
std::string check_for_doc_string(comment_list *comments)