docs: private String getOperandProtectedForPrecHelper(int index, boolean shouldProtectEqualPrec) {
  
      int thisOpPrec = operator.getPrecedence();
  
      ExprNode child = getChild(index);
  
      boolean shouldProtect;
      if (child instanceof OperatorNode) {
        int childOpPrec = ((OperatorNode) child).getOperator().getPrecedence();
        shouldProtect = shouldProtectEqualPrec ? childOpPrec <= thisOpPrec : childOpPrec < thisOpPrec;
      } else {
        shouldProtect = false;
      }
  
      if (shouldProtect) {
        return "(" + child.toSourceString() + ")";
      } else {
        return child.toSourceString();
      }
    }