VmRunner::Private Struct Reference

Collaboration diagram for VmRunner::Private:

Collaboration graph
[legend]

List of all members.


Detailed Description

Definition at line 596 of file vm.cc.


Public Member Functions

 Private (Vm *vm_)
void chkUnusedGlVars ()
void chkUnusedFncs ()
void chkFncRefs ()
bool run ()

Public Attributes

Vm *const vm
bool hasError

Constructor & Destructor Documentation

Private ( Vm vm_  )  [inline]

Definition at line 600 of file vm.cc.


Member Function Documentation

void chkUnusedGlVars (  ) 

Definition at line 628 of file vm.cc.

References Var::defined, StreamDecorator::E_WARNING, Vm::fileName, VarSet::size(), Var::used, and vm.

Referenced by VmRunner::VmRunner().

Here is the call graph for this function:

Here is the caller graph for this function:

void chkUnusedFncs (  ) 

Definition at line 638 of file vm.cc.

References CalleeSet::add(), Vm::calleeSet, Var::defined, StreamDecorator::E_WARNING, Vm::fileName, CalleeSet::getCalls(), CalleeSet::isCalled(), Var::name, FncDeclaration::self, and vm.

Referenced by VmRunner::VmRunner().

Here is the call graph for this function:

Here is the caller graph for this function:

void chkFncRefs (  ) 

Definition at line 653 of file vm.cc.

References Var::defined, StreamDecorator::E_ERROR, StreamDecorator::E_NOTE, Vm::fileName, CalleeSet::getCalls(), FncSet::getDeclaration(), FncSet::getDefinition(), CalleeSet::getNames(), hasError, Token::lineno, FncDeclaration::self, and vm.

Referenced by VmRunner::VmRunner().

Here is the call graph for this function:

Here is the caller graph for this function:

bool run (  ) 

Definition at line 676 of file vm.cc.

References CmdFactory::createCall(), StreamDecorator::E_ERROR, ETOKEN_ID, ICmd::exec(), Vm::fileName, ValueStack::isEmpty(), vm, and Vm::vmStack.

Referenced by VmRunner::run().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Vm* const vm

Definition at line 597 of file vm.cc.

Referenced by chkFncRefs(), chkUnusedFncs(), chkUnusedGlVars(), and run().

bool hasError

Definition at line 598 of file vm.cc.

Referenced by chkFncRefs(), VmRunner::hasError(), and VmRunner::run().


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