| 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 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 "lib/invocation_mirror.h" | 10 #include "lib/invocation_mirror.h" |
| (...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 AstNode* ParseVariableDeclarationList(); | 527 AstNode* ParseVariableDeclarationList(); |
| 528 AstNode* ParseFunctionStatement(bool is_literal); | 528 AstNode* ParseFunctionStatement(bool is_literal); |
| 529 AstNode* ParseStatement(); | 529 AstNode* ParseStatement(); |
| 530 SequenceNode* ParseNestedStatement(bool parsing_loop_body, | 530 SequenceNode* ParseNestedStatement(bool parsing_loop_body, |
| 531 SourceLabel* label); | 531 SourceLabel* label); |
| 532 void ParseStatementSequence(); | 532 void ParseStatementSequence(); |
| 533 bool IsIdentifier(); | 533 bool IsIdentifier(); |
| 534 bool IsSimpleLiteral(const AbstractType& type, Instance* value); | 534 bool IsSimpleLiteral(const AbstractType& type, Instance* value); |
| 535 bool IsFunctionTypeAliasName(); | 535 bool IsFunctionTypeAliasName(); |
| 536 bool IsMixinTypedef(); | 536 bool IsMixinTypedef(); |
| 537 bool TryParseTypeParameter(); | 537 bool TryParseTypeParameters(); |
| 538 bool TryParseOptionalType(); | 538 bool TryParseOptionalType(); |
| 539 bool TryParseReturnType(); | 539 bool TryParseReturnType(); |
| 540 bool IsVariableDeclaration(); | 540 bool IsVariableDeclaration(); |
| 541 bool IsFunctionDeclaration(); | 541 bool IsFunctionDeclaration(); |
| 542 bool IsFunctionLiteral(); | 542 bool IsFunctionLiteral(); |
| 543 bool IsForInStatement(); | 543 bool IsForInStatement(); |
| 544 bool IsTopLevelAccessor(); | 544 bool IsTopLevelAccessor(); |
| 545 | 545 |
| 546 AstNode* ParseBinaryExpr(int min_preced); | 546 AstNode* ParseBinaryExpr(int min_preced); |
| 547 LiteralNode* ParseConstExpr(); | 547 LiteralNode* ParseConstExpr(); |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 719 intptr_t last_used_try_index_; | 719 intptr_t last_used_try_index_; |
| 720 | 720 |
| 721 bool unregister_pending_function_; | 721 bool unregister_pending_function_; |
| 722 | 722 |
| 723 DISALLOW_COPY_AND_ASSIGN(Parser); | 723 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 724 }; | 724 }; |
| 725 | 725 |
| 726 } // namespace dart | 726 } // namespace dart |
| 727 | 727 |
| 728 #endif // VM_PARSER_H_ | 728 #endif // VM_PARSER_H_ |
| OLD | NEW |