| 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 "vm/ast.h" | 10 #include "vm/ast.h" |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 AstNode* ParseVariableDeclaration(const AbstractType& type, | 396 AstNode* ParseVariableDeclaration(const AbstractType& type, |
| 397 bool is_final, | 397 bool is_final, |
| 398 bool is_const); | 398 bool is_const); |
| 399 AstNode* ParseVariableDeclarationList(); | 399 AstNode* ParseVariableDeclarationList(); |
| 400 AstNode* ParseFunctionStatement(bool is_literal); | 400 AstNode* ParseFunctionStatement(bool is_literal); |
| 401 AstNode* ParseStatement(); | 401 AstNode* ParseStatement(); |
| 402 SequenceNode* ParseNestedStatement(bool parsing_loop_body, | 402 SequenceNode* ParseNestedStatement(bool parsing_loop_body, |
| 403 SourceLabel* label); | 403 SourceLabel* label); |
| 404 void ParseStatementSequence(); | 404 void ParseStatementSequence(); |
| 405 bool IsIdentifier(); | 405 bool IsIdentifier(); |
| 406 bool IsSimpleLiteral(const AbstractType& type, Instance* value); |
| 406 bool IsFunctionTypeAliasName(); | 407 bool IsFunctionTypeAliasName(); |
| 407 bool TryParseTypeParameter(); | 408 bool TryParseTypeParameter(); |
| 408 bool TryParseOptionalType(); | 409 bool TryParseOptionalType(); |
| 409 bool TryParseReturnType(); | 410 bool TryParseReturnType(); |
| 410 bool IsVariableDeclaration(); | 411 bool IsVariableDeclaration(); |
| 411 bool IsFunctionDeclaration(); | 412 bool IsFunctionDeclaration(); |
| 412 bool IsFunctionLiteral(); | 413 bool IsFunctionLiteral(); |
| 413 bool IsForInStatement(); | 414 bool IsForInStatement(); |
| 414 bool IsTopLevelAccessor(); | 415 bool IsTopLevelAccessor(); |
| 415 | 416 |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 | 555 |
| 555 // Allocate temporary only once per function. | 556 // Allocate temporary only once per function. |
| 556 LocalVariable* expression_temp_; | 557 LocalVariable* expression_temp_; |
| 557 | 558 |
| 558 DISALLOW_COPY_AND_ASSIGN(Parser); | 559 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 559 }; | 560 }; |
| 560 | 561 |
| 561 } // namespace dart | 562 } // namespace dart |
| 562 | 563 |
| 563 #endif // VM_PARSER_H_ | 564 #endif // VM_PARSER_H_ |
| OLD | NEW |