23 #if ! defined (octave_tree_classdef_h) 24 #define octave_tree_classdef_h 1 26 #include "octave-config.h" 173 template <
typename T>
181 int l = -1,
int c = -1)
296 int l = -1,
int c = -1)
697 bool is_at_folder =
false);
721 #if defined (OCTAVE_USE_DEPRECATED_FUNCTIONS) comment_list * leading_comment(void)
void accept(tree_walker &tw)
~tree_classdef_events_block(void)=default
~tree_classdef_property_list(void)
tree_expression * expression(void)
std::list< tree_classdef_enum_block * > m_enum_lst
tree_classdef_attribute_list * m_attr_list
~tree_classdef_event(void)
void accept(tree_walker &tw)
virtual void visit_classdef_attribute(tree_classdef_attribute &)
For example cd octave end example noindent changes the current working directory to an error message is printed and the working directory is not changed sc
tree_classdef_enum_list & operator=(const tree_classdef_enum_list &)=delete
tree_classdef_body * m_element_list
tree_classdef_superclass_list & operator=(const tree_classdef_superclass_list &)=delete
void append(tree_classdef_enum_block *enb)
comment_list * m_trail_comm
tree_classdef_event(tree_identifier *i=nullptr)
virtual void visit_classdef_enum_list(tree_classdef_enum_list &)
tree_classdef_property_list(const base_list< tree_classdef_property *> &a)
void accept(tree_walker &tw)
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
tree_classdef_attribute_list(const base_list< tree_classdef_attribute *> &a)
virtual void visit_classdef_event(tree_classdef_event &)
virtual void visit_classdef_events_list(tree_classdef_events_list &)
tree_identifier * ident(void)
comment_list * trailing_comment(void)
virtual void visit_classdef_methods_block(tree_classdef_methods_block &)
std::list< tree_classdef_events_block * > events_list(void)
void accept(tree_walker &tw)
tree_classdef_enum_block & operator=(const tree_classdef_enum_block &)=delete
virtual void visit_classdef_property(tree_classdef_property &)
virtual void visit_classdef_events_block(tree_classdef_events_block &)
~tree_classdef_body(void)
tree_classdef_body(tree_classdef_properties_block *pb)
tree_expression * expression(void)
tree_classdef_methods_block & operator=(const tree_classdef_methods_block &)=delete
std::list< tree_classdef_enum_block * > enum_list(void)
tree_classdef_property & operator=(const tree_classdef_property &)=delete
tree_classdef_attribute_list * m_attr_list
tree_classdef_enum_list(tree_classdef_enum *e)
tree_classdef_event & operator=(const tree_classdef_event &)=delete
tree_classdef_body(tree_classdef_methods_block *mb)
std::list< tree_classdef_methods_block * >::const_iterator methods_list_const_iterator
virtual void visit_classdef(tree_classdef &)
~tree_classdef_enum_list(void)
void accept(tree_walker &tw)
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)
nd example oindent opens the file binary numeric values will be read assuming they are stored in IEEE format with the least significant bit and then converted to the native representation Opening a file that is already open simply opens it again and returns a separate file id It is not an error to open a file several though writing to the same file through several different file ids may produce unexpected results The possible values of text mode reading and writing automatically converts linefeeds to the appropriate line end character for the you may append a you must also open the file in binary mode The parameter conversions are currently only supported for and permissions will be set to and then everything is written in a single operation This is very efficient and improves performance c
tree_classdef_property_list & operator=(const tree_classdef_property_list &)=delete
tree_classdef_attribute_list(tree_classdef_attribute *a)
tree_classdef_property(tree_identifier *i=nullptr, tree_expression *e=nullptr)
tree_classdef_enum_list(const base_list< tree_classdef_enum *> &a)
~tree_classdef_property(void)
tree_classdef_enum(tree_identifier *i, tree_expression *e)
~tree_classdef_element(void)
tree_expression * expression(void)
std::list< tree_classdef_properties_block * >::const_iterator properties_list_const_iterator
tree_identifier * ident(void)
tree_classdef_attribute(tree_identifier *i=nullptr, tree_expression *e=nullptr)
tree_classdef_superclass_list(tree_classdef_superclass *sc)
std::list< tree_classdef_properties_block * > m_properties_lst
virtual void visit_classdef_enum(tree_classdef_enum &)
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)
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
tree_classdef_enum & operator=(const tree_classdef_enum &)=delete
void append(tree_classdef_methods_block *mb)
std::list< tree_classdef_events_block * >::iterator events_list_iterator
void accept(tree_walker &tw)
void accept(tree_walker &tw)
~tree_classdef_methods_list(void)=default
tree_classdef_superclass_list * m_supclass_list
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)
virtual void visit_classdef_methods_list(tree_classdef_methods_list &)
std::list< tree_classdef_enum_block * >::const_iterator enum_list_const_iterator
void append(tree_classdef_properties_block *pb)
tree_classdef_property_list(tree_classdef_property *p)
void accept(tree_walker &tw)
tree_classdef_body(tree_classdef_events_block *evb)
tree_classdef_element & operator=(const tree_classdef_element &)=delete
~tree_classdef_superclass(void)=default
tree_classdef_attribute & operator=(const tree_classdef_attribute &)=delete
tree_classdef_attribute_list * attribute_list(void)
tree_classdef_property_list(void)
~tree_classdef_superclass_list(void)
~tree_classdef_enum_block(void)=default
tree_classdef_superclass_list(const base_list< tree_classdef_superclass *> &a)
void accept(tree_walker &tw)
tree_classdef_properties_block & operator=(const tree_classdef_properties_block &)=delete
tree_classdef_events_list & operator=(const tree_classdef_events_list &)=delete
void accept(tree_walker &)
void accept(tree_walker &tw)
void accept(tree_walker &tw)
tree_classdef_methods_list & operator=(const tree_classdef_methods_list &)=delete
void accept(tree_walker &tw)
void accept(tree_walker &tw)
tree_classdef_body * body(void)
comment_list * trailing_comment(void)
tree_classdef_superclass(const std::string &cname)
std::list< tree_classdef_methods_block * > methods_list(void)
tree_classdef(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)
tree_classdef_body(tree_classdef_enum_block *enb)
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)
void accept(tree_walker &tw)
comment_list * m_trail_comm
tree_classdef_attribute_list * attribute_list(void)
comment_list * m_lead_comm
void accept(tree_walker &tw)
virtual void visit_classdef_superclass(tree_classdef_superclass &)
tree_classdef_methods_list(void)
virtual void visit_classdef_body(tree_classdef_body &)
virtual void visit_classdef_superclass_list(tree_classdef_superclass_list &)
~tree_classdef_events_list(void)
void accept(tree_walker &tw)
tree_classdef_methods_list(const octave_value &f)
tree_classdef_events_block & operator=(const tree_classdef_events_block &)=delete
std::list< tree_classdef_properties_block * > properties_list(void)
virtual void visit_classdef_properties_block(tree_classdef_properties_block &)
std::list< tree_classdef_events_block * > m_events_lst
std::list< tree_classdef_methods_block * > m_methods_lst
tree_classdef_enum_list(void)
virtual void visit_classdef_attribute_list(tree_classdef_attribute_list &)
std::list< tree_classdef_methods_block * >::iterator methods_list_iterator
tree_classdef_events_list(const base_list< tree_classdef_event *> &a)
tree_classdef_events_list(tree_classdef_event *e)
tree_classdef_attribute_list & operator=(const tree_classdef_attribute_list &)=delete
tree_classdef_superclass_list * superclass_list(void)
comment_list * m_lead_comm
std::list< tree_classdef_events_block * >::const_iterator events_list_const_iterator
~tree_classdef_methods_block(void)=default
base_list< T > * m_elt_list
tree_classdef_element(tree_classdef_attribute_list *a, base_list< T > *elist, comment_list *lc, comment_list *tc, int l=-1, int c=-1)
void accept(tree_walker &tw)
tree_classdef_body & operator=(const tree_classdef_body &)=delete
~tree_classdef_properties_block(void)=default
tree_classdef_methods_list(const base_list< octave_value > &a)
void append(tree_classdef_events_block *evb)
~tree_classdef_attribute(void)
std::list< tree_classdef_properties_block * >::iterator properties_list_iterator
tree_classdef_attribute_list(void)
tree_classdef_events_list(void)
tree_classdef_superclass & operator=(const tree_classdef_superclass &)=delete
void append(const tree_classdef_attribute * &s)
octave_function * make_meta_class(interpreter &interp, bool is_at_folder=false)
virtual void visit_classdef_enum_block(tree_classdef_enum_block &)
tree_classdef_superclass_list(void)
tree_classdef & operator=(const tree_classdef &)=delete
tree_identifier * ident(void)
~tree_classdef_attribute_list(void)
comment_list * leading_comment(void)
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
base_list< T > * element_list(void)
virtual void visit_classdef_property_list(tree_classdef_property_list &)
~tree_classdef_enum(void)
std::list< tree_classdef_enum_block * >::iterator enum_list_iterator
tree_classdef_attribute(tree_identifier *i, bool b)
tree_identifier * ident(void)
const std::string & package_name(void) const
std::string class_name(void)
tree_identifier * ident(void)