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

Side by Side Diff: pkg/analyzer/lib/src/generated/scanner.dart

Issue 1513643009: Clean up package imports and library names (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « pkg/analyzer/lib/src/generated/resolver.dart ('k') | pkg/analyzer/lib/src/generated/sdk.dart » ('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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 library engine.scanner; 5 library analyzer.src.generated.scanner;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 8
9 import 'error.dart'; 9 import 'package:analyzer/src/generated/error.dart';
10 import 'java_engine.dart'; 10 import 'package:analyzer/src/generated/java_engine.dart';
11 import 'source.dart'; 11 import 'package:analyzer/src/generated/source.dart';
12 12
13 /** 13 /**
14 * The opening half of a grouping pair of tokens. This is used for curly 14 * The opening half of a grouping pair of tokens. This is used for curly
15 * brackets ('{'), parentheses ('('), and square brackets ('['). 15 * brackets ('{'), parentheses ('('), and square brackets ('[').
16 */ 16 */
17 class BeginToken extends Token { 17 class BeginToken extends Token {
18 /** 18 /**
19 * The token that corresponds to this token. 19 * The token that corresponds to this token.
20 */ 20 */
21 Token endToken; 21 Token endToken;
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 * Initialize a newly created token to represent a token of the given [type] 239 * Initialize a newly created token to represent a token of the given [type]
240 * with the given [value] at the given [offset]. 240 * with the given [value] at the given [offset].
241 */ 241 */
242 CommentToken(TokenType type, String value, int offset) 242 CommentToken(TokenType type, String value, int offset)
243 : super(type, value, offset); 243 : super(type, value, offset);
244 244
245 @override 245 @override
246 CommentToken copy() => new CommentToken(type, _value, offset); 246 CommentToken copy() => new CommentToken(type, _value, offset);
247 } 247 }
248 248
249
250 /** 249 /**
251 * A documentation comment token. 250 * A documentation comment token.
252 */ 251 */
253 class DocumentationCommentToken extends CommentToken { 252 class DocumentationCommentToken extends CommentToken {
254 /** 253 /**
255 * The references embedded within the documentation comment. 254 * The references embedded within the documentation comment.
256 * This list will be empty unless this is a documentation comment that has 255 * This list will be empty unless this is a documentation comment that has
257 * references embedded within it. 256 * references embedded within it.
258 */ 257 */
259 final List<Token> references = <Token>[]; 258 final List<Token> references = <Token>[];
(...skipping 2440 matching lines...) Expand 10 before | Expand all | Expand 10 after
2700 CommentToken get precedingComments => _precedingComment; 2699 CommentToken get precedingComments => _precedingComment;
2701 2700
2702 void set precedingComments(CommentToken comment) { 2701 void set precedingComments(CommentToken comment) {
2703 _precedingComment = comment; 2702 _precedingComment = comment;
2704 _setCommentParent(_precedingComment); 2703 _setCommentParent(_precedingComment);
2705 } 2704 }
2706 2705
2707 @override 2706 @override
2708 Token copy() => new TokenWithComment(type, offset, precedingComments); 2707 Token copy() => new TokenWithComment(type, offset, precedingComments);
2709 } 2708 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/resolver.dart ('k') | pkg/analyzer/lib/src/generated/sdk.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698