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

Side by Side Diff: dart/lib/compiler/implementation/scanner/partial_parser.dart

Issue 11233061: Revert "Parts must start with 'part of'" and "Attempt to fix VM build" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 part of scanner;
6
7 class PartialParser extends Parser { 5 class PartialParser extends Parser {
8 PartialParser(Listener listener) : super(listener); 6 PartialParser(Listener listener) : super(listener);
9 7
10 Token parseClassBody(Token token) => skipClassBody(token); 8 Token parseClassBody(Token token) => skipClassBody(token);
11 9
12 Token fullParseClassBody(Token token) => super.parseClassBody(token); 10 Token fullParseClassBody(Token token) => super.parseClassBody(token);
13 11
14 Token parseExpression(Token token) => skipExpression(token); 12 Token parseExpression(Token token) => skipExpression(token);
15 13
16 Token parseArgumentsOpt(Token token) { 14 Token parseArgumentsOpt(Token token) {
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 return token; 119 return token;
122 } 120 }
123 return listener.unexpected(token); 121 return listener.unexpected(token);
124 } 122 }
125 BeginGroupToken beginGroupToken = token; 123 BeginGroupToken beginGroupToken = token;
126 Token endToken = beginGroupToken.endGroup; 124 Token endToken = beginGroupToken.endGroup;
127 listener.endFormalParameters(0, token, endToken); 125 listener.endFormalParameters(0, token, endToken);
128 return endToken.next; 126 return endToken.next;
129 } 127 }
130 } 128 }
OLDNEW
« no previous file with comments | « dart/lib/compiler/implementation/scanner/parser_task.dart ('k') | dart/lib/compiler/implementation/scanner/scanner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698