Public Types | Public Member Functions | Private Member Functions | Private Attributes

tree_statement_list Class Reference

#include "pt-stmt.h"

Inheritance diagram for tree_statement_list:
Inheritance graph
[legend]
Collaboration diagram for tree_statement_list:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::list
< tree_statement * >
::const_iterator 
const_iterator
typedef std::list
< tree_statement * >::iterator 
iterator

Public Member Functions

 tree_statement_list (void)
 tree_statement_list (tree_statement *s)
 ~tree_statement_list (void)
void accept (tree_walker &tw)
void append (const tree_statement *&s)
tree_statement *& back (void)
const tree_statement *& back (void) const
iterator begin (void)
const_iterator begin (void) const
void clear (void)
void delete_breakpoint (int line)
tree_statement_listdup (symbol_table::scope_id scope, symbol_table::context_id context) const
bool empty (void) const
iterator end (void)
const_iterator end (void) const
iterator erase (iterator pos)
tree_statement *& front (void)
const tree_statement *& front (void) const
bool is_anon_function_body (void) const
bool is_function_body (void) const
bool is_script_body (void) const
size_t length (void) const
octave_value_list list_breakpoints (void)
void mark_as_anon_function_body (void)
void mark_as_function_body (void)
void mark_as_script_body (void)
void pop_back (void)
void pop_front (void)
void push_back (const tree_statement *&s)
void push_front (const tree_statement *&s)
void remove_if (P pred)
int set_breakpoint (int line)
size_t size (void) const

Private Member Functions

 tree_statement_list (const tree_statement_list &)
tree_statement_listoperator= (const tree_statement_list &)

Private Attributes

bool anon_function_body
bool function_body
bool script_body

Detailed Description

Definition at line 121 of file pt-stmt.h.


Member Typedef Documentation

Definition at line 35 of file base-list.h.

typedef std::list<tree_statement * >::iterator octave_base_list< tree_statement * >::iterator [inherited]

Definition at line 34 of file base-list.h.


Constructor & Destructor Documentation

tree_statement_list::tree_statement_list ( void   )  [inline]

Definition at line 126 of file pt-stmt.h.

Referenced by dup().

tree_statement_list::tree_statement_list ( tree_statement s  )  [inline]

Definition at line 130 of file pt-stmt.h.

tree_statement_list::~tree_statement_list ( void   )  [inline]

Definition at line 134 of file pt-stmt.h.

tree_statement_list::tree_statement_list ( const tree_statement_list  )  [private]

Member Function Documentation

void tree_statement_list::accept ( tree_walker tw  ) 

Definition at line 213 of file pt-stmt.cc.

References tree_walker::visit_statement_list().

Referenced by delete_breakpoint(), octave_user_function::do_multi_index_op(), octave_user_script::do_multi_index_op(), tree_evaluator::do_unwind_protect_cleanup_code(), get_debug_input(), list_breakpoints(), main_loop(), set_breakpoint(), tree_print_code::visit_complex_for_command(), tree_evaluator::visit_complex_for_command(), tree_checker::visit_complex_for_command(), tree_breakpoint::visit_complex_for_command(), tree_print_code::visit_do_until_command(), tree_evaluator::visit_do_until_command(), tree_checker::visit_do_until_command(), tree_breakpoint::visit_do_until_command(), tree_print_code::visit_if_clause(), tree_checker::visit_if_clause(), tree_evaluator::visit_if_command_list(), tree_breakpoint::visit_if_command_list(), tree_print_code::visit_octave_user_function(), tree_checker::visit_octave_user_function(), tree_breakpoint::visit_octave_user_function(), tree_print_code::visit_octave_user_script(), tree_checker::visit_octave_user_script(), tree_breakpoint::visit_octave_user_script(), tree_print_code::visit_simple_for_command(), tree_evaluator::visit_simple_for_command(), tree_checker::visit_simple_for_command(), tree_breakpoint::visit_simple_for_command(), tree_print_code::visit_switch_case(), tree_checker::visit_switch_case(), tree_breakpoint::visit_switch_case_list(), tree_evaluator::visit_switch_command(), tree_print_code::visit_try_catch_command(), tree_evaluator::visit_try_catch_command(), tree_checker::visit_try_catch_command(), tree_breakpoint::visit_try_catch_command(), tree_print_code::visit_unwind_protect_command(), tree_evaluator::visit_unwind_protect_command(), tree_checker::visit_unwind_protect_command(), tree_breakpoint::visit_unwind_protect_command(), tree_print_code::visit_while_command(), tree_evaluator::visit_while_command(), tree_checker::visit_while_command(), and tree_breakpoint::visit_while_command().

