summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/Elements/SenchaFunction.cpp
diff options
context:
space:
mode:
authorJustyna Ilczuk <justyna.ilczuk@gmail.com>2012-12-30 14:59:30 +0100
committerJustyna Ilczuk <justyna.ilczuk@gmail.com>2012-12-30 14:59:30 +0100
commit39794ea7111f2508e8dc7504de4396bc570da03e (patch)
tree45e28bf95007405037f3d0d464787f574e30a6de /Sencha-lang/Elements/SenchaFunction.cpp
parent93a63d43e950c53230c1658e86111ee962faf7f9 (diff)
downloadsencha-lang-39794ea7111f2508e8dc7504de4396bc570da03e.tar.gz
sencha-lang-39794ea7111f2508e8dc7504de4396bc570da03e.tar.bz2
sencha-lang-39794ea7111f2508e8dc7504de4396bc570da03e.tar.xz
sencha-lang-39794ea7111f2508e8dc7504de4396bc570da03e.zip
I began implementing function functionality and I apply some changes to
whole design.
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() {
+
+}
+