summaryrefslogtreecommitdiff
path: root/src/evalcontext.h
blob: 3d7d222d68a5a4575097dcf7b0824f56837b9afb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef EVALCONTEXT_H_
#define EVALCONTEXT_H_

#include "context.h"

/*!
  This hold the evaluation context (the parameters actually sent
	when calling a module or function, including the children).
*/
class EvalContext : public Context
{
public:
	EvalContext(const Context *parent = NULL) : Context(parent) {}
	virtual ~EvalContext() {}

	std::vector<std::pair<std::string, Value> > eval_arguments;
	std::vector<class ModuleInstantiation *> children;

#ifdef DEBUG
	virtual void dump(const class AbstractModule *mod, const ModuleInstantiation *inst);
#endif
};

#endif
contact: Jan Huwald // Impressum