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

Side by Side Diff: dart/lib/compiler/implementation/scanner/byte_strings.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 parser;
6
7 /** 5 /**
8 * An abstract string representation. 6 * An abstract string representation.
9 */ 7 */
10 class ByteString implements SourceString { 8 class ByteString implements SourceString {
11 final List<int> bytes; 9 final List<int> bytes;
12 final int offset; 10 final int offset;
13 final int length; 11 final int length;
14 int _hashCode; 12 int _hashCode;
15 13
16 ByteString(List<int> this.bytes, int this.offset, int this.length); 14 ByteString(List<int> this.bytes, int this.offset, int this.length);
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 * A ByteString-valued token. 135 * A ByteString-valued token.
138 */ 136 */
139 class ByteStringToken extends Token { 137 class ByteStringToken extends Token {
140 final ByteString value; 138 final ByteString value;
141 139
142 ByteStringToken(PrecedenceInfo info, ByteString this.value, int charOffset) 140 ByteStringToken(PrecedenceInfo info, ByteString this.value, int charOffset)
143 : super(info, charOffset); 141 : super(info, charOffset);
144 142
145 String toString() => value.toString(); 143 String toString() => value.toString();
146 } 144 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698