#include "pt-cmd.h"
Public Member Functions | |
tree_no_op_command (const std::string &cmd, bool eof, const token &tok) | |
~tree_no_op_command ()=default | |
void | accept (tree_walker &tw) |
void | attach_trailing_comments (const comment_list &lst) |
filepos | beg_pos () const |
filepos | end_pos () const |
bool | is_end_of_fcn_or_script () const |
bool | is_end_of_file () const |
comment_list | leading_comments () const |
std::string | original_command () |
comment_list | trailing_comments () const |
void | update_end_pos (const filepos &pos) |
![]() | |
tree_command ()=default | |
virtual | ~tree_command ()=default |
![]() | |
tree () | |
virtual | ~tree ()=default |
const std::string | bp_cond () const |
virtual int | column () const |
virtual void | delete_breakpoint () |
bool | is_active_breakpoint (tree_evaluator &tw) const |
bool | is_breakpoint () const |
virtual int | line () const |
bool | meets_bp_condition (tree_evaluator &tw) const |
virtual void | set_breakpoint (const std::string &condition) |
std::string | str_print_code () |
|
default |
|
inlinevirtual |
Implements tree.
Definition at line 98 of file pt-cmd.h.
References tree_walker::visit_no_op_command().
|
inline |
Definition at line 88 of file pt-cmd.h.
References token::trailing_comments().
|
inlinevirtual |
|
inlinevirtual |
|
inline |
Definition at line 103 of file pt-cmd.h.
Referenced by tree_statement::is_end_of_fcn_or_script(), update_end_pos(), tree_breakpoint::visit_no_op_command(), tree_evaluator::visit_no_op_command(), and tree_print_code::visit_no_op_command().
|
inline |
Definition at line 108 of file pt-cmd.h.
Referenced by tree_statement::is_end_of_file(), and update_end_pos().
|
inlinevirtual |
Reimplemented from tree.
Definition at line 86 of file pt-cmd.h.
References token::leading_comments().
|
inline |
Definition at line 110 of file pt-cmd.h.
Referenced by tree_print_code::visit_no_op_command().
|
inline |
Definition at line 93 of file pt-cmd.h.
References token::trailing_comments().
|
inlinevirtual |
Reimplemented from tree_command.
Definition at line 78 of file pt-cmd.h.
References token::end_pos(), error(), is_end_of_fcn_or_script(), and is_end_of_file().