Searched refs:detached_comments (Results 1 - 5 of 5) sorted by relevance

/external/protobuf/src/google/protobuf/io/
H A Dtokenizer_unittest.cc519 const char* detached_comments[10]; member in struct:google::protobuf::io::__anon17186::DocCommentCase
696 vector<string> detached_comments; local
698 tokenizer.NextWithComments(&prev_trailing_comments, &detached_comments,
707 for (int i = 0; i < detached_comments.size(); i++) {
709 ASSERT_TRUE(kDocCommentCases_case.detached_comments[i] != NULL);
710 EXPECT_EQ(kDocCommentCases_case.detached_comments[i],
711 detached_comments[i]);
716 kDocCommentCases_case.detached_comments[detached_comments.size()]);
H A Dtokenizer.cc662 // current comment goes into either prev_trailing_comments or detached_comments.
668 vector<string>* detached_comments,
671 detached_comments_(detached_comments),
677 if (detached_comments != NULL) detached_comments->clear();
760 vector<string>* detached_comments,
762 CommentCollector collector(prev_trailing_comments, detached_comments,
667 CommentCollector(string* prev_trailing_comments, vector<string>* detached_comments, string* next_leading_comments) argument
759 NextWithComments(string* prev_trailing_comments, vector<string>* detached_comments, string* next_leading_comments) argument
H A Dtokenizer.h157 // detached_comments. Any of these parameters can be NULL to simply discard
194 vector<string>* detached_comments,
/external/protobuf/src/google/protobuf/compiler/
H A Dparser.h260 vector<string>* detached_comments) const;
H A Dparser.cc407 vector<string>* detached_comments) const {
417 for (int i = 0; i < detached_comments->size(); ++i) {
419 (*detached_comments)[i]);
421 detached_comments->clear();

Completed in 146 milliseconds