| OLD | NEW |
| 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 RUNTIME_VM_PARSER_H_ | 5 #ifndef RUNTIME_VM_PARSER_H_ |
| 6 #define RUNTIME_VM_PARSER_H_ | 6 #define RUNTIME_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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 bool IsAwaitKeyword(); | 420 bool IsAwaitKeyword(); |
| 421 bool IsYieldKeyword(); | 421 bool IsYieldKeyword(); |
| 422 | 422 |
| 423 void SkipIf(Token::Kind); | 423 void SkipIf(Token::Kind); |
| 424 void SkipToMatching(); | 424 void SkipToMatching(); |
| 425 void SkipToMatchingParenthesis(); | 425 void SkipToMatchingParenthesis(); |
| 426 void SkipBlock(); | 426 void SkipBlock(); |
| 427 TokenPosition SkipMetadata(); | 427 TokenPosition SkipMetadata(); |
| 428 bool IsPatchAnnotation(TokenPosition pos); | 428 bool IsPatchAnnotation(TokenPosition pos); |
| 429 void SkipTypeArguments(); | 429 void SkipTypeArguments(); |
| 430 void SkipTypeParameters(); |
| 430 void SkipType(bool allow_void); | 431 void SkipType(bool allow_void); |
| 431 void SkipTypeOrFunctionType(bool allow_void); | 432 void SkipTypeOrFunctionType(bool allow_void); |
| 432 void SkipInitializers(); | 433 void SkipInitializers(); |
| 433 void SkipExpr(); | 434 void SkipExpr(); |
| 434 void SkipNestedExpr(); | 435 void SkipNestedExpr(); |
| 435 void SkipConditionalExpr(); | 436 void SkipConditionalExpr(); |
| 436 void SkipBinaryExpr(); | 437 void SkipBinaryExpr(); |
| 437 void SkipUnaryExpr(); | 438 void SkipUnaryExpr(); |
| 438 void SkipPostfixExpr(); | 439 void SkipPostfixExpr(); |
| 439 void SkipSelectors(); | 440 void SkipSelectors(); |
| (...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1025 | 1026 |
| 1026 intptr_t recursion_counter_; | 1027 intptr_t recursion_counter_; |
| 1027 friend class RecursionChecker; | 1028 friend class RecursionChecker; |
| 1028 | 1029 |
| 1029 DISALLOW_COPY_AND_ASSIGN(Parser); | 1030 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 1030 }; | 1031 }; |
| 1031 | 1032 |
| 1032 } // namespace dart | 1033 } // namespace dart |
| 1033 | 1034 |
| 1034 #endif // RUNTIME_VM_PARSER_H_ | 1035 #endif // RUNTIME_VM_PARSER_H_ |
| OLD | NEW |