2014-04-28 21:09:25 +04:00
|
|
|
#pragma once
|
2013-04-19 02:34:14 +04:00
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
2014-08-15 01:16:24 +04:00
|
|
|
#include <utility>
|
2014-03-23 22:38:28 +04:00
|
|
|
#include <boost/shared_ptr.hpp>
|
|
|
|
|
|
|
|
class Assignment : public std::pair<std::string, boost::shared_ptr<class Expression> >
|
|
|
|
{
|
|
|
|
public:
|
2014-08-15 01:16:24 +04:00
|
|
|
Assignment(std::string name) { first = name; second = boost::shared_ptr<class Expression>(); }
|
|
|
|
Assignment(std::string name, boost::shared_ptr<class Expression> expr) { first = name; second = expr; }
|
2014-03-23 22:38:28 +04:00
|
|
|
};
|
2013-04-19 02:34:14 +04:00
|
|
|
|
|
|
|
typedef std::vector<Assignment> AssignmentList;
|
2013-04-20 01:52:01 +04:00
|
|
|
typedef std::vector<class ModuleInstantiation*> ModuleInstantiationList;
|