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

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

Issue 1234883005: Implement tear-off closure operator # (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Address review comments Created 5 years, 5 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 | « runtime/vm/object.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 "platform/assert.h" 10 #include "platform/assert.h"
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 static const bool kNoCascades = false; 687 static const bool kNoCascades = false;
688 AstNode* ParseAwaitableExpr(bool require_compiletime_const, 688 AstNode* ParseAwaitableExpr(bool require_compiletime_const,
689 bool consume_cascades, 689 bool consume_cascades,
690 SequenceNode** await_preamble); 690 SequenceNode** await_preamble);
691 AstNode* ParseExpr(bool require_compiletime_const, bool consume_cascades); 691 AstNode* ParseExpr(bool require_compiletime_const, bool consume_cascades);
692 AstNode* ParseAwaitableExprList(); 692 AstNode* ParseAwaitableExprList();
693 AstNode* ParseConditionalExpr(); 693 AstNode* ParseConditionalExpr();
694 AstNode* ParseUnaryExpr(); 694 AstNode* ParseUnaryExpr();
695 AstNode* ParsePostfixExpr(); 695 AstNode* ParsePostfixExpr();
696 AstNode* ParseSelectors(AstNode* primary, bool is_cascade); 696 AstNode* ParseSelectors(AstNode* primary, bool is_cascade);
697 AstNode* ParseClosurization(AstNode* primary);
697 AstNode* ParseCascades(AstNode* expr); 698 AstNode* ParseCascades(AstNode* expr);
698 AstNode* ParsePrimary(); 699 AstNode* ParsePrimary();
699 AstNode* ParseStringLiteral(bool allow_interpolation); 700 AstNode* ParseStringLiteral(bool allow_interpolation);
700 String* ParseImportStringLiteral(); 701 String* ParseImportStringLiteral();
701 AstNode* ParseCompoundLiteral(); 702 AstNode* ParseCompoundLiteral();
702 AstNode* ParseSymbolLiteral(); 703 AstNode* ParseSymbolLiteral();
703 AstNode* ParseListLiteral(intptr_t type_pos, 704 AstNode* ParseListLiteral(intptr_t type_pos,
704 bool is_const, 705 bool is_const,
705 const TypeArguments& type_arguments); 706 const TypeArguments& type_arguments);
706 AstNode* ParseMapLiteral(intptr_t type_pos, 707 AstNode* ParseMapLiteral(intptr_t type_pos,
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 871
871 // Indentation of parser trace. 872 // Indentation of parser trace.
872 intptr_t trace_indent_; 873 intptr_t trace_indent_;
873 874
874 DISALLOW_COPY_AND_ASSIGN(Parser); 875 DISALLOW_COPY_AND_ASSIGN(Parser);
875 }; 876 };
876 877
877 } // namespace dart 878 } // namespace dart
878 879
879 #endif // VM_PARSER_H_ 880 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698