| 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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 StaticCallNode* BuildInvocationMirrorAllocation( | 361 StaticCallNode* BuildInvocationMirrorAllocation( |
| 362 intptr_t call_pos, | 362 intptr_t call_pos, |
| 363 const String& function_name, | 363 const String& function_name, |
| 364 const ArgumentListNode& function_args); | 364 const ArgumentListNode& function_args); |
| 365 ArgumentListNode* BuildNoSuchMethodArguments( | 365 ArgumentListNode* BuildNoSuchMethodArguments( |
| 366 intptr_t call_pos, | 366 intptr_t call_pos, |
| 367 const String& function_name, | 367 const String& function_name, |
| 368 const ArgumentListNode& function_args); | 368 const ArgumentListNode& function_args); |
| 369 RawFunction* GetSuperFunction(intptr_t token_pos, | 369 RawFunction* GetSuperFunction(intptr_t token_pos, |
| 370 const String& name, | 370 const String& name, |
| 371 ArgumentListNode* arguments, |
| 371 bool resolve_getter, | 372 bool resolve_getter, |
| 372 bool* is_no_such_method); | 373 bool* is_no_such_method); |
| 373 AstNode* ParseSuperCall(const String& function_name); | 374 AstNode* ParseSuperCall(const String& function_name); |
| 374 AstNode* ParseSuperFieldAccess(const String& field_name); | 375 AstNode* ParseSuperFieldAccess(const String& field_name); |
| 375 AstNode* ParseSuperOperator(); | 376 AstNode* ParseSuperOperator(); |
| 376 AstNode* BuildUnarySuperOperator(Token::Kind op, PrimaryNode* super); | 377 AstNode* BuildUnarySuperOperator(Token::Kind op, PrimaryNode* super); |
| 377 | 378 |
| 378 static void SetupDefaultsForOptionalParams(const ParamList* params, | 379 static void SetupDefaultsForOptionalParams(const ParamList* params, |
| 379 Array& default_values); | 380 Array& default_values); |
| 380 AstNode* CreateImplicitClosureNode(const Function& func, | 381 AstNode* CreateImplicitClosureNode(const Function& func, |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 626 | 627 |
| 627 // Allocate temporary only once per function. | 628 // Allocate temporary only once per function. |
| 628 LocalVariable* expression_temp_; | 629 LocalVariable* expression_temp_; |
| 629 | 630 |
| 630 DISALLOW_COPY_AND_ASSIGN(Parser); | 631 DISALLOW_COPY_AND_ASSIGN(Parser); |
| 631 }; | 632 }; |
| 632 | 633 |
| 633 } // namespace dart | 634 } // namespace dart |
| 634 | 635 |
| 635 #endif // VM_PARSER_H_ | 636 #endif // VM_PARSER_H_ |
| OLD | NEW |