#include "pt-loop.h"
Public Member Functions | |
tree_while_command (int l=-1, int c=-1) | |
tree_while_command (tree_expression *e, comment_list *lc=nullptr, comment_list *tc=nullptr, int l=-1, int c=-1) | |
tree_while_command (tree_expression *e, tree_statement_list *lst, comment_list *lc=nullptr, comment_list *tc=nullptr, int l=-1, int c=-1) | |
~tree_while_command () | |
void | accept (tree_walker &tw) |
tree_statement_list * | body () |
tree_expression * | condition () |
comment_list * | leading_comment () |
comment_list * | trailing_comment () |
Public Member Functions inherited from tree_command | |
tree_command (int l=-1, int c=-1) | |
virtual | ~tree_command ()=default |
Public Member Functions inherited from tree | |
tree (int l=-1, int c=-1) | |
virtual | ~tree ()=default |
const std::string | bp_cond () const |
virtual int | column () const |
void | column (int c) |
virtual void | delete_breakpoint () |
bool | is_active_breakpoint (tree_evaluator &tw) const |
bool | is_breakpoint () const |
virtual int | line () const |
void | line (int l) |
bool | meets_bp_condition (tree_evaluator &tw) const |
virtual void | set_breakpoint (const std::string &condition) |
void | set_location (int l, int c) |
std::string | str_print_code () |
Protected Attributes | |
tree_expression * | m_expr |
comment_list * | m_lead_comm |
tree_statement_list * | m_list |
comment_list * | m_trail_comm |
|
inline |
|
inline |
|
inline |
tree_while_command::~tree_while_command | ( | ) |
Definition at line 39 of file pt-loop.cc.
|
inlinevirtual |
Implements tree.
Reimplemented in tree_do_until_command.
Definition at line 81 of file pt-loop.h.
References tree_walker::visit_while_command().
|
inline |
Definition at line 75 of file pt-loop.h.
References m_list.
Referenced by tree_breakpoint::visit_do_until_command(), tree_evaluator::visit_do_until_command(), tree_print_code::visit_do_until_command(), tree_walker::visit_do_until_command(), tree_breakpoint::visit_while_command(), tree_evaluator::visit_while_command(), tree_print_code::visit_while_command(), and tree_walker::visit_while_command().
|
inline |
Definition at line 73 of file pt-loop.h.
References m_expr.
Referenced by tree_evaluator::visit_do_until_command(), tree_print_code::visit_do_until_command(), tree_walker::visit_do_until_command(), tree_evaluator::visit_while_command(), tree_print_code::visit_while_command(), and tree_walker::visit_while_command().
|
inline |
Definition at line 77 of file pt-loop.h.
References m_lead_comm.
Referenced by tree_print_code::visit_do_until_command(), and tree_print_code::visit_while_command().
|
inline |
Definition at line 79 of file pt-loop.h.
References m_trail_comm.
Referenced by tree_print_code::visit_do_until_command(), and tree_print_code::visit_while_command().
|
protected |
Definition at line 89 of file pt-loop.h.
Referenced by condition().
|
protected |
Definition at line 95 of file pt-loop.h.
Referenced by leading_comment().
|
protected |
|
protected |
Definition at line 98 of file pt-loop.h.
Referenced by trailing_comment().