
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 |
| 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().


| 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().


| 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().


| 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().


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().
1.5.4