VmRunner Class Reference

#include <vm.h>

Inheritance diagram for VmRunner:

Inheritance graph
[legend]
Collaboration diagram for VmRunner:

Collaboration graph
[legend]

List of all members.


Detailed Description

virtual machine runner It checks for all pre-runtime errors/warnings during initialization

Definition at line 367 of file vm.h.


Public Member Functions

 VmRunner (Vm *vm)
 virtual machine to run
virtual ~VmRunner ()
virtual bool hasError () const
 true if any error detected
bool run ()
 run! machine, return true on success

Private Attributes

Privated

Classes

struct  Private

Constructor & Destructor Documentation

VmRunner ( Vm vm  ) 

virtual machine to run

Definition at line 610 of file vm.cc.

References VmRunner::Private::chkFncRefs(), VmRunner::Private::chkUnusedFncs(), VmRunner::Private::chkUnusedGlVars(), and d.

Here is the call graph for this function:

~VmRunner (  )  [virtual]

Definition at line 617 of file vm.cc.

References d.


Member Function Documentation

bool hasError (  )  const [virtual]

true if any error detected

Implements IErrorSensitive.

Definition at line 620 of file vm.cc.

References d, and VmRunner::Private::hasError.

bool run (  ) 

run! machine, return true on success

Definition at line 623 of file vm.cc.

References d, VmRunner::Private::hasError, and VmRunner::Private::run().

Here is the call graph for this function:


Member Data Documentation

Private* d [private]

Definition at line 374 of file vm.h.

Referenced by hasError(), run(), VmRunner(), and ~VmRunner().


The documentation for this class was generated from the following files:
Generated on Sat Jul 4 18:33:20 2009 for vyp08 (compiler and interpreter of VYP08 language) by  doxygen 1.5.4