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

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

Issue 303303002: Address TODOs and remove obsolete ones. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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.h ('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 "platform/assert.h" 10 #include "platform/assert.h"
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 ArgumentListNode* arguments); 645 ArgumentListNode* arguments);
646 String& Interpolate(const GrowableArray<AstNode*>& values); 646 String& Interpolate(const GrowableArray<AstNode*>& values);
647 AstNode* MakeAssertCall(intptr_t begin, intptr_t end); 647 AstNode* MakeAssertCall(intptr_t begin, intptr_t end);
648 AstNode* ThrowTypeError(intptr_t type_pos, const AbstractType& type); 648 AstNode* ThrowTypeError(intptr_t type_pos, const AbstractType& type);
649 AstNode* ThrowNoSuchMethodError(intptr_t call_pos, 649 AstNode* ThrowNoSuchMethodError(intptr_t call_pos,
650 const Class& cls, 650 const Class& cls,
651 const String& function_name, 651 const String& function_name,
652 ArgumentListNode* function_arguments, 652 ArgumentListNode* function_arguments,
653 InvocationMirror::Call call, 653 InvocationMirror::Call call,
654 InvocationMirror::Type type, 654 InvocationMirror::Type type,
655 Function* func); 655 const Function* func);
656 656
657 void CheckOperatorArity(const MemberDesc& member); 657 void CheckOperatorArity(const MemberDesc& member);
658 658
659 void EnsureExpressionTemp(); 659 void EnsureExpressionTemp();
660 void EnsureSavedCurrentContext(); 660 void EnsureSavedCurrentContext();
661 bool IsLegalAssignableSyntax(AstNode* expr, intptr_t end_pos); 661 bool IsLegalAssignableSyntax(AstNode* expr, intptr_t end_pos);
662 AstNode* CreateAssignmentNode(AstNode* original, 662 AstNode* CreateAssignmentNode(AstNode* original,
663 AstNode* rhs, 663 AstNode* rhs,
664 const String* left_ident, 664 const String* left_ident,
665 intptr_t left_pos); 665 intptr_t left_pos);
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 intptr_t last_used_try_index_; 735 intptr_t last_used_try_index_;
736 736
737 bool unregister_pending_function_; 737 bool unregister_pending_function_;
738 738
739 DISALLOW_COPY_AND_ASSIGN(Parser); 739 DISALLOW_COPY_AND_ASSIGN(Parser);
740 }; 740 };
741 741
742 } // namespace dart 742 } // namespace dart
743 743
744 #endif // VM_PARSER_H_ 744 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698