23 #if ! defined (octave_pt_stmt_h) 24 #define octave_pt_stmt_h 1 26 #include "octave-config.h" 41 class tree_expression;
83 int line (
void)
const;
206 #if defined (OCTAVE_USE_DEPRECATED_FUNCTIONS) 208 OCTAVE_DEPRECATED (4.4,
"use 'octave::tree_statement' instead")
209 typedef
octave::tree_statement tree_statement;
211 OCTAVE_DEPRECATED (4.4, "use '
octave::tree_statement_list'
instead")
212 typedef
octave::tree_statement_list tree_statement_list;
virtual void visit_statement(tree_statement &)=0
void set_location(int l, int c)
void delete_breakpoint(void)
std::string bp_cond() const
For example cd octave end example noindent changes the current working directory to file
void mark_as_script_body(void)
bool is_end_of_fcn_or_script(void) const
bp_table::intmap remove_all_breakpoints(const std::string &file)
~tree_statement_list(void)
bool is_end_of_file(void) const
void echo_code(const std::string &prefix)
void set_expression(tree_expression *e)
void delete_breakpoint(int line)
tree_expression * m_expression
bool is_breakpoint(bool check_valid=false) const
std::list< tree_statement * >::iterator iterator
octave_value_list list_breakpoints(void)
void mark_as_anon_function_body(void)
iterator erase(iterator pos)
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(tree_expression *e, comment_list *cl)
int set_breakpoint(int line, const std::string &condition)
std::list< bp_type > breakpoints_and_conds(void)
tree_statement_list & operator=(const tree_statement_list &)=delete
virtual void visit_statement_list(tree_statement_list &)=0
tree_statement(tree_command *c, comment_list *cl)
comment_list * comment_text(void)
void set_breakpoint(const std::string &condition)
comment_list * m_comment_list
void accept(tree_walker &tw)
bool is_anon_function_body(void) const
bool is_null_statement(void) const
std::map< int, int > intmap
void mark_as_function_body(void)
tree_command * command(void)
void set_command(tree_command *c)
bool is_command(void) const
bool m_anon_function_body
bp_table::intmap add_breakpoint(const std::string &file, const bp_table::intmap &line, const std::string &condition)
tree_statement & operator=(const tree_statement &)=delete
tree_statement_list(void)
void set_print_flag(bool print_flag)
void append(const tree_statement * &s)
tree_statement_list(tree_statement *s)
bool is_expression(void) const
void accept(tree_walker &tw)
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
bool is_function_body(void) const
bool is_script_body(void) const
tree_expression * expression(void)