reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1131 lexString(Source, Toks); 1133 ASSERT_EQ(7U, Toks.size()); 1135 ASSERT_EQ(tok::text, Toks[0].getKind()); 1136 ASSERT_EQ(StringRef(" "), Toks[0].getText()); 1138 ASSERT_EQ(tok::html_start_tag, Toks[1].getKind()); 1139 ASSERT_EQ(StringRef("img"), Toks[1].getHTMLTagStartName()); 1141 ASSERT_EQ(tok::html_ident, Toks[2].getKind()); 1142 ASSERT_EQ(StringRef("src"), Toks[2].getHTMLIdent()); 1144 ASSERT_EQ(tok::html_equals, Toks[3].getKind()); 1146 ASSERT_EQ(tok::html_greater, Toks[4].getKind()); 1148 ASSERT_EQ(tok::text, Toks[5].getKind()); 1149 ASSERT_EQ(StringRef(" Meow"), Toks[5].getText()); 1151 ASSERT_EQ(tok::newline, Toks[6].getKind());