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

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

Issue 10913138: VM can parse and ignore metadata (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 | « 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 void ConsumeRightAngleBracket(); 209 void ConsumeRightAngleBracket();
210 void ExpectToken(Token::Kind token_expected); 210 void ExpectToken(Token::Kind token_expected);
211 void ExpectSemicolon(); 211 void ExpectSemicolon();
212 void UnexpectedToken(); 212 void UnexpectedToken();
213 String* ExpectClassIdentifier(const char* msg); 213 String* ExpectClassIdentifier(const char* msg);
214 String* ExpectIdentifier(const char* msg); 214 String* ExpectIdentifier(const char* msg);
215 bool IsLiteral(const char* literal); 215 bool IsLiteral(const char* literal);
216 216
217 void SkipIf(Token::Kind); 217 void SkipIf(Token::Kind);
218 void SkipBlock(); 218 void SkipBlock();
219 void SkipMetadata();
219 void SkipToMatchingParenthesis(); 220 void SkipToMatchingParenthesis();
220 void SkipTypeArguments(); 221 void SkipTypeArguments();
221 void SkipType(bool allow_void); 222 void SkipType(bool allow_void);
222 void SkipInitializers(); 223 void SkipInitializers();
223 void SkipExpr(); 224 void SkipExpr();
224 void SkipNestedExpr(); 225 void SkipNestedExpr();
225 void SkipConditionalExpr(); 226 void SkipConditionalExpr();
226 void SkipBinaryExpr(); 227 void SkipBinaryExpr();
227 void SkipUnaryExpr(); 228 void SkipUnaryExpr();
228 void SkipPostfixExpr(); 229 void SkipPostfixExpr();
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 607
607 // Allocate temporary only once per function. 608 // Allocate temporary only once per function.
608 LocalVariable* expression_temp_; 609 LocalVariable* expression_temp_;
609 610
610 DISALLOW_COPY_AND_ASSIGN(Parser); 611 DISALLOW_COPY_AND_ASSIGN(Parser);
611 }; 612 };
612 613
613 } // namespace dart 614 } // namespace dart
614 615
615 #endif // VM_PARSER_H_ 616 #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