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

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

Issue 49853004: Implement stricter rule about self referencing typedefs (fix issue 13675). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month 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
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 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 AstNode* ParseVariableDeclarationList(); 527 AstNode* ParseVariableDeclarationList();
528 AstNode* ParseFunctionStatement(bool is_literal); 528 AstNode* ParseFunctionStatement(bool is_literal);
529 AstNode* ParseStatement(); 529 AstNode* ParseStatement();
530 SequenceNode* ParseNestedStatement(bool parsing_loop_body, 530 SequenceNode* ParseNestedStatement(bool parsing_loop_body,
531 SourceLabel* label); 531 SourceLabel* label);
532 void ParseStatementSequence(); 532 void ParseStatementSequence();
533 bool IsIdentifier(); 533 bool IsIdentifier();
534 bool IsSimpleLiteral(const AbstractType& type, Instance* value); 534 bool IsSimpleLiteral(const AbstractType& type, Instance* value);
535 bool IsFunctionTypeAliasName(); 535 bool IsFunctionTypeAliasName();
536 bool IsMixinTypedef(); 536 bool IsMixinTypedef();
537 bool TryParseTypeParameter(); 537 bool TryParseTypeParameters();
538 bool TryParseOptionalType(); 538 bool TryParseOptionalType();
539 bool TryParseReturnType(); 539 bool TryParseReturnType();
540 bool IsVariableDeclaration(); 540 bool IsVariableDeclaration();
541 bool IsFunctionDeclaration(); 541 bool IsFunctionDeclaration();
542 bool IsFunctionLiteral(); 542 bool IsFunctionLiteral();
543 bool IsForInStatement(); 543 bool IsForInStatement();
544 bool IsTopLevelAccessor(); 544 bool IsTopLevelAccessor();
545 545
546 AstNode* ParseBinaryExpr(int min_preced); 546 AstNode* ParseBinaryExpr(int min_preced);
547 LiteralNode* ParseConstExpr(); 547 LiteralNode* ParseConstExpr();
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 intptr_t last_used_try_index_; 719 intptr_t last_used_try_index_;
720 720
721 bool unregister_pending_function_; 721 bool unregister_pending_function_;
722 722
723 DISALLOW_COPY_AND_ASSIGN(Parser); 723 DISALLOW_COPY_AND_ASSIGN(Parser);
724 }; 724 };
725 725
726 } // namespace dart 726 } // namespace dart
727 727
728 #endif // VM_PARSER_H_ 728 #endif // VM_PARSER_H_
OLDNEW
« runtime/vm/object.cc ('K') | « runtime/vm/object.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698