reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1815 lexString(Source, Toks); 1817 ASSERT_EQ(12U, Toks.size()); 1819 ASSERT_EQ(tok::text, Toks[0].getKind()); 1820 ASSERT_EQ(StringRef(" Aaa"), Toks[0].getText()); 1821 ASSERT_EQ(tok::newline, Toks[1].getKind()); 1823 ASSERT_EQ(tok::text, Toks[2].getKind()); 1824 ASSERT_EQ(StringRef(" Bbb"), Toks[2].getText()); 1825 ASSERT_EQ(tok::newline, Toks[3].getKind()); 1827 ASSERT_EQ(tok::text, Toks[4].getKind()); 1828 ASSERT_EQ(StringRef(" Ccc"), Toks[4].getText()); 1829 ASSERT_EQ(tok::newline, Toks[5].getKind()); 1831 ASSERT_EQ(tok::text, Toks[6].getKind()); 1832 ASSERT_EQ(StringRef(" Ddd"), Toks[6].getText()); 1833 ASSERT_EQ(tok::newline, Toks[7].getKind()); 1834 ASSERT_EQ(tok::newline, Toks[8].getKind()); 1836 ASSERT_EQ(tok::text, Toks[9].getKind()); 1837 ASSERT_EQ(StringRef(" Eee"), Toks[9].getText()); 1839 ASSERT_EQ(tok::newline, Toks[10].getKind()); 1840 ASSERT_EQ(tok::newline, Toks[11].getKind());