summaryrefslogtreecommitdiff
path: root/src/astfunction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/astfunction.cpp')
-rw-r--r--src/astfunction.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/astfunction.cpp b/src/astfunction.cpp
new file mode 100644
index 0000000..df183d3
--- /dev/null
+++ b/src/astfunction.cpp
@@ -0,0 +1,28 @@
1#include "astfunction.h"
2#include "astbranch.h"
3
4AstFunction::AstFunction( const Bu::String &sName ) :
5 sName( sName ),
6 pAst( NULL )
7{
8}
9
10AstFunction::~AstFunction()
11{
12 delete pAst;
13}
14
15Variable AstFunction::call( const VariableList &lParams )
16{
17}
18
19void AstFunction::addParam( const Bu::String &sName )
20{
21 lParam.append( sName );
22}
23
24void AstFunction::setAst( class AstBranch *pAst )
25{
26 this->pAst = pAst;
27}
28