#include extern "C" { #include #include } namespace Poincare { bool LeafExpression::hasValidNumberOfArguments() const { return true; } int LeafExpression::numberOfOperands() const { return 0; } const Expression * LeafExpression::operand(int i) const { assert(false); return nullptr; } Expression * LeafExpression::cloneWithDifferentOperands(Expression** newOperands, int numberOfOperands, bool cloneOperands) const { assert(numberOfOperands == 0); return this->clone(); } }