23 #if ! defined (octave_pt_select_h) 24 #define octave_pt_select_h 1 26 #include "octave-config.h" 35 class tree_expression;
36 class tree_statement_list;
48 int l = -1,
int c = -1)
53 int l = -1,
int c = -1)
173 int l = -1,
int c = -1)
178 int l = -1,
int c = -1)
254 int l = -1,
int c = -1)
295 #if defined (OCTAVE_USE_DEPRECATED_FUNCTIONS) 297 OCTAVE_DEPRECATED (4.4,
"use 'octave::tree_if_clause' instead")
298 typedef
octave::tree_if_clause tree_if_clause;
302 OCTAVE_DEPRECATED (4.4, "use '
octave::tree_if_command'
instead")
303 typedef
octave::tree_if_command tree_if_command;
305 OCTAVE_DEPRECATED (4.4, "use '
octave::tree_switch_case'
instead")
306 typedef
octave::tree_switch_case tree_switch_case;
310 OCTAVE_DEPRECATED (4.4, "use '
octave::tree_switch_command'
instead")
311 typedef
octave::tree_switch_command tree_switch_command;
tree_if_clause(tree_statement_list *sl, comment_list *lc=nullptr, int l=-1, int c=-1)
comment_list * leading_comment(void)
bool is_default_case(void)
tree_switch_case(tree_statement_list *sl, comment_list *lc=nullptr, int l=-1, int c=-1)
tree_expression * m_label
tree_if_command_list & operator=(const tree_if_command_list &)=delete
virtual void visit_if_command_list(tree_if_command_list &)=0
virtual void visit_if_clause(tree_if_clause &)=0
void accept(tree_walker &tw)
virtual void visit_if_command(tree_if_command &)=0
std::list< tree_if_clause * >::iterator iterator
comment_list * m_lead_comm
iterator erase(iterator pos)
OCTAVE_EXPORT octave_value_list return the number of command line arguments passed to Octave If called with the optional argument the function t
comment_list * leading_comment(void)
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_statement_list * commands(void)
void accept(tree_walker &tw)
tree_switch_case_list(void)
tree_switch_case_list(tree_switch_case *t)
tree_switch_command & operator=(const tree_switch_command &)=delete
tree_if_command(int l=-1, int c=-1)
comment_list * leading_comment(void)
tree_if_clause(int l=-1, int c=-1)
tree_if_clause(tree_expression *e, tree_statement_list *sl, comment_list *lc=nullptr, int l=-1, int c=-1)
tree_switch_case_list * m_list
tree_if_command(tree_if_command_list *lst, comment_list *lc, comment_list *tc, int l=-1, int c=-1)
tree_statement_list * commands(void)
comment_list * m_lead_comm
~tree_if_command_list(void)
tree_switch_command(tree_expression *e, tree_switch_case_list *lst, comment_list *lc, comment_list *tc, int l=-1, int c=-1)
~tree_switch_command(void)
comment_list * m_lead_comm
virtual void visit_switch_command(tree_switch_command &)=0
tree_switch_case & operator=(const tree_switch_case &)=delete
tree_if_command_list(tree_if_clause *t)
tree_if_clause & operator=(const tree_if_clause &)=delete
void accept(tree_walker &tw)
virtual void visit_switch_case(tree_switch_case &)=0
tree_switch_case(int l=-1, int c=-1)
comment_list * trailing_comment(void)
tree_switch_case(tree_expression *e, tree_statement_list *sl, comment_list *lc=nullptr, int l=-1, int c=-1)
tree_switch_case_list & operator=(const tree_switch_case_list &)=delete
comment_list * m_trail_comm
~tree_switch_case_list(void)
comment_list * leading_comment(void)
void accept(tree_walker &tw)
comment_list * trailing_comment(void)
void accept(tree_walker &tw)
tree_expression * switch_value(void)
tree_statement_list * m_list
comment_list * m_trail_comm
comment_list * m_lead_comm
bool is_else_clause(void)
tree_statement_list * m_list
tree_if_command_list(void)
virtual void visit_switch_case_list(tree_switch_case_list &)=0
tree_expression * case_label(void)
tree_if_command & operator=(const tree_if_command &)=delete
void append(const tree_if_clause * &s)
tree_switch_command(int l=-1, int c=-1)
void accept(tree_walker &tw)
tree_switch_case_list * case_list(void)
tree_if_command_list * cmd_list(void)
tree_expression * condition(void)
tree_if_command_list * m_list