String SubscriptOperation::code() const { if (!haveLeft() || !haveRight()) return ""; return parenthesise(left()->code() + "[" + right()->code() + "]"); }
String SimpleBinaryOperation::code() const { if (!haveLeft() || !haveRight() || !m_symbolCache) return String::null; return parenthesise(left()->code() + " " + id().code() + " " + right()->code()); }