| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  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  Loading... | 
|  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_ | 
| OLD | NEW |