

Definition at line 45 of file cmd.cc.
Public Member Functions | |
| ReturnCmd (const Token &t, bool push) | |
| virtual void | toStream (std::ostream &str) const |
| dump command to stream in human-readable format | |
| virtual bool | exec (FncDefinition *fnc) |
| execute command in the context of calling function | |
Private Attributes | |
| Token | t_ |
| bool | push_ |
| virtual void toStream | ( | std::ostream & | ) | const [inline, virtual] |
dump command to stream in human-readable format
Implements ICmd.
Definition at line 48 of file cmd.cc.
References StreamDecorator::C_LIGHT_CYAN, StreamDecorator::C_NO_COLOR, push_, and t_.
| virtual bool exec | ( | FncDefinition * | ) | [inline, virtual] |
execute command in the context of calling function
Implements ICmd.
Definition at line 54 of file cmd.cc.
References ValueStack::popToVar(), push_, ValueStack::pushFromVar(), FncDeclaration::self, t_, FncDefinition::vm, and Vm::vmStack.

bool push_ [private] |
1.5.4