summaryrefslogtreecommitdiff
path: root/src/astfunction.cpp
blob: df183d358895a0c02c1d26ef2750cedbcbf0c2f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include "astfunction.h"
#include "astbranch.h"

AstFunction::AstFunction( const Bu::String &sName ) :
	sName( sName ),
	pAst( NULL )
{
}

AstFunction::~AstFunction()
{
	delete pAst;
}

Variable AstFunction::call( const VariableList &lParams )
{
}

void AstFunction::addParam( const Bu::String &sName )
{
	lParam.append( sName );
}

void AstFunction::setAst( class AstBranch *pAst )
{
	this->pAst = pAst;
}