def testCreation(self): snippet = raw_doc.RawSnippet(self.path, self.snippet) self.assertEqual(snippet.getFormatted(self.formatter), '@snippet apath The snippet\n')
def getEntry(self): return raw_doc.RawSnippet(self.first_token, self.path_tokens, self.name_tokens)
def getEntry(self): return raw_doc.RawSnippet(raw_doc.RawText(self.path_tokens), raw_doc.RawText(self.name_tokens))