evaluator Class Reference

#include <evaluator.hpp>

Inheritance diagram for evaluator:

Inheritance graph
[legend]
Collaboration diagram for evaluator:

Collaboration graph
[legend]
List of all members.

Static Public Member Functions

static void read_eval_loop ()
static void single_step (int *fr)

Static Protected Member Functions

static bool get_line (char *line)
static bool process_line ()
static void eval_message (TokenStream *st)
static bool get_oop (TokenStream *st, oop *addr)
static void print_mini_help ()
static void print_help ()
static void top_command (TokenStream *st)
static void show_command (TokenStream *st)
static void change_debug_flag (TokenStream *st, bool value)
static void print_status ()

Detailed Description

Definition at line 29 of file evaluator.hpp.


Member Function Documentation

void evaluator::change_debug_flag ( TokenStream st,
bool  value 
) [static, protected]

Definition at line 308 of file evaluator.cpp.

References TokenStream::advance(), debugFlags::boolAtPut(), TokenStream::current(), TokenStream::eos(), outputStream::print_cr(), and std.

Referenced by process_line().

Here is the call graph for this function:

void evaluator::eval_message ( TokenStream st  )  [static, protected]

Definition at line 251 of file evaluator.cpp.

References TokenStream::advance(), Delta::call(), Delta::call_generic(), outputStream::cr(), TokenStream::current(), TokenStream::eos(), get_oop(), TokenStream::is_binary(), TokenStream::is_keyword(), TokenStream::is_unary(), oopFactory::new_symbol(), nilObj, oopDesc::print(), oopDesc::print_value(), std, and validate_lookup().

Referenced by process_line().

Here is the call graph for this function:

bool evaluator::get_line ( char *  line  )  [static, protected]

Definition at line 86 of file evaluator.cpp.

Referenced by process_line().

bool evaluator::get_oop ( TokenStream st,
oop addr 
) [static, protected]

Definition at line 229 of file evaluator.cpp.

References TokenStream::advance(), TokenStream::current(), TokenStream::is_name(), TokenStream::is_object_search(), TokenStream::is_smi(), TokenStream::is_symbol(), TokenStream::is_table_entry(), outputStream::print_cr(), and std.

Referenced by eval_message(), and process_line().

Here is the call graph for this function:

void evaluator::print_help (  )  [static, protected]

Definition at line 437 of file evaluator.cpp.

References outputStream::cr(), outputStream::print_cr(), and std.

Referenced by process_line().

Here is the call graph for this function:

void evaluator::print_mini_help (  )  [static, protected]

Definition at line 415 of file evaluator.cpp.

References outputStream::print_cr(), and std.

Referenced by process_line().

Here is the call graph for this function:

void evaluator::print_status (  )  [static, protected]

Definition at line 431 of file evaluator.cpp.

References outputStream::print_cr(), Processes::process_iterate(), and std.

Referenced by process_line().

Here is the call graph for this function:

bool evaluator::process_line (  )  [static, protected]

Definition at line 349 of file evaluator.cpp.

References DeltaProcess::active(), TokenStream::advance(), change_debug_flag(), outputStream::cr(), TokenStream::eos(), eval_message(), eventLog, VMProcess::execute(), fatal, os::fatalExit(), get_line(), get_oop(), dispatchTable::intercept_for_next(), dispatchTable::intercept_for_return(), dispatchTable::intercept_for_step(), TokenStream::is_abort(), is_aborting, TokenStream::is_break(), TokenStream::is_cont(), TokenStream::is_end(), TokenStream::is_events(), TokenStream::is_genesis(), TokenStream::is_hat(), TokenStream::is_help(), TokenStream::is_minus(), TokenStream::is_next(), TokenStream::is_plus(), TokenStream::is_quit(), TokenStream::is_show(), TokenStream::is_stack(), TokenStream::is_status(), TokenStream::is_step(), TokenStream::is_top(), oopDesc::print(), EventLog::print(), outputStream::print_cr(), print_help(), print_mini_help(), print_status(), dispatchTable::reset(), saved_frame, show_command(), std, top_command(), and DeltaProcess::trace_stack().

Referenced by read_eval_loop().

Here is the call graph for this function:

void evaluator::read_eval_loop (  )  [static]

Definition at line 408 of file evaluator.cpp.

References outputStream::print(), process_line(), and std.

Referenced by single_step().

Here is the call graph for this function:

void evaluator::show_command ( TokenStream st  )  [static, protected]

Definition at line 325 of file evaluator.cpp.

References DeltaProcess::active(), TokenStream::advance(), TokenStream::eos(), TokenStream::is_smi(), outputStream::print_cr(), std, DeltaProcess::trace_top(), and smiOopDesc::value().

Referenced by process_line().

Here is the call graph for this function:

void evaluator::single_step ( int *  fr  )  [static]

Definition at line 64 of file evaluator.cpp.

References ErrorHandler::abort_current_process(), DeltaProcess::active(), assert, is_aborting, DeltaProcess::last_delta_vframe(), patch_last_delta_frame(), deltaVFrame::print_activation(), read_eval_loop(), restore_hp(), and saved_frame.

Referenced by single_step_handler().

Here is the call graph for this function:

void evaluator::top_command ( TokenStream st  )  [static, protected]

Definition at line 292 of file evaluator.cpp.

References DeltaProcess::active(), TokenStream::advance(), TokenStream::eos(), TokenStream::is_smi(), outputStream::print_cr(), std, DeltaProcess::trace_top(), and smiOopDesc::value().

Referenced by process_line().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Mon Oct 9 13:56:55 2006 for Strongtalk VM by  doxygen 1.4.7