#include "config.h"
#include "vm.h"
#include "cmd.h"
#include "vypIO.h"

Go to the source code of this file.
Classes | |
| struct | ValueStack::Private |
| struct | VarSet::Private |
| struct | FncSet::Private |
| struct | CmdList::Private |
| struct | CalleeSet::Private |
| struct | CalleeSet::Private::SortableToken |
| struct | VmRunner::Private |
Functions | |
| std::ostream & | operator<< (std::ostream &str, const Value::VType &type) |
| std::ostream & | operator<< (std::ostream &str, const Value &val) |
| bool | operator== (const FncDeclaration &a, const FncDeclaration &b) |
| compare only declaration (!!) | |
| bool | operator!= (const FncDeclaration &a, const FncDeclaration &b) |
| compare only declaration (!!) | |
| bool | chkUnused (FncDefinition *fnc) |
| check if all arguments and local variables are used | |
| bool chkUnused | ( | FncDefinition * | fnc | ) |
check if all arguments and local variables are used
Definition at line 343 of file vm.cc.
References FncDeclaration::args, Var::defined, StreamDecorator::E_NOTE, StreamDecorator::E_WARNING, Vm::fileName, FncDeclaration::self, VarSet::size(), Var::used, FncDefinition::vars, and FncDefinition::vm.
Referenced by FncSet::addDefinition().


| bool operator!= | ( | const FncDeclaration & | a, | |
| const FncDeclaration & | b | |||
| ) |
compare only declaration (!!)
Definition at line 320 of file vm.cc.
References operator==().

| std::ostream& operator<< | ( | std::ostream & | str, | |
| const Value & | val | |||
| ) |
Definition at line 58 of file vm.cc.
References Value::boolVal, StreamDecorator::C_NO_COLOR, StreamDecorator::C_YELLOW, Value::doubleVal, Value::intVal, Value::stringVal, Value::type, Value::V_BOOL, Value::V_DOUBLE, Value::V_INT, Value::V_NULL, and Value::V_STRING.
| std::ostream& operator<< | ( | std::ostream & | str, | |
| const Value::VType & | type | |||
| ) |
Definition at line 46 of file vm.cc.
References StreamDecorator::C_LIGHT_BLUE, StreamDecorator::C_NO_COLOR, Value::V_BOOL, Value::V_DOUBLE, Value::V_INT, Value::V_NULL, and Value::V_STRING.
| bool operator== | ( | const FncDeclaration & | a, | |
| const FncDeclaration & | b | |||
| ) |
compare only declaration (!!)
Definition at line 304 of file vm.cc.
References FncDeclaration::args, Var::name, FncDeclaration::self, VarSet::size(), Value::type, and Var::value.

1.5.4