reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
948 lexString(Source, Toks); 950 ASSERT_EQ(9U, Toks.size()); 952 ASSERT_EQ(tok::text, Toks[0].getKind()); 953 ASSERT_EQ(StringRef(" "), Toks[0].getText()); 955 ASSERT_EQ(tok::verbatim_line_name, Toks[1].getKind()); 956 ASSERT_EQ(StringRef("fn"), getVerbatimLineName(Toks[1])); 958 ASSERT_EQ(tok::verbatim_line_text, Toks[2].getKind()); 960 Toks[2].getVerbatimLineText()); 961 ASSERT_EQ(tok::newline, Toks[3].getKind()); 963 ASSERT_EQ(tok::text, Toks[4].getKind()); 964 ASSERT_EQ(StringRef(" Meow"), Toks[4].getText()); 965 ASSERT_EQ(tok::newline, Toks[5].getKind()); 967 ASSERT_EQ(tok::text, Toks[6].getKind()); 968 ASSERT_EQ(StringRef(" "), Toks[6].getText()); 970 ASSERT_EQ(tok::newline, Toks[7].getKind()); 971 ASSERT_EQ(tok::newline, Toks[8].getKind());