#include "config.h"
#include "scanner.h"


Go to the source code of this file.
Classes | |
| struct | Value |
| class | ValueFactory |
| struct | Var |
| class | VarSet |
| struct | FncDeclaration |
| struct | FncDefinition |
| class | FncSet |
| class | ICmd |
| class | CmdList |
| class | ValueStack |
| class | CalleeSet |
| struct | Vm |
| class | VmRunner |
Typedefs | |
| typedef Value * | PValue |
| typedef const Value * | PConstValue |
| typedef Var * | PVar |
| typedef CmdList * | PCmdList |
| typedef ICmd * | PCmd |
Functions | |
| std::ostream & | operator<< (std::ostream &, const Value::VType &) |
| std::ostream & | operator<< (std::ostream &, const Value &) |
| bool | operator== (const FncDeclaration &, const FncDeclaration &) |
| compare only declaration (!!) | |
| bool | operator!= (const FncDeclaration &, const FncDeclaration &) |
| compare only declaration (!!) | |
| bool | chkUnused (FncDefinition *) |
| check if all arguments and local variables are used | |
| typedef const Value* PConstValue |
| bool chkUnused | ( | FncDefinition * | ) |
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 & | , | |
| const FncDeclaration & | ||||
| ) |
compare only declaration (!!)
Definition at line 320 of file vm.cc.
References operator==().

| std::ostream& operator<< | ( | std::ostream & | , | |
| const Value & | ||||
| ) |
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 & | , | |
| const Value::VType & | ||||
| ) |
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 & | , | |
| const FncDeclaration & | ||||
| ) |
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