aboutsummaryrefslogtreecommitdiff
path: root/src/functionast.h
blob: 0de564f0cdf95e82b77ff94400b6c1533ba48203 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef FUNCTION_AST_H
#define FUNCTION_AST_H

#include "function.h"

class FunctionAst : public Function
{
public:
	FunctionAst( const class AstBranch *pRoot, class Runner *pRunner );
	virtual ~FunctionAst();

	virtual Bu::String getName() const;
	virtual Variable call( Variable &input, VarList lParams );

private:
	Bu::String sName;
	const class AstBranch *pRoot;
	class Runner *pRunner;
};

#endif