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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 // Support for parsing of scripts. | 329 // Support for parsing of scripts. |
330 void ParseTopLevel(); | 330 void ParseTopLevel(); |
331 void ParseClassDefinition(const GrowableObjectArray& pending_classes); | 331 void ParseClassDefinition(const GrowableObjectArray& pending_classes); |
332 void ParseMixinTypedef(const GrowableObjectArray& pending_classes); | 332 void ParseMixinTypedef(const GrowableObjectArray& pending_classes); |
333 void ParseTypedef(const GrowableObjectArray& pending_classes); | 333 void ParseTypedef(const GrowableObjectArray& pending_classes); |
334 void ParseTopLevelVariable(TopLevel* top_level); | 334 void ParseTopLevelVariable(TopLevel* top_level); |
335 void ParseTopLevelFunction(TopLevel* top_level); | 335 void ParseTopLevelFunction(TopLevel* top_level); |
336 void ParseTopLevelAccessor(TopLevel* top_level); | 336 void ParseTopLevelAccessor(TopLevel* top_level); |
337 | 337 |
338 // Support for parsing libraries. | 338 // Support for parsing libraries. |
339 Dart_Handle CallLibraryTagHandler(Dart_LibraryTag tag, | 339 RawObject* CallLibraryTagHandler(Dart_LibraryTag tag, |
340 intptr_t token_pos, | 340 intptr_t token_pos, |
341 const String& url); | 341 const String& url); |
342 void ParseIdentList(GrowableObjectArray* names); | 342 void ParseIdentList(GrowableObjectArray* names); |
343 void ParseLibraryDefinition(); | 343 void ParseLibraryDefinition(); |
344 void ParseLibraryName(); | 344 void ParseLibraryName(); |
345 void ParseLibraryImportExport(); | 345 void ParseLibraryImportExport(); |
346 void ParseLibraryPart(); | 346 void ParseLibraryPart(); |
347 void ParsePartHeader(); | 347 void ParsePartHeader(); |
348 void ParseLibraryNameObsoleteSyntax(); | 348 void ParseLibraryNameObsoleteSyntax(); |
349 void ParseLibraryImportObsoleteSyntax(); | 349 void ParseLibraryImportObsoleteSyntax(); |
350 void ParseLibraryIncludeObsoleteSyntax(); | 350 void ParseLibraryIncludeObsoleteSyntax(); |
351 | 351 |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
673 // code at all points in the try block where an exit from the block is | 673 // code at all points in the try block where an exit from the block is |
674 // done using 'return', 'break' or 'continue' statements. | 674 // done using 'return', 'break' or 'continue' statements. |
675 TryBlocks* try_blocks_list_; | 675 TryBlocks* try_blocks_list_; |
676 | 676 |
677 DISALLOW_COPY_AND_ASSIGN(Parser); | 677 DISALLOW_COPY_AND_ASSIGN(Parser); |
678 }; | 678 }; |
679 | 679 |
680 } // namespace dart | 680 } // namespace dart |
681 | 681 |
682 #endif // VM_PARSER_H_ | 682 #endif // VM_PARSER_H_ |
OLD | NEW |