#include <vm.h>

Definition at line 77 of file vm.h.
Public Member Functions | |
| Var () | |
Public Attributes | |
| std::string | name |
| variable (or arg (or fnc)) name | |
| Value | value |
| variable (or arg (or fnc)) value | |
| Token | defined |
| Token which defines this variable. | |
| bool | used |
| true if anybody reads value of the variable (make sense in static context) | |
| bool | initialized |
| true if the value has been already initialized (make sense in run-time) | |
| std::string name |
variable (or arg (or fnc)) name
Definition at line 78 of file vm.h.
Referenced by VarSet::add(), FncSet::addDeclaration(), FncSet::addDefinition(), FncFactory::Private::addDefinition(), VmRunner::Private::chkUnusedFncs(), CmdFactory::createAssign(), CmdFactory::createPush(), Builder::fncDefArg(), Builder::fncDefVar(), and operator==().
variable (or arg (or fnc)) value
Definition at line 79 of file vm.h.
Referenced by CmdFactory::createAssign(), CmdFactory::createPush(), PrintCmd::exec(), Builder::fncCall(), operator==(), ValueStack::popToVar(), PrintCmd::PrintCmd(), ValueStack::pushFromVar(), and PrintCmd::toStream().
Token which defines this variable.
Definition at line 80 of file vm.h.
Referenced by Builder::chkBlockStack(), VmRunner::Private::chkFncRefs(), chkUnused(), VmRunner::Private::chkUnusedFncs(), VmRunner::Private::chkUnusedGlVars(), Builder::fncCall(), Builder::fncDecl(), Builder::fncDef(), Builder::fncDefArg(), Builder::fncDefBody(), Builder::fncDefVar(), Builder::glVar(), and ValueStack::pushFromVar().
| bool used |
true if anybody reads value of the variable (make sense in static context)
Definition at line 83 of file vm.h.
Referenced by chkUnused(), VmRunner::Private::chkUnusedGlVars(), and CmdFactory::createPush().
| bool initialized |
true if the value has been already initialized (make sense in run-time)
Definition at line 86 of file vm.h.
Referenced by ValueStack::popToVar(), and ValueStack::pushFromVar().
1.5.4