Searched refs:ConsumeComment (Results 1 – 2 of 2) sorted by relevance
1868 self.assertRaises(text_format.ParseError, tokenizer.ConsumeComment)1874 self.assertEqual('# some comment', tokenizer.ConsumeComment())1880 self.assertEqual('# some comment', tokenizer.ConsumeComment())1882 self.assertEqual('# another comment', tokenizer.ConsumeComment())1888 self.assertRaises(text_format.ParseError, tokenizer.ConsumeComment)1893 self.assertRaises(text_format.ParseError, tokenizer.ConsumeComment)1897 self.assertEqual('# some comment', tokenizer.ConsumeComment())
1277 def ConsumeComment(self): member in Tokenizer1292 comment = self.ConsumeComment()