blob: 17cf93185ed3ac0f35f277c1308e79d0a884f6f6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef VALUE_USERFUNCTION
#define VALUE_USERFUNCTION
#include <deque>
#include "Function.h"
class UserFunction : public Function {
std::deque<Function*> body;
public:
std::string Visit(LLVMVisitor& visitor) const override;
T_Primitive RetType() const override;
UserFunction(std::string name, std::deque<Value*> args, std::deque<Function*> body);
};
#endif
|