[poincare] Implemment getUnit

This commit is contained in:
Léa Saviot
2020-02-05 12:13:47 +01:00
parent 94334169f0
commit d5b07f1f90
23 changed files with 84 additions and 1 deletions

View File

@@ -124,6 +124,10 @@ bool ExpressionNode::isOfType(Type * types, int length) const {
return false;
}
Expression ExpressionNode::getUnit() const {
return Undefined::Builder();
}
void ExpressionNode::setChildrenInPlace(Expression other) {
Expression(this).defaultSetChildrenInPlace(other);
}