コード例 #1
0
 def testCreation(self):
     snippet = raw_doc.RawSnippet(self.path, self.snippet)
     self.assertEqual(snippet.getFormatted(self.formatter),
                      '@snippet apath The snippet\n')
コード例 #2
0
ファイル: dox_parser.py プロジェクト: zihua/seqan
 def getEntry(self):
     return raw_doc.RawSnippet(self.first_token, self.path_tokens,
                               self.name_tokens)
コード例 #3
0
 def getEntry(self):
     return raw_doc.RawSnippet(raw_doc.RawText(self.path_tokens),
                               raw_doc.RawText(self.name_tokens))