Navigation

Operators and Keywords

Function List:

C++ API

tree_evaluator Class Reference

#include <pt-eval.h>

Inherits tree_walker.

Collaboration diagram for tree_evaluator:

List of all members.


Public Types

typedef void(* decl_elt_init_fcn )(tree_decl_elt &)

Public Member Functions

 tree_evaluator (void)
 ~tree_evaluator (void)
void visit_anon_fcn_handle (tree_anon_fcn_handle &)
void visit_argument_list (tree_argument_list &)
void visit_binary_expression (tree_binary_expression &)
void visit_break_command (tree_break_command &)
void visit_colon_expression (tree_colon_expression &)
void visit_continue_command (tree_continue_command &)
void visit_global_command (tree_global_command &)
void visit_static_command (tree_static_command &)
void visit_decl_elt (tree_decl_elt &)
void visit_decl_init_list (tree_decl_init_list &)
void visit_simple_for_command (tree_simple_for_command &)
void visit_complex_for_command (tree_complex_for_command &)
void visit_octave_user_script (octave_user_script &)
void visit_octave_user_function (octave_user_function &)
void visit_octave_user_function_header (octave_user_function &)
void visit_octave_user_function_trailer (octave_user_function &)
void visit_function_def (tree_function_def &)
void visit_identifier (tree_identifier &)
void visit_if_clause (tree_if_clause &)
void visit_if_command (tree_if_command &)
void visit_if_command_list (tree_if_command_list &)
void visit_index_expression (tree_index_expression &)
void visit_matrix (tree_matrix &)
void visit_cell (tree_cell &)
void visit_multi_assignment (tree_multi_assignment &)
void visit_no_op_command (tree_no_op_command &)
void visit_constant (tree_constant &)
void visit_fcn_handle (tree_fcn_handle &)
void visit_parameter_list (tree_parameter_list &)
void visit_postfix_expression (tree_postfix_expression &)
void visit_prefix_expression (tree_prefix_expression &)
void visit_return_command (tree_return_command &)
void visit_return_list (tree_return_list &)
void visit_simple_assignment (tree_simple_assignment &)
void visit_statement (tree_statement &)
void visit_statement_list (tree_statement_list &)
void visit_switch_case (tree_switch_case &)
void visit_switch_case_list (tree_switch_case_list &)
void visit_switch_command (tree_switch_command &)
void visit_try_catch_command (tree_try_catch_command &)
void visit_unwind_protect_command (tree_unwind_protect_command &)
void visit_while_command (tree_while_command &)
void visit_do_until_command (tree_do_until_command &)

Static Public Attributes

static int dbstep_flag = 0
static size_t current_frame = 0
static bool debug_mode = false
static bool in_fcn_or_script_body = false
static bool in_loop_command = false

Member Typedef Documentation


Constructor & Destructor Documentation

tree_evaluator::tree_evaluator ( void   )  [inline]

tree_evaluator::~tree_evaluator ( void   )  [inline]


Member Function Documentation

void tree_evaluator::visit_anon_fcn_handle ( tree_anon_fcn_handle  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_argument_list ( tree_argument_list  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_binary_expression ( tree_binary_expression  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_break_command ( tree_break_command cmd  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_cell ( tree_cell  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_colon_expression ( tree_colon_expression  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_complex_for_command ( tree_complex_for_command cmd  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_constant ( tree_constant  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_continue_command ( tree_continue_command  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_decl_elt ( tree_decl_elt  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_decl_init_list ( tree_decl_init_list  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_do_until_command ( tree_do_until_command cmd  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_fcn_handle ( tree_fcn_handle  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_function_def ( tree_function_def cmd  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_global_command ( tree_global_command cmd  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_identifier ( tree_identifier  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_if_clause ( tree_if_clause  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_if_command ( tree_if_command cmd  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_if_command_list ( tree_if_command_list lst  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_index_expression ( tree_index_expression  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_matrix ( tree_matrix  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_multi_assignment ( tree_multi_assignment  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_no_op_command ( tree_no_op_command cmd  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_octave_user_function ( octave_user_function  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_octave_user_function_header ( octave_user_function  ) 

void tree_evaluator::visit_octave_user_function_trailer ( octave_user_function  ) 

void tree_evaluator::visit_octave_user_script ( octave_user_script  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_parameter_list ( tree_parameter_list  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_postfix_expression ( tree_postfix_expression  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_prefix_expression ( tree_prefix_expression  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_return_command ( tree_return_command cmd  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_return_list ( tree_return_list  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_simple_assignment ( tree_simple_assignment  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_simple_for_command ( tree_simple_for_command cmd  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_statement ( tree_statement stmt  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_statement_list ( tree_statement_list lst  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_static_command ( tree_static_command cmd  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_switch_case ( tree_switch_case  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_switch_case_list ( tree_switch_case_list  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_switch_command ( tree_switch_command cmd  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_try_catch_command ( tree_try_catch_command cmd  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_unwind_protect_command ( tree_unwind_protect_command cmd  )  [virtual]

Implements tree_walker.

void tree_evaluator::visit_while_command ( tree_while_command cmd  )  [virtual]

Implements tree_walker.


Member Data Documentation

size_t tree_evaluator::current_frame = 0 [static]

bool tree_evaluator::debug_mode = false [static]


The documentation for this class was generated from the following files: