26 #if ! defined (octave_pt_stmt_h)
27 #define octave_pt_stmt_h 1
29 #include "octave-config.h"
47 class tree_expression;
92 int line (
void)
const;
97 void echo_code (
const std::string& prefix);
192 const std::string& file,
194 const std::string& condition);
197 const std::string& file);
void append(const tree_statement * &s)
iterator erase(iterator pos)
std::map< int, int > intmap
Provides threadsafe access to octave.
void accept(tree_walker &tw)
int set_breakpoint(int line, const std::string &condition)
void delete_breakpoint(int line)
tree_statement_list(void)
void mark_as_anon_function_body(void)
void mark_as_script_body(void)
octave_value_list list_breakpoints(void)
bool m_anon_function_body
tree_statement_list & operator=(const tree_statement_list &)=delete
bool is_function_body(void) const
~tree_statement_list(void)
tree_statement_list(tree_statement *s)
tree_statement_list(const tree_statement_list &)=delete
bp_table::intmap remove_all_breakpoints(event_manager &evmgr, const std::string &file)
void mark_as_function_body(void)
std::list< bp_type > breakpoints_and_conds(void)
bp_table::intmap add_breakpoint(event_manager &evmgr, const std::string &file, const bp_table::intmap &line, const std::string &condition)
bool is_script_body(void) const
bool is_anon_function_body(void) const
bool is_end_of_fcn_or_script(void) const
bool is_active_breakpoint(tree_evaluator &tw) const
bool is_command(void) const
bool is_expression(void) const
tree_expression * expression(void)
comment_list * comment_text(void)
comment_list * m_comment_list
bool is_end_of_file(void) const
tree_expression * m_expression
void set_expression(tree_expression *e)
tree_statement(tree_command *c, comment_list *cl)
void accept(tree_walker &tw)
void set_print_flag(bool print_flag)
void delete_breakpoint(void)
tree_statement(tree_expression *e, comment_list *cl)
void echo_code(const std::string &prefix)
void set_location(int l, int c)
bool is_breakpoint(void) const
bool is_null_statement(void) const
void set_command(tree_command *c)
tree_statement(const tree_statement &)=delete
void set_breakpoint(const std::string &condition)
tree_statement & operator=(const tree_statement &)=delete
std::string bp_cond() const
tree_command * command(void)
virtual void visit_statement_list(tree_statement_list &)
virtual void visit_statement(tree_statement &)