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

Side by Side Diff: vm/token.h

Issue 9701054: - Proper inclusion of gypi files, so that they do not override (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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 | « vm/dart_api_impl_test.cc ('k') | vm/token.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_TOKEN_H_ 5 #ifndef VM_TOKEN_H_
6 #define VM_TOKEN_H_ 6 #define VM_TOKEN_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 static bool NeedsLiteralToken(Kind tok) { 260 static bool NeedsLiteralToken(Kind tok) {
261 ASSERT(tok < kNumTokens); 261 ASSERT(tok < kNumTokens);
262 return ((tok == Token::kINTEGER) || 262 return ((tok == Token::kINTEGER) ||
263 (tok == Token::kSTRING) || 263 (tok == Token::kSTRING) ||
264 (tok == Token::kINTERPOL_VAR) || 264 (tok == Token::kINTERPOL_VAR) ||
265 (tok == Token::kERROR) || 265 (tok == Token::kERROR) ||
266 (tok == Token::kDOUBLE)); 266 (tok == Token::kDOUBLE));
267 } 267 }
268 268
269 private: 269 private:
270 static const char* name_[kNumTokens]; 270 static const char* name_[];
271 static const char* tok_str_[kNumTokens]; 271 static const char* tok_str_[];
272 static const uint8_t precedence_[kNumTokens]; 272 static const uint8_t precedence_[];
273 static const Attribute attributes_[kNumTokens]; 273 static const Attribute attributes_[];
274 }; 274 };
275 275
276 276
277 } // namespace dart 277 } // namespace dart
278 278
279 #endif // VM_TOKEN_H_ 279 #endif // VM_TOKEN_H_
OLDNEW
« no previous file with comments | « vm/dart_api_impl_test.cc ('k') | vm/token.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698