Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(592)

Side by Side Diff: runtime/vm/parser.h

Issue 1073623002: Fix spurious resume when awaiting future in async* code (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "platform/assert.h" 10 #include "platform/assert.h"
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 void SkipSymbolLiteral(); 343 void SkipSymbolLiteral();
344 void SkipNewOperator(); 344 void SkipNewOperator();
345 void SkipActualParameters(); 345 void SkipActualParameters();
346 void SkipMapLiteral(); 346 void SkipMapLiteral();
347 void SkipListLiteral(); 347 void SkipListLiteral();
348 void SkipFunctionLiteral(); 348 void SkipFunctionLiteral();
349 void SkipStringLiteral(); 349 void SkipStringLiteral();
350 void SkipQualIdent(); 350 void SkipQualIdent();
351 void SkipFunctionPreamble(); 351 void SkipFunctionPreamble();
352 352
353 AstNode* DartPrint(const char* str);
354
353 void CheckConstructorCallTypeArguments(intptr_t pos, 355 void CheckConstructorCallTypeArguments(intptr_t pos,
354 const Function& constructor, 356 const Function& constructor,
355 const TypeArguments& type_arguments); 357 const TypeArguments& type_arguments);
356 358
357 // Report already formatted error. 359 // Report already formatted error.
358 static void ReportError(const Error& error); 360 static void ReportError(const Error& error);
359 361
360 // Concatenate and report an already formatted error and a new error message. 362 // Concatenate and report an already formatted error and a new error message.
361 static void ReportErrors(const Error& prev_error, 363 static void ReportErrors(const Error& prev_error,
362 const Script& script, intptr_t token_pos, 364 const Script& script, intptr_t token_pos,
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 862
861 // Indentation of parser trace. 863 // Indentation of parser trace.
862 intptr_t trace_indent_; 864 intptr_t trace_indent_;
863 865
864 DISALLOW_COPY_AND_ASSIGN(Parser); 866 DISALLOW_COPY_AND_ASSIGN(Parser);
865 }; 867 };
866 868
867 } // namespace dart 869 } // namespace dart
868 870
869 #endif // VM_PARSER_H_ 871 #endif // VM_PARSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698