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

Side by Side Diff: runtime/vm/token.h

Issue 10821076: - Allow parsing of external methods. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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 | « runtime/vm/stub_code_ia32_test.cc ('k') | runtime/vm/unit_test.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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 KW(kBREAK, "break", 0, kKeyword) \ 146 KW(kBREAK, "break", 0, kKeyword) \
147 KW(kCASE, "case", 0, kKeyword) \ 147 KW(kCASE, "case", 0, kKeyword) \
148 KW(kCATCH, "catch", 0, kKeyword) \ 148 KW(kCATCH, "catch", 0, kKeyword) \
149 KW(kCLASS, "class", 0, kKeyword) \ 149 KW(kCLASS, "class", 0, kKeyword) \
150 KW(kCONST, "const", 0, kKeyword) \ 150 KW(kCONST, "const", 0, kKeyword) \
151 KW(kCONTINUE, "continue", 0, kKeyword) \ 151 KW(kCONTINUE, "continue", 0, kKeyword) \
152 KW(kDEFAULT, "default", 0, kKeyword) \ 152 KW(kDEFAULT, "default", 0, kKeyword) \
153 KW(kDO, "do", 0, kKeyword) \ 153 KW(kDO, "do", 0, kKeyword) \
154 KW(kELSE, "else", 0, kKeyword) \ 154 KW(kELSE, "else", 0, kKeyword) \
155 KW(kEXTENDS, "extends", 0, kKeyword) \ 155 KW(kEXTENDS, "extends", 0, kKeyword) \
156 KW(kEXTERNAL, "external", 0, kPseudoKeyword) \
156 KW(kFACTORY, "factory", 0, kPseudoKeyword) \ 157 KW(kFACTORY, "factory", 0, kPseudoKeyword) \
157 KW(kFALSE, "false", 0, kKeyword) \ 158 KW(kFALSE, "false", 0, kKeyword) \
158 KW(kFINAL, "final", 0, kKeyword) \ 159 KW(kFINAL, "final", 0, kKeyword) \
159 KW(kFINALLY, "finally", 0, kKeyword) \ 160 KW(kFINALLY, "finally", 0, kKeyword) \
160 KW(kFOR, "for", 0, kKeyword) \ 161 KW(kFOR, "for", 0, kKeyword) \
161 KW(kGET, "get", 0, kPseudoKeyword) \ 162 KW(kGET, "get", 0, kPseudoKeyword) \
162 KW(kIF, "if", 0, kKeyword) \ 163 KW(kIF, "if", 0, kKeyword) \
163 KW(kIMPLEMENTS, "implements", 0, kPseudoKeyword) \ 164 KW(kIMPLEMENTS, "implements", 0, kPseudoKeyword) \
164 KW(kIN, "in", 0, kKeyword) \ 165 KW(kIN, "in", 0, kKeyword) \
165 KW(kINTERFACE, "interface", 0, kPseudoKeyword) \ 166 KW(kINTERFACE, "interface", 0, kPseudoKeyword) \
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 static const char* name_[]; 285 static const char* name_[];
285 static const char* tok_str_[]; 286 static const char* tok_str_[];
286 static const uint8_t precedence_[]; 287 static const uint8_t precedence_[];
287 static const Attribute attributes_[]; 288 static const Attribute attributes_[];
288 }; 289 };
289 290
290 291
291 } // namespace dart 292 } // namespace dart
292 293
293 #endif // VM_TOKEN_H_ 294 #endif // VM_TOKEN_H_
OLDNEW
« no previous file with comments | « runtime/vm/stub_code_ia32_test.cc ('k') | runtime/vm/unit_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698