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

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

Issue 1273033007: Fix ??= AST modification (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Address review comments Created 5 years, 4 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
« no previous file with comments | « no previous file | 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 782 matching lines...) Expand 10 before | Expand all | Expand 10 after
793 793
794 void SetupSavedTryContext(LocalVariable* saved_try_context); 794 void SetupSavedTryContext(LocalVariable* saved_try_context);
795 795
796 void CheckOperatorArity(const MemberDesc& member); 796 void CheckOperatorArity(const MemberDesc& member);
797 797
798 void EnsureExpressionTemp(); 798 void EnsureExpressionTemp();
799 bool IsLegalAssignableSyntax(AstNode* expr, intptr_t end_pos); 799 bool IsLegalAssignableSyntax(AstNode* expr, intptr_t end_pos);
800 AstNode* CreateAssignmentNode(AstNode* original, 800 AstNode* CreateAssignmentNode(AstNode* original,
801 AstNode* rhs, 801 AstNode* rhs,
802 const String* left_ident, 802 const String* left_ident,
803 intptr_t left_pos); 803 intptr_t left_pos,
804 bool is_compound = false);
804 AstNode* InsertClosureCallNodes(AstNode* condition); 805 AstNode* InsertClosureCallNodes(AstNode* condition);
805 806
806 ConstructorCallNode* CreateConstructorCallNode( 807 ConstructorCallNode* CreateConstructorCallNode(
807 intptr_t token_pos, 808 intptr_t token_pos,
808 const TypeArguments& type_arguments, 809 const TypeArguments& type_arguments,
809 const Function& constructor, 810 const Function& constructor,
810 ArgumentListNode* arguments); 811 ArgumentListNode* arguments);
811 812
812 void AddEqualityNullCheck(); 813 void AddEqualityNullCheck();
813 814
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
881 882
882 // Indentation of parser trace. 883 // Indentation of parser trace.
883 intptr_t trace_indent_; 884 intptr_t trace_indent_;
884 885
885 DISALLOW_COPY_AND_ASSIGN(Parser); 886 DISALLOW_COPY_AND_ASSIGN(Parser);
886 }; 887 };
887 888
888 } // namespace dart 889 } // namespace dart
889 890
890 #endif // VM_PARSER_H_ 891 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698