Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Implementation of Programming Languages / Transpiler / src / Value / List.h
blob: 770b87b1291112a92ac5b9981d2989c7a152f077 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef VALUE_LIST
#define VALUE_LIST

#include <vector>
#include "Value.h"

class List : public Value {
	std::vector<Value*> vals;
public:
	LLVMRet Visit(LLVMVisitor& visitor) const override;
	const std::vector<Value*>& get_value() const;

	List(std::vector<Value*> val);
	~List() override = default;
};

#endif