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

Side by Side Diff: sdk/lib/core/uri.dart

Issue 1409523003: Trace through const objects instead of spying on flow graph construction to find closure functions.… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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
« no previous file with comments | « runtime/vm/precompiler.cc ('k') | no next file » | 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) 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 dart.core; 5 part of dart.core;
6 6
7 /** 7 /**
8 * A parsed URI, such as a URL. 8 * A parsed URI, such as a URL.
9 * 9 *
10 * **See also:** 10 * **See also:**
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 // segment = *pchar 206 // segment = *pchar
207 // segment-nz = 1*pchar 207 // segment-nz = 1*pchar
208 // segment-nz-nc = 1*( unreserved / pct-encoded / sub-delims / "@" ) 208 // segment-nz-nc = 1*( unreserved / pct-encoded / sub-delims / "@" )
209 // ; non-zero-length segment without any colon ":" 209 // ; non-zero-length segment without any colon ":"
210 // 210 //
211 // pchar = unreserved / pct-encoded / sub-delims / ":" / "@" 211 // pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
212 // 212 //
213 // query = *( pchar / "/" / "?" ) 213 // query = *( pchar / "/" / "?" )
214 // 214 //
215 // fragment = *( pchar / "/" / "?" ) 215 // fragment = *( pchar / "/" / "?" )
216 bool isRegName(int ch) {
217 return ch < 128 && ((_regNameTable[ch >> 4] & (1 << (ch & 0x0f))) != 0);
218 }
219 const int EOI = -1; 216 const int EOI = -1;
220 217
221 String scheme = ""; 218 String scheme = "";
222 String userinfo = ""; 219 String userinfo = "";
223 String host = null; 220 String host = null;
224 int port = null; 221 int port = null;
225 String path = null; 222 String path = null;
226 String query = null; 223 String query = null;
227 String fragment = null; 224 String fragment = null;
228 if (end == null) end = uri.length; 225 if (end == null) end = uri.length;
(...skipping 2362 matching lines...) Expand 10 before | Expand all | Expand 10 after
2591 0xafff, // 0x30 - 0x3f 1111111111110101 2588 0xafff, // 0x30 - 0x3f 1111111111110101
2592 // @ABCDEFGHIJKLMNO 2589 // @ABCDEFGHIJKLMNO
2593 0xffff, // 0x40 - 0x4f 1111111111111111 2590 0xffff, // 0x40 - 0x4f 1111111111111111
2594 // PQRSTUVWXYZ _ 2591 // PQRSTUVWXYZ _
2595 0x87ff, // 0x50 - 0x5f 1111111111100001 2592 0x87ff, // 0x50 - 0x5f 1111111111100001
2596 // abcdefghijklmno 2593 // abcdefghijklmno
2597 0xfffe, // 0x60 - 0x6f 0111111111111111 2594 0xfffe, // 0x60 - 0x6f 0111111111111111
2598 // pqrstuvwxyz ~ 2595 // pqrstuvwxyz ~
2599 0x47ff]; // 0x70 - 0x7f 1111111111100010 2596 0x47ff]; // 0x70 - 0x7f 1111111111100010
2600 } 2597 }
OLDNEW
« no previous file with comments | « runtime/vm/precompiler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698