Summary Files Commits Branches @commit @diff @stats
path: root / Year 2 / Implementation of Programming Languages / Transpiler / src / Value / Function / Function.cpp
blob: 9e35eab47c2975cca637c616a846bb3aa9b4b523 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include "Function.h"
#include "../../LLVMVisitor/LLVMVisitor.h"

const std::string& Function::get_name() const {
	return name;
}

const std::deque<Value*> Function::get_args() const {
	return args;
}

Function::Function(std::string name, std::deque<Value*> args) : name(name), args(args) {}