diff options
Diffstat (limited to 'src/functionast.h')
-rw-r--r-- | src/functionast.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/functionast.h b/src/functionast.h new file mode 100644 index 0000000..b971683 --- /dev/null +++ b/src/functionast.h | |||
@@ -0,0 +1,21 @@ | |||
1 | #ifndef FUNCTION_AST_H | ||
2 | #define FUNCTION_AST_H | ||
3 | |||
4 | #include "function.h" | ||
5 | |||
6 | class FunctionAst : public Function | ||
7 | { | ||
8 | public: | ||
9 | FunctionAst( const class AstBranch *pRoot, class Runner *pRunner ); | ||
10 | virtual ~FunctionAst(); | ||
11 | |||
12 | virtual Bu::FString getName() const; | ||
13 | virtual Variable call( Variable &input, VarList lParams ); | ||
14 | |||
15 | private: | ||
16 | Bu::FString sName; | ||
17 | const class AstBranch *pRoot; | ||
18 | class Runner *pRunner; | ||
19 | }; | ||
20 | |||
21 | #endif | ||