boolean (@NotNull PyStringElement leftNodeInfo, @NotNull PyStringElement rightNodeInfo) { return leftNodeInfo.isUnicode() == rightNodeInfo.isUnicode() && leftNodeInfo.isRaw() == rightNodeInfo.isRaw() && leftNodeInfo.isBytes() == rightNodeInfo.isBytes() && // TODO Merge formatted and plain strings elements (escape curly braces, etc.) leftNodeInfo.isFormatted() == rightNodeInfo.isFormatted(); }