#include <pt.h>
Inherited by tree_command, tree_expression, tree_if_clause, and tree_switch_case.
Public Member Functions | |
tree (int l=-1, int c=-1) | |
virtual | ~tree (void) |
virtual int | line (void) const |
virtual int | column (void) const |
void | line (int l) |
void | column (int c) |
virtual void | set_breakpoint (void) |
virtual void | delete_breakpoint (void) |
bool | is_breakpoint (void) const |
std::string | str_print_code (void) |
virtual void | accept (tree_walker &tw)=0 |
virtual tree::~tree | ( | void | ) | [inline, virtual] |
virtual void tree::accept | ( | tree_walker & | tw | ) | [pure virtual] |
Implemented in tree_simple_assignment, tree_multi_assignment, tree_binary_expression, tree_cell, tree_no_op_command, tree_function_def, tree_colon_expression, tree_constant, tree_global_command, tree_static_command, tree_try_catch_command, tree_unwind_protect_command, tree_fcn_handle, tree_anon_fcn_handle, tree_identifier, tree_index_expression, tree_break_command, tree_continue_command, tree_return_command, tree_while_command, tree_do_until_command, tree_simple_for_command, tree_complex_for_command, tree_matrix, tree_if_clause, tree_if_command, tree_switch_case, tree_switch_command, tree_prefix_expression, and tree_postfix_expression.
void tree::column | ( | int | c | ) | [inline] |
virtual int tree::column | ( | void | ) | const [inline, virtual] |
Reimplemented in tree_colon_expression.
virtual void tree::delete_breakpoint | ( | void | ) | [inline, virtual] |
Reimplemented in tree_if_command, and tree_switch_command.
bool tree::is_breakpoint | ( | void | ) | const [inline] |
void tree::line | ( | int | l | ) | [inline] |
virtual int tree::line | ( | void | ) | const [inline, virtual] |
Reimplemented in tree_colon_expression.
virtual void tree::set_breakpoint | ( | void | ) | [inline, virtual] |
Reimplemented in tree_if_command, and tree_switch_command.
std::string tree::str_print_code | ( | void | ) |