#include "pt-decl.h"
Public Member Functions | |
| tree_decl_command (const std::string &n, int l=-1, int c=-1) | |
| tree_decl_command (const std::string &n, tree_decl_init_list *t, int l=-1, int c=-1) | |
| ~tree_decl_command () | |
| void | accept (tree_walker &tw) |
| tree_decl_init_list * | initializer_list () |
| void | mark_global () |
| void | mark_persistent () |
| std::string | name () const |
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 () |
|
inline |
| tree_decl_command::tree_decl_command | ( | const std::string & | n, |
| tree_decl_init_list * | t, | ||
| int | l = -1, |
||
| int | c = -1 |
||
| ) |
Definition at line 71 of file pt-decl.cc.
References error(), mark_global(), and mark_persistent().
| tree_decl_command::~tree_decl_command | ( | ) |
Definition at line 87 of file pt-decl.cc.
|
inlinevirtual |
Implements tree.
Definition at line 193 of file pt-decl.h.
References tree_walker::visit_decl_command().
|
inline |
Definition at line 189 of file pt-decl.h.
Referenced by tree_evaluator::visit_decl_command(), tree_print_code::visit_decl_command(), and tree_walker::visit_decl_command().
|
inline |
Definition at line 177 of file pt-decl.h.
References tree_decl_init_list::mark_global().
Referenced by tree_decl_command(), and base_parser::make_decl_command().
|
inline |
Definition at line 183 of file pt-decl.h.
References tree_decl_init_list::mark_persistent().
Referenced by tree_decl_command(), and base_parser::make_decl_command().
|
inline |
Definition at line 191 of file pt-decl.h.
Referenced by tree_print_code::visit_decl_command().