From b686d1570574120a0ef623a794a0cb2ccc6a93bb Mon Sep 17 00:00:00 2001 From: josh Date: Thu, 14 Jan 2010 14:17:35 +0000 Subject: [PATCH] added FunctionNode git-svn-id: svn://anubis/jtlc/trunk@21 f5bc74b8-7b62-4e90-9214-7121d538519f --- nodes/FunctionNode.cc | 11 +++++++++++ nodes/Node.h | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 nodes/FunctionNode.cc diff --git a/nodes/FunctionNode.cc b/nodes/FunctionNode.cc new file mode 100644 index 0000000..c9177e7 --- /dev/null +++ b/nodes/FunctionNode.cc @@ -0,0 +1,11 @@ + +#include +#include "Node.h" +#include "parser/parser.h" +using namespace std; + +void FunctionNode::process(FILE * out) +{ + refptr params = m_children[2]; + refptr type = m_children[1]; +} diff --git a/nodes/Node.h b/nodes/Node.h index 42a0655..a2077c7 100644 --- a/nodes/Node.h +++ b/nodes/Node.h @@ -52,6 +52,8 @@ class DoubleNode : public Node class FunctionNode : public Node { + public: + void process(FILE * out); }; class IdentifierNode : public Node