contextrule.h
No OneTemporary

File Metadata

Created
Mon, Dec 15, 6:08 AM

contextrule.h

/*
* contextrule.h
*
* Created on: Jan 2, 2016
* Author: pgess
*/
#ifndef SRC_CONTEXTRULE_H_
#define SRC_CONTEXTRULE_H_
#include "ast.h"
#include <string>
namespace xreate {
typedef unsigned int ScopePacked;
class ContextRule {
public:
ContextRule(const Expression& rule);
std::string compile(const ScopePacked& scopeId) const;
private:
Expression head;
Expression guards;
Expression body;
};
}
#endif /* SRC_CONTEXTRULE_H_ */

Event Timeline