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

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

Issue 1693083004: Move scanner out of generated and clean up imports (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: clean up Created 4 years, 10 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
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 analyzer.src.generated.utilities_collection; 5 library analyzer.src.generated.utilities_collection;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 import "dart:math" as math; 8 import "dart:math" as math;
9 9
10 import 'package:analyzer/dart/ast/token.dart';
10 import 'package:analyzer/src/generated/java_core.dart'; 11 import 'package:analyzer/src/generated/java_core.dart';
11 import 'package:analyzer/src/generated/scanner.dart' show Token;
12 12
13 /** 13 /**
14 * Returns `true` if a and b contain equal elements in the same order. 14 * Returns `true` if a and b contain equal elements in the same order.
15 */ 15 */
16 bool listsEqual(List a, List b) { 16 bool listsEqual(List a, List b) {
17 // TODO(rnystrom): package:collection also implements this, and analyzer 17 // TODO(rnystrom): package:collection also implements this, and analyzer
18 // already transitively depends on that package. Consider using it instead. 18 // already transitively depends on that package. Consider using it instead.
19 if (identical(a, b)) { 19 if (identical(a, b)) {
20 return true; 20 return true;
21 } 21 }
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 /** 738 /**
739 * Map the key to the value. 739 * Map the key to the value.
740 * 740 *
741 * @param key the token being mapped to the value 741 * @param key the token being mapped to the value
742 * @param value the token to which the key will be mapped 742 * @param value the token to which the key will be mapped
743 */ 743 */
744 void put(Token key, Token value) { 744 void put(Token key, Token value) {
745 _map[key] = value; 745 _map[key] = value;
746 } 746 }
747 } 747 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/testing/token_factory.dart ('k') | pkg/analyzer/lib/src/summary/resynthesize.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698