Pass in constraints
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user