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

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

Issue 11712002: Remove NoSuchMethodErrorImplementation class and use NoSuchMethodError from core (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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/flow_graph_builder.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 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
566 AstNode* node, 566 AstNode* node,
567 LocalScope* scope); 567 LocalScope* scope);
568 568
569 SequenceNode* MakeImplicitConstructor(const Function& func); 569 SequenceNode* MakeImplicitConstructor(const Function& func);
570 AstNode* MakeStaticCall(const String& cls_name, 570 AstNode* MakeStaticCall(const String& cls_name,
571 const String& func_name, 571 const String& func_name,
572 ArgumentListNode* arguments); 572 ArgumentListNode* arguments);
573 String& Interpolate(ArrayNode* values); 573 String& Interpolate(ArrayNode* values);
574 AstNode* MakeAssertCall(intptr_t begin, intptr_t end); 574 AstNode* MakeAssertCall(intptr_t begin, intptr_t end);
575 AstNode* ThrowTypeError(intptr_t type_pos, const AbstractType& type); 575 AstNode* ThrowTypeError(intptr_t type_pos, const AbstractType& type);
576 AstNode* ThrowNoSuchMethodError(intptr_t call_pos, const String& name); 576 AstNode* ThrowNoSuchMethodError(intptr_t call_pos,
577 const Class& cls,
578 const String& function_name);
577 579
578 void CheckOperatorArity(const MemberDesc& member); 580 void CheckOperatorArity(const MemberDesc& member);
579 581
580 const LocalVariable* GetIncrementTempLocal(); 582 const LocalVariable* GetIncrementTempLocal();
581 void EnsureExpressionTemp(); 583 void EnsureExpressionTemp();
582 AstNode* CreateAssignmentNode(AstNode* original, AstNode* rhs); 584 AstNode* CreateAssignmentNode(AstNode* original, AstNode* rhs);
583 AstNode* InsertClosureCallNodes(AstNode* condition); 585 AstNode* InsertClosureCallNodes(AstNode* condition);
584 586
585 ConstructorCallNode* CreateConstructorCallNode( 587 ConstructorCallNode* CreateConstructorCallNode(
586 intptr_t token_pos, 588 intptr_t token_pos,
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 629
628 // Allocate temporary only once per function. 630 // Allocate temporary only once per function.
629 LocalVariable* expression_temp_; 631 LocalVariable* expression_temp_;
630 632
631 DISALLOW_COPY_AND_ASSIGN(Parser); 633 DISALLOW_COPY_AND_ASSIGN(Parser);
632 }; 634 };
633 635
634 } // namespace dart 636 } // namespace dart
635 637
636 #endif // VM_PARSER_H_ 638 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698