blob: 5afc51dbb185712331a79db8deb6d061d8cb1afd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef VALUE_FUNCALL
#define VALUE_FUNCALL
#include <deque>
#include "../Value.h"
class Funcall : public Value {
std::string funName;
std::deque<Value*> args;
public:
const std::string& get_funname() const;
const std::deque<Value*>& get_args() const;
std::string Visit(LLVMVisitor& visitor) const override;
T_Primitive RetType() const override;
Funcall(std::string funName, std::deque<Value*> args);
~Funcall() override = default;
};
#endif
|