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

Side by Side Diff: tools/gn/token.h

Issue 207233003: Add "." accessors to GN. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/gn/scope_unittest.cc ('k') | tools/gn/tokenizer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef TOOLS_GN_TOKEN_H_ 5 #ifndef TOOLS_GN_TOKEN_H_
6 #define TOOLS_GN_TOKEN_H_ 6 #define TOOLS_GN_TOKEN_H_
7 7
8 #include "base/strings/string_piece.h" 8 #include "base/strings/string_piece.h"
9 #include "tools/gn/location.h" 9 #include "tools/gn/location.h"
10 10
(...skipping 14 matching lines...) Expand all
25 MINUS_EQUALS, 25 MINUS_EQUALS,
26 EQUAL_EQUAL, 26 EQUAL_EQUAL,
27 NOT_EQUAL, 27 NOT_EQUAL,
28 LESS_EQUAL, 28 LESS_EQUAL,
29 GREATER_EQUAL, 29 GREATER_EQUAL,
30 LESS_THAN, 30 LESS_THAN,
31 GREATER_THAN, 31 GREATER_THAN,
32 BOOLEAN_AND, 32 BOOLEAN_AND,
33 BOOLEAN_OR, 33 BOOLEAN_OR,
34 BANG, 34 BANG,
35 DOT,
35 36
36 LEFT_PAREN, 37 LEFT_PAREN,
37 RIGHT_PAREN, 38 RIGHT_PAREN,
38 LEFT_BRACKET, 39 LEFT_BRACKET,
39 RIGHT_BRACKET, 40 RIGHT_BRACKET,
40 LEFT_BRACE, 41 LEFT_BRACE,
41 RIGHT_BRACE, 42 RIGHT_BRACE,
42 43
43 IF, 44 IF,
44 ELSE, 45 ELSE,
(...skipping 27 matching lines...) Expand all
72 // unescaping). 73 // unescaping).
73 std::string StringValue() const; 74 std::string StringValue() const;
74 75
75 private: 76 private:
76 Type type_; 77 Type type_;
77 base::StringPiece value_; 78 base::StringPiece value_;
78 Location location_; 79 Location location_;
79 }; 80 };
80 81
81 #endif // TOOLS_GN_TOKEN_H_ 82 #endif // TOOLS_GN_TOKEN_H_
OLDNEW
« no previous file with comments | « tools/gn/scope_unittest.cc ('k') | tools/gn/tokenizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698