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

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

Issue 24240010: Implement symbol literals in the VM compiler (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 3 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/intrinsifier.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 "lib/invocation_mirror.h" 10 #include "lib/invocation_mirror.h"
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 AstNode* ParseExprList(); 548 AstNode* ParseExprList();
549 AstNode* ParseConditionalExpr(); 549 AstNode* ParseConditionalExpr();
550 AstNode* ParseUnaryExpr(); 550 AstNode* ParseUnaryExpr();
551 AstNode* ParsePostfixExpr(); 551 AstNode* ParsePostfixExpr();
552 AstNode* ParseSelectors(AstNode* primary, bool is_cascade); 552 AstNode* ParseSelectors(AstNode* primary, bool is_cascade);
553 AstNode* ParseCascades(AstNode* expr); 553 AstNode* ParseCascades(AstNode* expr);
554 AstNode* ParsePrimary(); 554 AstNode* ParsePrimary();
555 AstNode* ParseStringLiteral(); 555 AstNode* ParseStringLiteral();
556 String* ParseImportStringLiteral(); 556 String* ParseImportStringLiteral();
557 AstNode* ParseCompoundLiteral(); 557 AstNode* ParseCompoundLiteral();
558 AstNode* ParseSymbolLiteral();
558 AstNode* ParseListLiteral(intptr_t type_pos, 559 AstNode* ParseListLiteral(intptr_t type_pos,
559 bool is_const, 560 bool is_const,
560 const AbstractTypeArguments& type_arguments); 561 const AbstractTypeArguments& type_arguments);
561 AstNode* ParseMapLiteral(intptr_t type_pos, 562 AstNode* ParseMapLiteral(intptr_t type_pos,
562 bool is_const, 563 bool is_const,
563 const AbstractTypeArguments& type_arguments); 564 const AbstractTypeArguments& type_arguments);
564 AstNode* ParseNewOperator(Token::Kind op_kind); 565 AstNode* ParseNewOperator(Token::Kind op_kind);
565 566
566 // An implicit argument, if non-null, is prepended to the returned list. 567 // An implicit argument, if non-null, is prepended to the returned list.
567 ArgumentListNode* ParseActualParameters(ArgumentListNode* implicit_arguments, 568 ArgumentListNode* ParseActualParameters(ArgumentListNode* implicit_arguments,
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 intptr_t last_used_try_index_; 711 intptr_t last_used_try_index_;
711 712
712 bool unregister_pending_function_; 713 bool unregister_pending_function_;
713 714
714 DISALLOW_COPY_AND_ASSIGN(Parser); 715 DISALLOW_COPY_AND_ASSIGN(Parser);
715 }; 716 };
716 717
717 } // namespace dart 718 } // namespace dart
718 719
719 #endif // VM_PARSER_H_ 720 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « runtime/vm/intrinsifier.h ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698