| 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 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 void AddInterfaceIfUnique(intptr_t interfaces_pos, | 349 void AddInterfaceIfUnique(intptr_t interfaces_pos, |
| 350 const GrowableObjectArray& interface_list, | 350 const GrowableObjectArray& interface_list, |
| 351 const AbstractType& interface); | 351 const AbstractType& interface); |
| 352 void AddInterfaces(intptr_t interfaces_pos, | 352 void AddInterfaces(intptr_t interfaces_pos, |
| 353 const Class& cls, | 353 const Class& cls, |
| 354 const Array& interfaces); | 354 const Array& interfaces); |
| 355 ArgumentListNode* BuildNoSuchMethodArguments( | 355 ArgumentListNode* BuildNoSuchMethodArguments( |
| 356 const String& function_name, const ArgumentListNode& function_args); | 356 const String& function_name, const ArgumentListNode& function_args); |
| 357 RawFunction* GetSuperFunction(intptr_t token_pos, | 357 RawFunction* GetSuperFunction(intptr_t token_pos, |
| 358 const String& name, | 358 const String& name, |
| 359 bool resolve_getter, |
| 359 bool* is_no_such_method); | 360 bool* is_no_such_method); |
| 360 AstNode* ParseSuperCall(const String& function_name); | 361 AstNode* ParseSuperCall(const String& function_name); |
| 361 AstNode* ParseSuperFieldAccess(const String& field_name); | 362 AstNode* ParseSuperFieldAccess(const String& field_name); |
| 362 AstNode* ParseSuperOperator(); | 363 AstNode* ParseSuperOperator(); |
| 363 | 364 |
| 364 static void SetupDefaultsForOptionalParams(const ParamList* params, | 365 static void SetupDefaultsForOptionalParams(const ParamList* params, |
| 365 Array& default_values); | 366 Array& default_values); |
| 366 AstNode* CreateImplicitClosureNode(const Function& func, | 367 AstNode* CreateImplicitClosureNode(const Function& func, |
| 367 intptr_t token_pos, | 368 intptr_t token_pos, |
| 368 AstNode* receiver); | 369 AstNode* receiver); |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 | 612 |
| 612 // Allocate temporary only once per function. | 613 // Allocate temporary only once per function. |
| 613 LocalVariable* expression_temp_; | 614 LocalVariable* expression_temp_; |
| 614 | 615 |
| 615 DISALLOW_COPY_AND_ASSIGN(Parser); | 616 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 616 }; | 617 }; |
| 617 | 618 |
| 618 } // namespace dart | 619 } // namespace dart |
| 619 | 620 |
| 620 #endif // VM_PARSER_H_ | 621 #endif // VM_PARSER_H_ |
| OLD | NEW |