Home
last modified time | relevance | path

Searched refs:ConsumeComment (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Dtext_format_test.py1868 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())
/external/protobuf/python/google/protobuf/
Dtext_format.py1277 def ConsumeComment(self): member in Tokenizer
1292 comment = self.ConsumeComment()