26 #if ! defined (octave_pt_h)
29 #include "octave-config.h"
48 tree (
int l = -1,
int c = -1)
49 : m_line_num (l), m_column_num (c), m_bp_cond (nullptr)
52 OCTAVE_DISABLE_COPY_MOVE (
tree)
54 virtual ~
tree () = default;
56 virtual
int line ()
const {
return m_line_num; }
58 virtual int column ()
const {
return m_column_num; }
60 void line (
int l) { m_line_num = l; }
62 void column (
int c) { m_column_num = c; }
73 *m_bp_cond = condition;
75 m_bp_cond =
new std::string (condition);
101 return m_bp_cond ? *m_bp_cond :
"0";
116 std::string *m_bp_cond;
119 OCTAVE_END_NAMESPACE(
octave)
bool is_breakpoint() const
bool meets_bp_condition(tree_evaluator &tw) const
virtual void delete_breakpoint()
std::string str_print_code()
const std::string bp_cond() const
bool is_active_breakpoint(tree_evaluator &tw) const
virtual void accept(tree_walker &tw)=0
virtual int column() const
void set_location(int l, int c)
virtual void set_breakpoint(const std::string &condition)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn