Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Unified Diff: tools/gn/token.h

Issue 962003002: gn format: Have format sort sources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« tools/gn/parse_tree.cc ('K') | « tools/gn/parse_tree.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/token.h
diff --git a/tools/gn/token.h b/tools/gn/token.h
index 81a9b4a5f3e3921bce956e9e21e11c4ff959e7dc..eb6b10e5e2e57edb708e7c622de8d7004937923c 100644
--- a/tools/gn/token.h
+++ b/tools/gn/token.h
@@ -75,6 +75,8 @@ class Token {
bool IsIdentifierEqualTo(const char* v) const;
bool IsStringEqualTo(const char* v) const;
+ void set_location(Location location) { location_ = location; }
brettw 2015/02/27 22:27:27 Seems like this should go next to location()
scottmg 2015/02/27 23:17:44 Done.
+
private:
Type type_;
base::StringPiece value_;
« tools/gn/parse_tree.cc ('K') | « tools/gn/parse_tree.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698