[poincare] TreeNode::parent() should never return nullptr

This commit is contained in:
Léa Saviot
2018-08-14 17:53:32 +02:00
parent cd43d84b1e
commit 942e1a8f25
14 changed files with 115 additions and 3 deletions

View File

@@ -93,6 +93,10 @@ bool ExpressionNode::isOfType(Type * types, int length) const {
return false;
}
TreeNode * ExpressionNode::uninitializedStaticNode() const {
return Expression().node();
}
Expression ExpressionNode::denominator(Context & context, Preferences::AngleUnit angleUnit) const {
return Expression();
}