void (TupleType type) { if (type.useTypingAlias) { add(escaped("Tuple")); //NON-NLS } else { add(styled("tuple", PyHighlighter.PY_BUILTIN_NAME)); //NON-NLS } if (!type.members.isEmpty()) { add(styled("[", PyHighlighter.PY_BRACKETS)); processList(type.members); if (type.homogeneous) { add(styled(", ", PyHighlighter.PY_COMMA)); add(styled("...", PyHighlighter.PY_DOT)); } add(styled("]", PyHighlighter.PY_BRACKETS)); } }