reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1246 lexString(Source, Toks); 1248 ASSERT_EQ(6U, Toks.size()); 1250 ASSERT_EQ(tok::text, Toks[0].getKind()); 1251 ASSERT_EQ(StringRef(" "), Toks[0].getText()); 1253 ASSERT_EQ(tok::html_start_tag, Toks[1].getKind()); 1254 ASSERT_EQ(StringRef("img"), Toks[1].getHTMLTagStartName()); 1256 ASSERT_EQ(tok::html_ident, Toks[2].getKind()); 1257 ASSERT_EQ(StringRef("src"), Toks[2].getHTMLIdent()); 1259 ASSERT_EQ(tok::html_equals, Toks[3].getKind()); 1261 ASSERT_EQ(tok::text, Toks[4].getKind()); 1262 ASSERT_EQ(StringRef("@"), Toks[4].getText()); 1264 ASSERT_EQ(tok::newline, Toks[5].getKind());