| 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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 void ParseInterfaceDefinition(const GrowableObjectArray& pending_classes); | 284 void ParseInterfaceDefinition(const GrowableObjectArray& pending_classes); |
| 285 void ParseFunctionTypeAlias(const GrowableObjectArray& pending_classes); | 285 void ParseFunctionTypeAlias(const GrowableObjectArray& pending_classes); |
| 286 void ParseTopLevelVariable(TopLevel* top_level); | 286 void ParseTopLevelVariable(TopLevel* top_level); |
| 287 void ParseTopLevelFunction(TopLevel* top_level); | 287 void ParseTopLevelFunction(TopLevel* top_level); |
| 288 void ParseTopLevelAccessor(TopLevel* top_level); | 288 void ParseTopLevelAccessor(TopLevel* top_level); |
| 289 | 289 |
| 290 // Support for parsing libraries. | 290 // Support for parsing libraries. |
| 291 Dart_Handle CallLibraryTagHandler(Dart_LibraryTag tag, | 291 Dart_Handle CallLibraryTagHandler(Dart_LibraryTag tag, |
| 292 intptr_t token_pos, | 292 intptr_t token_pos, |
| 293 const String& url); | 293 const String& url); |
| 294 void ParseIdentList(GrowableObjectArray* names); |
| 294 void ParseLibraryDefinition(); | 295 void ParseLibraryDefinition(); |
| 295 void ParseLibraryName(); | 296 void ParseLibraryName(); |
| 296 void ParseLibraryImportExport(); | 297 void ParseLibraryImportExport(); |
| 297 void ParseLibraryPart(); | 298 void ParseLibraryPart(); |
| 298 void ParseLibraryNameObsoleteSyntax(); | 299 void ParseLibraryNameObsoleteSyntax(); |
| 299 void ParseLibraryImportObsoleteSyntax(); | 300 void ParseLibraryImportObsoleteSyntax(); |
| 300 void ParseLibraryIncludeObsoleteSyntax(); | 301 void ParseLibraryIncludeObsoleteSyntax(); |
| 301 | 302 |
| 302 void ResolveTypeFromClass(const Class& cls, | 303 void ResolveTypeFromClass(const Class& cls, |
| 303 ClassFinalizer::FinalizationKind finalization, | 304 ClassFinalizer::FinalizationKind finalization, |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 606 | 607 |
| 607 // Allocate temporary only once per function. | 608 // Allocate temporary only once per function. |
| 608 LocalVariable* expression_temp_; | 609 LocalVariable* expression_temp_; |
| 609 | 610 |
| 610 DISALLOW_COPY_AND_ASSIGN(Parser); | 611 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 611 }; | 612 }; |
| 612 | 613 |
| 613 } // namespace dart | 614 } // namespace dart |
| 614 | 615 |
| 615 #endif // VM_PARSER_H_ | 616 #endif // VM_PARSER_H_ |
| OLD | NEW |