Searched refs:HtmlToken (Results 1 – 5 of 5) sorted by relevance
83 protected HtmlToken produce() { in produce()84 HtmlToken token = readToken(); in produce()99 return HtmlToken.instance( in produce()169 private HtmlToken collapseSubsequent(HtmlToken token) { in collapseSubsequent()170 HtmlToken collapsed = token; in collapseSubsequent()171 for (HtmlToken next; in collapseSubsequent()179 private HtmlToken collapseAttributeName(HtmlToken token) { in collapseAttributeName()188 for (HtmlToken t; (t = peekToken(nToMerge)) != null;) { in collapseAttributeName()190 HtmlToken tok = peekToken(nToMerge + 1); in collapseAttributeName()196 HtmlToken eq = peekToken(nToMerge + 2); in collapseAttributeName()[all …]
34 final class HtmlToken { class39 static HtmlToken instance(int start, int end, HtmlTokenType type) { in instance()40 return new HtmlToken(start, end, type); in instance()49 private HtmlToken(int start, int end, HtmlTokenType type) { in HtmlToken() method in HtmlToken
135 HtmlToken token = lexer.next(); in sanitize()159 HtmlToken tagBodyToken = lexer.next(); in sanitize()
32 HtmlToken next(); in next()
132 HtmlToken t = lexer.next(); in lex()152 HtmlToken t = lexer.next(); in assertTokens()