static boolean isOpeningTag(S token, S tag) { ret isTag(token, tag) && !token.endsWith("/>"); } static boolean isOpeningTag(S token) { ret token.startsWith("<") && token.endsWith(">") && !token.endsWith("/>") && isLetter(token.charAt(1)); }