Pass in constraints

This commit is contained in:
Rafał Grodziński
2025-07-14 21:40:18 +09:00
parent 228dd80423
commit 5616036c17
5 changed files with 27 additions and 7 deletions

View File

@@ -1,12 +1,16 @@
#include "StatementRawFunction.h"
StatementRawFunction::StatementRawFunction(string name, string rawSource):
Statement(StatementKind::RAW_FUNCTION), name(name), rawSource(rawSource) { }
StatementRawFunction::StatementRawFunction(string name, string constraints, string rawSource):
Statement(StatementKind::RAW_FUNCTION), name(name), constraints(constraints), rawSource(rawSource) { }
string StatementRawFunction::getName() {
return name;
}
string StatementRawFunction::getConstraints() {
return constraints;
}
string StatementRawFunction::getRawSource() {
return rawSource;
}