24 lines
795 B
C++
24 lines
795 B
C++
#include "StatementRawFunction.h"
|
|
|
|
StatementRawFunction::StatementRawFunction(string name, string constraints, vector<pair<string, shared_ptr<ValueType>>> arguments, shared_ptr<ValueType> returnValueType, string rawSource):
|
|
Statement(StatementKind::RAW_FUNCTION), name(name), constraints(constraints), arguments(arguments), returnValueType(returnValueType), rawSource(rawSource) { }
|
|
|
|
string StatementRawFunction::getName() {
|
|
return name;
|
|
}
|
|
|
|
string StatementRawFunction::getConstraints() {
|
|
return constraints;
|
|
}
|
|
|
|
vector<pair<string, shared_ptr<ValueType>>> StatementRawFunction::getArguments() {
|
|
return arguments;
|
|
}
|
|
|
|
shared_ptr<ValueType> StatementRawFunction::getReturnValueType() {
|
|
return returnValueType;
|
|
}
|
|
|
|
string StatementRawFunction::getRawSource() {
|
|
return rawSource;
|
|
} |