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

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

Issue 681003002: Replace ${name} with $name where possible. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Clean up also implementation Created 6 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) 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 // This code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library engine.utilities.collection; 8 library engine.utilities.collection;
9 9
10 import 'dart:collection'; 10 import 'dart:collection';
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 static int setEnum(int array, Enum index, bool value) => set(array, index.ordi nal, value); 71 static int setEnum(int array, Enum index, bool value) => set(array, index.ordi nal, value);
72 72
73 /** 73 /**
74 * Throw an exception if the index is not within the bounds allowed for an int eger-encoded array 74 * Throw an exception if the index is not within the bounds allowed for an int eger-encoded array
75 * of boolean values. 75 * of boolean values.
76 * 76 *
77 * @throws IndexOutOfBoundsException if the index is not between zero (0) and 31, inclusive 77 * @throws IndexOutOfBoundsException if the index is not between zero (0) and 31, inclusive
78 */ 78 */
79 static void _checkIndex(int index) { 79 static void _checkIndex(int index) {
80 if (index < 0 || index > 30) { 80 if (index < 0 || index > 30) {
81 throw new RangeError("Index not between 0 and 30: ${index}"); 81 throw new RangeError("Index not between 0 and 30: $index");
82 } 82 }
83 } 83 }
84 } 84 }
85 85
86 /** 86 /**
87 * Instances of the class `DirectedGraph` implement a directed graph in which th e nodes are 87 * Instances of the class `DirectedGraph` implement a directed graph in which th e nodes are
88 * arbitrary (client provided) objects and edges are represented implicitly. The graph will allow an 88 * arbitrary (client provided) objects and edges are represented implicitly. The graph will allow an
89 * edge from any node to any other node, including itself, but will not represen t multiple edges 89 * edge from any node to any other node, including itself, but will not represen t multiple edges
90 * between the same pair of nodes. 90 * between the same pair of nodes.
91 * 91 *
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 732
733 @override 733 @override
734 void set value(V newValue) { 734 void set value(V newValue) {
735 if (_currentKey == null) { 735 if (_currentKey == null) {
736 throw new NoSuchElementException(); 736 throw new NoSuchElementException();
737 } 737 }
738 _currentValue = newValue; 738 _currentValue = newValue;
739 _map[_currentKey] = newValue; 739 _map[_currentKey] = newValue;
740 } 740 }
741 } 741 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/testing/element_factory.dart ('k') | pkg/analyzer/lib/src/services/formatter_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698