Home | History | Annotate | Download | only in gn

Lines Matching refs:comments

68   // End the current line, flushing end of line comments.
85 std::vector<Token> comments_; // Pending end-of-line comments.
150 if (block->comments()) {
151 for (const auto& c : block->comments()->before()) {
161 if (stmt->comments()) {
167 for (const auto& c : stmt->comments()->after()) {
177 if (block->comments()) {
178 for (const auto& c : block->comments()->after()) {
187 if (root->comments()) {
188 if (!root->comments()->before().empty()) {
195 for (const auto& c : root->comments()->before()) {
272 if (root->comments() && !root->comments()->suffix().empty()) {
273 std::copy(root->comments()->suffix().begin(),
274 root->comments()->suffix().end(),
293 // If there's before line comments, make sure we have a place to put them.
295 if (i->comments() && !i->comments()->before().empty())
305 CHECK(list[0]->comments()->after().empty());
314 CHECK(x->comments()->after().empty());