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

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

Issue 9314053: Revert Dart_PropagateError until I can track down the problems in (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 10 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
« no previous file with comments | « runtime/vm/object_store.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "vm/ast.h" 10 #include "vm/ast.h"
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 183
184 // Reports error message at location of current token. 184 // Reports error message at location of current token.
185 void ErrorMsg(const char* msg, ...); 185 void ErrorMsg(const char* msg, ...);
186 void ErrorMsg(intptr_t token_index, const char* msg, ...); 186 void ErrorMsg(intptr_t token_index, const char* msg, ...);
187 void Warning(const char* msg, ...); 187 void Warning(const char* msg, ...);
188 void Warning(intptr_t token_index, const char* msg, ...); 188 void Warning(intptr_t token_index, const char* msg, ...);
189 void Unimplemented(const char* msg); 189 void Unimplemented(const char* msg);
190 190
191 const Instance& EvaluateConstExpr(AstNode* expr); 191 const Instance& EvaluateConstExpr(AstNode* expr);
192 void RunStaticFieldInitializer(const Field& field); 192 void RunStaticFieldInitializer(const Field& field);
193 RawObject* EvaluateConstConstructorCall( 193 RawInstance* EvaluateConstConstructorCall(
194 const Class& type_class, 194 const Class& type_class,
195 const AbstractTypeArguments& type_arguments, 195 const AbstractTypeArguments& type_arguments,
196 const Function& constructor, 196 const Function& constructor,
197 ArgumentListNode* arguments); 197 ArgumentListNode* arguments);
198 AstNode* FoldConstExpr(intptr_t expr_pos, AstNode* expr); 198 AstNode* FoldConstExpr(intptr_t expr_pos, AstNode* expr);
199 199
200 // Support for parsing of scripts. 200 // Support for parsing of scripts.
201 void ParseTopLevel(); 201 void ParseTopLevel();
202 void ParseClassDefinition(GrowableArray<const Class*>* classes); 202 void ParseClassDefinition(GrowableArray<const Class*>* classes);
203 void ParseInterfaceDefinition(GrowableArray<const Class*>* classes); 203 void ParseInterfaceDefinition(GrowableArray<const Class*>* classes);
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 // code at all points in the try block where an exit from the block is 455 // code at all points in the try block where an exit from the block is
456 // done using 'return', 'break' or 'continue' statements. 456 // done using 'return', 'break' or 'continue' statements.
457 TryBlocks* try_blocks_list_; 457 TryBlocks* try_blocks_list_;
458 458
459 DISALLOW_COPY_AND_ASSIGN(Parser); 459 DISALLOW_COPY_AND_ASSIGN(Parser);
460 }; 460 };
461 461
462 } // namespace dart 462 } // namespace dart
463 463
464 #endif // VM_PARSER_H_ 464 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « runtime/vm/object_store.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698