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 732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
743 AstNode* ParseFunctionStatement(bool is_literal); | 743 AstNode* ParseFunctionStatement(bool is_literal); |
744 AstNode* ParseYieldStatement(); | 744 AstNode* ParseYieldStatement(); |
745 AstNode* ParseStatement(); | 745 AstNode* ParseStatement(); |
746 SequenceNode* ParseNestedStatement(bool parsing_loop_body, | 746 SequenceNode* ParseNestedStatement(bool parsing_loop_body, |
747 SourceLabel* label); | 747 SourceLabel* label); |
748 void ParseStatementSequence(); | 748 void ParseStatementSequence(); |
749 bool IsIdentifier(); | 749 bool IsIdentifier(); |
750 bool IsSymbol(const String& symbol); | 750 bool IsSymbol(const String& symbol); |
751 bool IsSimpleLiteral(const AbstractType& type, Instance* value); | 751 bool IsSimpleLiteral(const AbstractType& type, Instance* value); |
752 bool IsFunctionTypeAliasName(); | 752 bool IsFunctionTypeAliasName(); |
753 bool IsMixinAppAlias(); | |
754 bool TryParseQualIdent(); | 753 bool TryParseQualIdent(); |
755 bool TryParseTypeParameters(); | 754 bool TryParseTypeParameters(); |
756 bool TryParseTypeArguments(); | 755 bool TryParseTypeArguments(); |
757 bool IsTypeParameters(); | 756 bool IsTypeParameters(); |
758 bool IsArgumentPart(); | 757 bool IsArgumentPart(); |
759 bool IsParameterPart(); | 758 bool IsParameterPart(); |
760 bool TryParseOptionalType(); | 759 bool TryParseOptionalType(); |
761 bool TryParseReturnType(); | 760 bool TryParseReturnType(); |
762 bool IsVariableDeclaration(); | 761 bool IsVariableDeclaration(); |
763 bool IsFunctionReturnType(); | 762 bool IsFunctionReturnType(); |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
974 | 973 |
975 intptr_t recursion_counter_; | 974 intptr_t recursion_counter_; |
976 friend class RecursionChecker; | 975 friend class RecursionChecker; |
977 | 976 |
978 DISALLOW_COPY_AND_ASSIGN(Parser); | 977 DISALLOW_COPY_AND_ASSIGN(Parser); |
979 }; | 978 }; |
980 | 979 |
981 } // namespace dart | 980 } // namespace dart |
982 | 981 |
983 #endif // RUNTIME_VM_PARSER_H_ | 982 #endif // RUNTIME_VM_PARSER_H_ |
OLD | NEW |