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

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

Issue 10086015: Fix bug 918 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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 "vm/ast.h" 10 #include "vm/ast.h"
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 bool IsIdentifier(); 375 bool IsIdentifier();
376 bool IsFunctionTypeAliasName(); 376 bool IsFunctionTypeAliasName();
377 bool TryParseTypeParameter(); 377 bool TryParseTypeParameter();
378 bool TryParseOptionalType(); 378 bool TryParseOptionalType();
379 bool TryParseReturnType(); 379 bool TryParseReturnType();
380 bool IsVariableDeclaration(); 380 bool IsVariableDeclaration();
381 bool IsFunctionDeclaration(); 381 bool IsFunctionDeclaration();
382 bool IsFunctionLiteral(); 382 bool IsFunctionLiteral();
383 bool IsForInStatement(); 383 bool IsForInStatement();
384 bool IsTopLevelAccessor(); 384 bool IsTopLevelAccessor();
385 bool IsTopLevelFunction();
386 385
387 AstNode* ParseBinaryExpr(int min_preced); 386 AstNode* ParseBinaryExpr(int min_preced);
388 LiteralNode* ParseConstExpr(); 387 LiteralNode* ParseConstExpr();
389 static const bool kRequireConst = true; 388 static const bool kRequireConst = true;
390 static const bool kAllowConst = false; 389 static const bool kAllowConst = false;
391 AstNode* ParseExpr(bool require_compiletime_const); 390 AstNode* ParseExpr(bool require_compiletime_const);
392 AstNode* ParseExprList(); 391 AstNode* ParseExprList();
393 AstNode* ParseConditionalExpr(); 392 AstNode* ParseConditionalExpr();
394 AstNode* ParseUnaryExpr(); 393 AstNode* ParseUnaryExpr();
395 AstNode* ParsePostfixExpr(); 394 AstNode* ParsePostfixExpr();
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 // code at all points in the try block where an exit from the block is 503 // code at all points in the try block where an exit from the block is
505 // done using 'return', 'break' or 'continue' statements. 504 // done using 'return', 'break' or 'continue' statements.
506 TryBlocks* try_blocks_list_; 505 TryBlocks* try_blocks_list_;
507 506
508 DISALLOW_COPY_AND_ASSIGN(Parser); 507 DISALLOW_COPY_AND_ASSIGN(Parser);
509 }; 508 };
510 509
511 } // namespace dart 510 } // namespace dart
512 511
513 #endif // VM_PARSER_H_ 512 #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