aboutsummaryrefslogtreecommitdiff
path: root/src/functionast.h
blob: 75af7511896ea304082ad8303e0e3874a3958856 (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