diff options
Diffstat (limited to 'src/astfunction.cpp')
-rw-r--r-- | src/astfunction.cpp | 28 |
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 | |||
4 | AstFunction::AstFunction( const Bu::String &sName ) : | ||
5 | sName( sName ), | ||
6 | pAst( NULL ) | ||
7 | { | ||
8 | } | ||
9 | |||
10 | AstFunction::~AstFunction() | ||
11 | { | ||
12 | delete pAst; | ||
13 | } | ||
14 | |||
15 | Variable AstFunction::call( const VariableList &lParams ) | ||
16 | { | ||
17 | } | ||
18 | |||
19 | void AstFunction::addParam( const Bu::String &sName ) | ||
20 | { | ||
21 | lParam.append( sName ); | ||
22 | } | ||
23 | |||
24 | void AstFunction::setAst( class AstBranch *pAst ) | ||
25 | { | ||
26 | this->pAst = pAst; | ||
27 | } | ||
28 | |||