2012-12-30 13:59:30 +00:00
|
|
|
/*
|
|
|
|
* SenchaFunction.cpp
|
|
|
|
*
|
|
|
|
* Created on: Dec 30, 2012
|
|
|
|
* Author: att
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "SenchaFunction.h"
|
|
|
|
|
2012-12-30 15:38:18 +00:00
|
|
|
SenchaFunction::SenchaFunction(std::string name, std::vector<std::string> names_of_arguments, ASTNode * body, ContextManager * context)
|
2012-12-30 13:59:30 +00:00
|
|
|
: name(name), names_of_arguments(names_of_arguments), body(body), context(context)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
SenchaFunction::~SenchaFunction() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|