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

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

Issue 2220883004: Use metadata annotation @patch for patch classes (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: wip Created 4 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
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_PARSER_H_ 5 #ifndef VM_PARSER_H_
6 #define VM_PARSER_H_ 6 #define VM_PARSER_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 9
10 #include "platform/assert.h" 10 #include "platform/assert.h"
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 String* ExpectUserDefinedTypeIdentifier(const char* msg); 394 String* ExpectUserDefinedTypeIdentifier(const char* msg);
395 String* ExpectIdentifier(const char* msg); 395 String* ExpectIdentifier(const char* msg);
396 bool IsAwaitKeyword(); 396 bool IsAwaitKeyword();
397 bool IsYieldKeyword(); 397 bool IsYieldKeyword();
398 398
399 void SkipIf(Token::Kind); 399 void SkipIf(Token::Kind);
400 void SkipToMatching(); 400 void SkipToMatching();
401 void SkipToMatchingParenthesis(); 401 void SkipToMatchingParenthesis();
402 void SkipBlock(); 402 void SkipBlock();
403 TokenPosition SkipMetadata(); 403 TokenPosition SkipMetadata();
404 bool IsPatchAnnotation(TokenPosition pos);
404 void SkipTypeArguments(); 405 void SkipTypeArguments();
405 void SkipType(bool allow_void); 406 void SkipType(bool allow_void);
406 void SkipInitializers(); 407 void SkipInitializers();
407 void SkipExpr(); 408 void SkipExpr();
408 void SkipNestedExpr(); 409 void SkipNestedExpr();
409 void SkipConditionalExpr(); 410 void SkipConditionalExpr();
410 void SkipBinaryExpr(); 411 void SkipBinaryExpr();
411 void SkipUnaryExpr(); 412 void SkipUnaryExpr();
412 void SkipPostfixExpr(); 413 void SkipPostfixExpr();
413 void SkipSelectors(); 414 void SkipSelectors();
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
966 967
967 intptr_t recursion_counter_; 968 intptr_t recursion_counter_;
968 friend class RecursionChecker; 969 friend class RecursionChecker;
969 970
970 DISALLOW_COPY_AND_ASSIGN(Parser); 971 DISALLOW_COPY_AND_ASSIGN(Parser);
971 }; 972 };
972 973
973 } // namespace dart 974 } // namespace dart
974 975
975 #endif // VM_PARSER_H_ 976 #endif // VM_PARSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698