diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-12-29 10:27:38 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-12-29 10:27:38 -0700 |
commit | bae6192c54533e8da95d8ae1ed4d4eccee28c39a (patch) | |
tree | f27b03b518894420992ad1a3ed3ee1a07935ca4b /src/astfunction.cpp | |
parent | 550d4f13ace49e3d442e43d46cd066f174709400 (diff) | |
download | stage-bae6192c54533e8da95d8ae1ed4d4eccee28c39a.tar.gz stage-bae6192c54533e8da95d8ae1ed4d4eccee28c39a.tar.bz2 stage-bae6192c54533e8da95d8ae1ed4d4eccee28c39a.tar.xz stage-bae6192c54533e8da95d8ae1ed4d4eccee28c39a.zip |
Getting close to realy running.
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 | |||