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

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

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

Powered by Google App Engine
This is Rietveld 408576698