void octave_base_list< tree_statement * >::append ( const tree_statement * &  s  )  [inline, inherited]

Definition at line 88 of file base-list.h.

const tree_statement * & octave_base_list< tree_statement * >::back ( void   )  const [inline, inherited]

Definition at line 79 of file base-list.h.

tree_statement * & octave_base_list< tree_statement * >::back ( void   )  [inline, inherited]

Definition at line 76 of file base-list.h.

iterator octave_base_list< tree_statement * >::begin ( void   )  [inline, inherited]

Definition at line 69 of file base-list.h.

Referenced by dup().

const_iterator octave_base_list< tree_statement * >::begin ( void   )  const [inline, inherited]

Definition at line 70 of file base-list.h.

void octave_base_list< tree_statement * >::clear ( void   )  [inline, inherited]

Definition at line 67 of file base-list.h.

void tree_statement_list::delete_breakpoint ( int  line  ) 
tree_statement_list * tree_statement_list::dup ( symbol_table::scope_id  scope,
symbol_table::context_id  context 
) const
bool octave_base_list< tree_statement * >::empty ( void   )  const [inline, inherited]

Definition at line 37 of file base-list.h.

iterator octave_base_list< tree_statement * >::end ( void   )  [inline, inherited]

Definition at line 72 of file base-list.h.

Referenced by dup().

const_iterator octave_base_list< tree_statement * >::end ( void   )  const [inline, inherited]

Definition at line 73 of file base-list.h.

iterator octave_base_list< tree_statement * >::erase ( iterator  pos  )  [inline, inherited]

Definition at line 42 of file base-list.h.

tree_statement * & octave_base_list< tree_statement * >::front ( void   )  [inline, inherited]

Definition at line 75 of file base-list.h.

const tree_statement * & octave_base_list< tree_statement * >::front ( void   )  const [inline, inherited]

Definition at line 78 of file base-list.h.

bool tree_statement_list::is_anon_function_body ( void   )  const [inline]

Definition at line 152 of file pt-stmt.h.

bool tree_statement_list::is_function_body ( void   )  const [inline]

Definition at line 150 of file pt-stmt.h.

bool tree_statement_list::is_script_body ( void   )  const [inline]

Definition at line 154 of file pt-stmt.h.

size_t octave_base_list< tree_statement * >::length ( void   )  const [inline, inherited]

Definition at line 40 of file base-list.h.

octave_value_list tree_statement_list::list_breakpoints ( void   ) 
void tree_statement_list::mark_as_anon_function_body ( void   )  [inline]

Definition at line 146 of file pt-stmt.h.

void tree_statement_list::mark_as_function_body ( void   )  [inline]

Definition at line 144 of file pt-stmt.h.

void tree_statement_list::mark_as_script_body ( void   )  [inline]

Definition at line 148 of file pt-stmt.h.

Referenced by octave_user_script::octave_user_script().

tree_statement_list& tree_statement_list::operator= ( const tree_statement_list  )  [private]
void octave_base_list< tree_statement * >::pop_back ( void   )  [inline, inherited]

Definition at line 85 of file base-list.h.

void octave_base_list< tree_statement * >::pop_front ( void   )  [inline, inherited]

Definition at line 84 of file base-list.h.

void octave_base_list< tree_statement * >::push_back ( const tree_statement * &  s  )  [inline, inherited]

Definition at line 82 of file base-list.h.

void octave_base_list< tree_statement * >::push_front ( const tree_statement * &  s  )  [inline, inherited]

Definition at line 81 of file base-list.h.

void octave_base_list< tree_statement * >::remove_if ( pred  )  [inline, inherited]

Definition at line 45 of file base-list.h.

int tree_statement_list::set_breakpoint ( int  line  ) 

Definition at line 155 of file pt-stmt.cc.

References accept(), tree_breakpoint::get_line(), and tree_breakpoint::set.

Referenced by bp_table::do_add_breakpoint().

size_t octave_base_list< tree_statement * >::size ( void   )  const [inline, inherited]

Definition at line 39 of file base-list.h.


Member Data Documentation

Definition at line 173 of file pt-stmt.h.

Definition at line 170 of file pt-stmt.h.

Referenced by dup().

Definition at line 176 of file pt-stmt.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines