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

Side by Side Diff: dart/lib/compiler/implementation/scanner/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, 2 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
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 part of scanner;
6
7 /** 5 /**
8 * An event generating parser of Dart programs. This parser expects 6 * An event generating parser of Dart programs. This parser expects
9 * all tokens in a linked list (aka a token stream). 7 * all tokens in a linked list (aka a token stream).
10 * 8 *
11 * The class [Scanner] is used to generate a token stream. See the 9 * The class [Scanner] is used to generate a token stream. See the
12 * file scanner.dart. 10 * file scanner.dart.
13 * 11 *
14 * Subclasses of the class [Listener] are used to listen to events. 12 * Subclasses of the class [Listener] are used to listen to events.
15 * 13 *
16 * Most methods of this class belong in one of two major categories: 14 * Most methods of this class belong in one of two major categories:
(...skipping 2145 matching lines...) Expand 10 before | Expand all | Expand 10 after
2162 } 2160 }
2163 listener.handleContinueStatement(hasTarget, continueKeyword, token); 2161 listener.handleContinueStatement(hasTarget, continueKeyword, token);
2164 return expectSemicolon(token); 2162 return expectSemicolon(token);
2165 } 2163 }
2166 2164
2167 Token parseEmptyStatement(Token token) { 2165 Token parseEmptyStatement(Token token) {
2168 listener.handleEmptyStatement(token); 2166 listener.handleEmptyStatement(token);
2169 return expectSemicolon(token); 2167 return expectSemicolon(token);
2170 } 2168 }
2171 } 2169 }
OLDNEW
« no previous file with comments | « dart/lib/compiler/implementation/scanner/listener.dart ('k') | dart/lib/compiler/implementation/scanner/parser_task.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698