summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/Elements/SenchaFunction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Sencha-lang/Elements/SenchaFunction.cpp')
-rw-r--r--Sencha-lang/Elements/SenchaFunction.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/Sencha-lang/Elements/SenchaFunction.cpp b/Sencha-lang/Elements/SenchaFunction.cpp
new file mode 100644
index 0000000..dfbf428
--- /dev/null
+++ b/Sencha-lang/Elements/SenchaFunction.cpp
@@ -0,0 +1,19 @@
+/*
+ * SenchaFunction.cpp
+ *
+ * Created on: Dec 30, 2012
+ * Author: att
+ */
+
+#include "SenchaFunction.h"
+
+SenchaFunction::SenchaFunction(std::string name, std::vector<std::string> names_of_arguments, ASTNode * body, Context * context)
+ : name(name), names_of_arguments(names_of_arguments), body(body), context(context)
+{
+
+}
+
+SenchaFunction::~SenchaFunction() {
+
+}
+