26 #if ! defined (octave_tree_classdef_h)
27 #define octave_tree_classdef_h 1
29 #include "octave-config.h"
54 int l = -1,
int c = -1)
235 :
public base_list<tree_classdef_superclass *>
265 template <
typename T>
397 int l = -1,
int c = -1)
449 int l = -1,
int c = -1)
543 int l = -1,
int c = -1)
640 int l = -1,
int c = -1)
663 typedef std::list<tree_classdef_properties_block *>::iterator
665 typedef std::list<tree_classdef_properties_block *>::const_iterator
668 typedef std::list<tree_classdef_methods_block *>::iterator
670 typedef std::list<tree_classdef_methods_block *>::const_iterator
674 typedef std::list<tree_classdef_events_block *>::const_iterator
678 typedef std::list<tree_classdef_enum_block *>::const_iterator
776 int l = -1,
int c = -1)
816 bool is_at_folder =
false);
851 #if defined (OCTAVE_USE_DEPRECATED_FUNCTIONS)
void append(const tree_classdef_attribute * &s)
tree_classdef_attribute_list(const base_list< tree_classdef_attribute * > &a)
void accept(tree_walker &tw)
tree_classdef_attribute_list(tree_classdef_attribute *a)
tree_classdef_attribute_list & operator=(const tree_classdef_attribute_list &)=delete
~tree_classdef_attribute_list(void)
tree_classdef_attribute_list(const tree_classdef_attribute_list &)=delete
tree_classdef_attribute_list(void)
tree_classdef_attribute & operator=(const tree_classdef_attribute &)=delete
tree_identifier * ident(void)
~tree_classdef_attribute(void)
tree_classdef_attribute(tree_identifier *i, bool b)
tree_classdef_attribute(tree_identifier *i=nullptr, tree_expression *e=nullptr)
void accept(tree_walker &tw)
tree_classdef_attribute(const tree_classdef_attribute &)=delete
tree_expression * expression(void)
std::list< tree_classdef_properties_block * > m_properties_lst
std::list< tree_classdef_enum_block * >::const_iterator enum_list_const_iterator
std::list< tree_classdef_events_block * > events_list(void)
std::list< tree_classdef_properties_block * >::iterator properties_list_iterator
bool have_doc_string(void) const
std::list< tree_classdef_methods_block * > methods_list(void)
std::list< tree_classdef_enum_block * > m_enum_lst
std::string doc_string(void) const
std::list< tree_classdef_methods_block * >::iterator methods_list_iterator
std::list< tree_classdef_events_block * >::iterator events_list_iterator
tree_classdef_body & operator=(const tree_classdef_body &)=delete
void append(tree_classdef_events_block *evb)
std::list< tree_classdef_events_block * >::const_iterator events_list_const_iterator
std::list< tree_classdef_methods_block * > m_methods_lst
~tree_classdef_body(void)
void append(tree_classdef_properties_block *pb)
std::list< tree_classdef_enum_block * >::iterator enum_list_iterator
std::list< tree_classdef_events_block * > m_events_lst
std::list< tree_classdef_enum_block * > enum_list(void)
void append(tree_classdef_enum_block *enb)
std::list< tree_classdef_methods_block * >::const_iterator methods_list_const_iterator
std::string get_doc_string(comment_list *comment) const
void doc_string(const std::string &txt)
std::list< tree_classdef_properties_block * >::const_iterator properties_list_const_iterator
std::list< tree_classdef_properties_block * > properties_list(void)
void accept(tree_walker &tw)
tree_classdef_body(const tree_classdef_body &)=delete
void append(tree_classdef_methods_block *mb)
~tree_classdef_element(void)
comment_list * trailing_comment(void)
tree_classdef_attribute_list * m_attr_list
comment_list * m_lead_comm
base_list< T > * m_elt_list
comment_list * leading_comment(void)
base_list< T > * element_list(void)
tree_classdef_element(tree_classdef_attribute_list *a, base_list< T > *elist, comment_list *lc, comment_list *tc, int l=-1, int c=-1)
comment_list * m_trail_comm
tree_classdef_attribute_list * attribute_list(void)
tree_classdef_element & operator=(const tree_classdef_element &)=delete
void accept(tree_walker &)
tree_classdef_element(const tree_classdef_element &)=delete
void accept(tree_walker &tw)
tree_classdef_enum_block(const tree_classdef_enum_block &)=delete
~tree_classdef_enum_block(void)=default
tree_classdef_enum_block(tree_classdef_attribute_list *a, tree_classdef_enum_list *elist, comment_list *lc, comment_list *tc, int l=-1, int c=-1)
tree_classdef_enum_block & operator=(const tree_classdef_enum_block &)=delete
tree_classdef_enum_list(const tree_classdef_enum_list &)=delete
tree_classdef_enum_list(void)
tree_classdef_enum_list(tree_classdef_enum *e)
void accept(tree_walker &tw)
tree_classdef_enum_list & operator=(const tree_classdef_enum_list &)=delete
~tree_classdef_enum_list(void)
tree_classdef_enum_list(const base_list< tree_classdef_enum * > &a)
tree_classdef_enum & operator=(const tree_classdef_enum &)=delete
tree_classdef_enum(const tree_classdef_enum &)=delete
tree_expression * expression(void)
comment_list * m_comments
~tree_classdef_enum(void)
void doc_string(const std::string &txt)
comment_list * comments(void) const
bool have_doc_string(void) const
tree_identifier * ident(void)
void accept(tree_walker &tw)
tree_classdef_enum(tree_identifier *i, tree_expression *e, comment_list *comments)
std::string doc_string(void) const
std::string doc_string(void) const
~tree_classdef_event(void)
tree_classdef_event & operator=(const tree_classdef_event &)=delete
comment_list * comments(void) const
void doc_string(const std::string &txt)
tree_identifier * ident(void)
tree_classdef_event(tree_identifier *i=nullptr, comment_list *comments=nullptr)
comment_list * m_comments
void accept(tree_walker &tw)
tree_classdef_event(const tree_classdef_event &)=delete
bool have_doc_string(void) const
void accept(tree_walker &tw)
tree_classdef_events_block(tree_classdef_attribute_list *a, tree_classdef_events_list *elist, comment_list *lc, comment_list *tc, int l=-1, int c=-1)
tree_classdef_events_block(const tree_classdef_events_block &)=delete
~tree_classdef_events_block(void)=default
tree_classdef_events_block & operator=(const tree_classdef_events_block &)=delete
tree_classdef_events_list(tree_classdef_event *e)
tree_classdef_events_list & operator=(const tree_classdef_events_list &)=delete
tree_classdef_events_list(const base_list< tree_classdef_event * > &a)
~tree_classdef_events_list(void)
tree_classdef_events_list(void)
void accept(tree_walker &tw)
tree_classdef_events_list(const tree_classdef_events_list &)=delete
void accept(tree_walker &tw)
tree_classdef_methods_block(const tree_classdef_methods_block &)=delete
tree_classdef_methods_block(tree_classdef_attribute_list *a, tree_classdef_methods_list *mlist, comment_list *lc, comment_list *tc, int l=-1, int c=-1)
tree_classdef_methods_block & operator=(const tree_classdef_methods_block &)=delete
~tree_classdef_methods_block(void)=default
tree_classdef_methods_list(void)
void accept(tree_walker &tw)
tree_classdef_methods_list(const tree_classdef_methods_list &)=delete
~tree_classdef_methods_list(void)=default
tree_classdef_methods_list(const octave_value &f)
tree_classdef_methods_list & operator=(const tree_classdef_methods_list &)=delete
tree_classdef_methods_list(const base_list< octave_value > &a)
tree_classdef_properties_block & operator=(const tree_classdef_properties_block &)=delete
tree_classdef_properties_block(const tree_classdef_properties_block &)=delete
void accept(tree_walker &tw)
tree_classdef_properties_block(tree_classdef_attribute_list *a, tree_classdef_property_list *plist, comment_list *lc, comment_list *tc, int l=-1, int c=-1)
~tree_classdef_properties_block(void)=default
tree_classdef_property_list(tree_classdef_property *p)
tree_classdef_property_list(const tree_classdef_property_list &)=delete
tree_classdef_property_list & operator=(const tree_classdef_property_list &)=delete
tree_classdef_property_list(const base_list< tree_classdef_property * > &a)
~tree_classdef_property_list(void)
tree_classdef_property_list(void)
void accept(tree_walker &tw)
std::string doc_string(void) const
tree_classdef_property & operator=(const tree_classdef_property &)=delete
comment_list * comments(void) const
tree_identifier * ident(void)
tree_expression * expression(void)
void accept(tree_walker &tw)
bool have_doc_string(void) const
comment_list * m_comments
void doc_string(const std::string &txt)
tree_classdef_property(tree_identifier *i, comment_list *comments=nullptr)
tree_classdef_property(const tree_classdef_property &)=delete
~tree_classdef_property(void)
tree_classdef_superclass_list(void)
tree_classdef_superclass_list(const tree_classdef_superclass_list &)=delete
tree_classdef_superclass_list & operator=(const tree_classdef_superclass_list &)=delete
void accept(tree_walker &tw)
~tree_classdef_superclass_list(void)
tree_classdef_superclass_list(tree_classdef_superclass *sc)
tree_classdef_superclass_list(const base_list< tree_classdef_superclass * > &a)
std::string class_name(void)
tree_classdef_superclass & operator=(const tree_classdef_superclass &)=delete
~tree_classdef_superclass(void)=default
tree_classdef_superclass(const std::string &cname)
tree_classdef_superclass(const tree_classdef_superclass &)=delete
void accept(tree_walker &tw)
tree_classdef & operator=(const tree_classdef &)=delete
tree_classdef_superclass_list * superclass_list(void)
tree_identifier * ident(void)
tree_classdef_body * body(void)
tree_classdef_body * m_element_list
comment_list * m_trail_comm
comment_list * trailing_comment(void)
comment_list * leading_comment(void)
void accept(tree_walker &tw)
tree_classdef_attribute_list * attribute_list(void)
octave::symbol_scope m_scope
tree_classdef(const octave::symbol_scope &scope, tree_classdef_attribute_list *a, tree_identifier *i, tree_classdef_superclass_list *sc, tree_classdef_body *b, comment_list *lc, comment_list *tc, const std::string &pn="", int l=-1, int c=-1)
std::string package_name(void) const
octave_value make_meta_class(interpreter &interp, bool is_at_folder=false)
tree_classdef(const tree_classdef &)=delete
tree_classdef_superclass_list * m_supclass_list
std::string doc_string(void) const
tree_classdef_attribute_list * m_attr_list
octave::symbol_scope scope(void)
comment_list * m_lead_comm
std::string method_name(void) const
octave_value_list evaluate_n(tree_evaluator &tw, int nargout=1)
std::string m_method_name
tree_superclass_ref(void)=delete
tree_superclass_ref * dup(symbol_scope &scope) const
std::string class_name(void) const
tree_superclass_ref & operator=(const tree_superclass_ref &)=delete
tree_superclass_ref(const std::string &meth, const std::string &cls, int l=-1, int c=-1)
octave_value evaluate(tree_evaluator &tw, int nargout=1)
void accept(tree_walker &tw)
tree_superclass_ref(const tree_superclass_ref &)=delete
virtual void visit_classdef_property_list(tree_classdef_property_list &)
virtual void visit_classdef_attribute(tree_classdef_attribute &)
virtual void visit_classdef_property(tree_classdef_property &)
virtual void visit_classdef_events_block(tree_classdef_events_block &)
virtual void visit_classdef_methods_list(tree_classdef_methods_list &)
virtual void visit_classdef(tree_classdef &)
virtual void visit_classdef_body(tree_classdef_body &)
virtual void visit_classdef_event(tree_classdef_event &)
virtual void visit_classdef_enum_list(tree_classdef_enum_list &)
virtual void visit_classdef_superclass_list(tree_classdef_superclass_list &)
virtual void visit_classdef_enum_block(tree_classdef_enum_block &)
virtual void visit_classdef_superclass(tree_classdef_superclass &)
virtual void visit_classdef_properties_block(tree_classdef_properties_block &)
virtual void visit_classdef_methods_block(tree_classdef_methods_block &)
virtual void visit_superclass_ref(tree_superclass_ref &)
virtual void visit_classdef_events_list(tree_classdef_events_list &)
virtual void visit_classdef_attribute_list(tree_classdef_attribute_list &)
virtual void visit_classdef_enum(tree_classdef_enum &)
virtual void visit_metaclass_query(tree_metaclass_query &)
static double f(double k, double l_nu, double c_pm)
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
octave_value::octave_value(const Array< char > &chm, char type) return retval
octave_value_list ovl(const OV_Args &... args)
Construct an octave_value_list with less typing.