예제 #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))