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

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

Issue 32513007: Allow string literal concatenation in import clauses (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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 | « 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 "lib/invocation_mirror.h" 10 #include "lib/invocation_mirror.h"
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 static const bool kConsumeCascades = true; 549 static const bool kConsumeCascades = true;
550 static const bool kNoCascades = false; 550 static const bool kNoCascades = false;
551 AstNode* ParseExpr(bool require_compiletime_const, bool consume_cascades); 551 AstNode* ParseExpr(bool require_compiletime_const, bool consume_cascades);
552 AstNode* ParseExprList(); 552 AstNode* ParseExprList();
553 AstNode* ParseConditionalExpr(); 553 AstNode* ParseConditionalExpr();
554 AstNode* ParseUnaryExpr(); 554 AstNode* ParseUnaryExpr();
555 AstNode* ParsePostfixExpr(); 555 AstNode* ParsePostfixExpr();
556 AstNode* ParseSelectors(AstNode* primary, bool is_cascade); 556 AstNode* ParseSelectors(AstNode* primary, bool is_cascade);
557 AstNode* ParseCascades(AstNode* expr); 557 AstNode* ParseCascades(AstNode* expr);
558 AstNode* ParsePrimary(); 558 AstNode* ParsePrimary();
559 AstNode* ParseStringLiteral(); 559 AstNode* ParseStringLiteral(bool allow_interpolation);
560 String* ParseImportStringLiteral(); 560 String* ParseImportStringLiteral();
561 AstNode* ParseCompoundLiteral(); 561 AstNode* ParseCompoundLiteral();
562 AstNode* ParseSymbolLiteral(); 562 AstNode* ParseSymbolLiteral();
563 AstNode* ParseListLiteral(intptr_t type_pos, 563 AstNode* ParseListLiteral(intptr_t type_pos,
564 bool is_const, 564 bool is_const,
565 const AbstractTypeArguments& type_arguments); 565 const AbstractTypeArguments& type_arguments);
566 AstNode* ParseMapLiteral(intptr_t type_pos, 566 AstNode* ParseMapLiteral(intptr_t type_pos,
567 bool is_const, 567 bool is_const,
568 const AbstractTypeArguments& type_arguments); 568 const AbstractTypeArguments& type_arguments);
569 AstNode* ParseNewOperator(Token::Kind op_kind); 569 AstNode* ParseNewOperator(Token::Kind op_kind);
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 intptr_t last_used_try_index_; 718 intptr_t last_used_try_index_;
719 719
720 bool unregister_pending_function_; 720 bool unregister_pending_function_;
721 721
722 DISALLOW_COPY_AND_ASSIGN(Parser); 722 DISALLOW_COPY_AND_ASSIGN(Parser);
723 }; 723 };
724 724
725 } // namespace dart 725 } // namespace dart
726 726
727 #endif // VM_PARSER_H_ 727 #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