aboutsummaryrefslogtreecommitdiff
path: root/src/functionast.h
blob: b971683792445a23c894db28cd41df00ef18342e (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::FString getName() const;
	virtual Variable call( Variable &input, VarList lParams );

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

#endif