| OLD | NEW |
| 1 part of dart.core; | 1 part of dart.core; |
| 2 class Uri {final String _host; | 2 class Uri {final String _host; |
| 3 num _port; | 3 num _port; |
| 4 String _path; | 4 String _path; |
| 5 final String scheme; | 5 final String scheme; |
| 6 String get authority { | 6 String get authority { |
| 7 if (!hasAuthority) return ""; | 7 if (!hasAuthority) return ""; |
| 8 var sb = new StringBuffer(); | 8 var sb = new StringBuffer(); |
| 9 _writeAuthority(sb); | 9 _writeAuthority(sb); |
| 10 return sb.toString(); | 10 return sb.toString(); |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 } | 272 } |
| 273 factory Uri.file(String path, { | 273 factory Uri.file(String path, { |
| 274 bool windows} | 274 bool windows} |
| 275 ) { | 275 ) { |
| 276 windows = windows == null ? Uri._isWindows : windows; | 276 windows = windows == null ? Uri._isWindows : windows; |
| 277 return ((__x12) => DEVC$RT.cast(__x12, dynamic, Uri, "CastGeneral", """line 6
98, column 12 of dart:core/uri.dart: """, __x12 is Uri, true))(windows ? _makeWi
ndowsFileUrl(path) : _makeFileUri(path)); | 277 return ((__x12) => DEVC$RT.cast(__x12, dynamic, Uri, "CastGeneral", """line 6
98, column 12 of dart:core/uri.dart: """, __x12 is Uri, true))(windows ? _makeWi
ndowsFileUrl(path) : _makeFileUri(path)); |
| 278 } | 278 } |
| 279 external static Uri get base; | 279 external static Uri get base; |
| 280 external static bool get _isWindows; | 280 external static bool get _isWindows; |
| 281 static _checkNonWindowsPathReservedCharacters(List<String> segments, bool argum
entError) { | 281 static _checkNonWindowsPathReservedCharacters(List<String> segments, bool argum
entError) { |
| 282 segments.forEach((segment) { | 282 segments.forEach(((__x18) => DEVC$RT.wrap((dynamic f(dynamic __u13)) { |
| 283 dynamic c(dynamic x0) => f(x0); |
| 284 return f == null ? null : c; |
| 285 } |
| 286 , __x18, __t16, __t14, "WrapLiteral", """line 716, column 22 of dart:core/uri.
dart: """, __x18 is __t14))((segment) { |
| 283 if (segment.contains("/")) { | 287 if (segment.contains("/")) { |
| 284 if (argumentError) { | 288 if (argumentError) { |
| 285 throw new ArgumentError("Illegal path character $segment"); | 289 throw new ArgumentError("Illegal path character $segment"); |
| 286 } | 290 } |
| 287 else { | 291 else { |
| 288 throw new UnsupportedError("Illegal path character $segment"); | 292 throw new UnsupportedError("Illegal path character $segment"); |
| 289 } | 293 } |
| 290 } | 294 } |
| 291 } | 295 } |
| 292 ); | 296 )); |
| 293 } | 297 } |
| 294 static _checkWindowsPathReservedCharacters(List<String> segments, bool argument
Error, [int firstSegment = 0]) { | 298 static _checkWindowsPathReservedCharacters(List<String> segments, bool argument
Error, [int firstSegment = 0]) { |
| 295 segments.skip(firstSegment).forEach((segment) { | 299 segments.skip(firstSegment).forEach(((__x20) => DEVC$RT.wrap((dynamic f(dynami
c __u19)) { |
| 300 dynamic c(dynamic x0) => f(x0); |
| 301 return f == null ? null : c; |
| 302 } |
| 303 , __x20, __t16, __t14, "WrapLiteral", """line 730, column 41 of dart:core/uri.
dart: """, __x20 is __t14))((segment) { |
| 296 if (segment.contains(new RegExp(r'["*/:<>?\\|]'))) { | 304 if (segment.contains(new RegExp(r'["*/:<>?\\|]'))) { |
| 297 if (argumentError) { | 305 if (argumentError) { |
| 298 throw new ArgumentError("Illegal character in path"); | 306 throw new ArgumentError("Illegal character in path"); |
| 299 } | 307 } |
| 300 else { | 308 else { |
| 301 throw new UnsupportedError("Illegal character in path"); | 309 throw new UnsupportedError("Illegal character in path"); |
| 302 } | 310 } |
| 303 } | 311 } |
| 304 } | 312 } |
| 305 ); | 313 )); |
| 306 } | 314 } |
| 307 static _checkWindowsDriveLetter(int charCode, bool argumentError) { | 315 static _checkWindowsDriveLetter(int charCode, bool argumentError) { |
| 308 if ((_UPPER_CASE_A <= charCode && charCode <= _UPPER_CASE_Z) || (_LOWER_CASE_A
<= charCode && charCode <= _LOWER_CASE_Z)) { | 316 if ((_UPPER_CASE_A <= charCode && charCode <= _UPPER_CASE_Z) || (_LOWER_CASE_A
<= charCode && charCode <= _LOWER_CASE_Z)) { |
| 309 return;} | 317 return;} |
| 310 if (argumentError) { | 318 if (argumentError) { |
| 311 throw new ArgumentError("Illegal drive letter " + new String.fromCharCode(ch
arCode)); | 319 throw new ArgumentError("Illegal drive letter " + new String.fromCharCode(ch
arCode)); |
| 312 } | 320 } |
| 313 else { | 321 else { |
| 314 throw new UnsupportedError("Illegal drive letter " + new String.fromCharCode
(charCode)); | 322 throw new UnsupportedError("Illegal drive letter " + new String.fromCharCode
(charCode)); |
| 315 } | 323 } |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 if (userInfo != null) { | 392 if (userInfo != null) { |
| 385 userInfo = _makeUserInfo(userInfo, 0, userInfo.length); | 393 userInfo = _makeUserInfo(userInfo, 0, userInfo.length); |
| 386 } | 394 } |
| 387 else { | 395 else { |
| 388 userInfo = this.userInfo; | 396 userInfo = this.userInfo; |
| 389 } | 397 } |
| 390 if (port != null) { | 398 if (port != null) { |
| 391 port = _makePort(port, scheme); | 399 port = _makePort(port, scheme); |
| 392 } | 400 } |
| 393 else { | 401 else { |
| 394 port = ((__x13) => DEVC$RT.cast(__x13, num, int, "CastGeneral", """line 889,
column 14 of dart:core/uri.dart: """, __x13 is int, true))(this._port); | 402 port = ((__x21) => DEVC$RT.cast(__x21, num, int, "CastGeneral", """line 889,
column 14 of dart:core/uri.dart: """, __x21 is int, true))(this._port); |
| 395 if (schemeChanged) { | 403 if (schemeChanged) { |
| 396 port = _makePort(port, scheme); | 404 port = _makePort(port, scheme); |
| 397 } | 405 } |
| 398 } | 406 } |
| 399 if (host != null) { | 407 if (host != null) { |
| 400 host = _makeHost(host, 0, host.length, false); | 408 host = _makeHost(host, 0, host.length, false); |
| 401 } | 409 } |
| 402 else if (this.hasAuthority) { | 410 else if (this.hasAuthority) { |
| 403 host = this.host; | 411 host = this.host; |
| 404 } | 412 } |
| (...skipping 20 matching lines...) Expand all Loading... |
| 425 fragment = _makeFragment(fragment, 0, fragment.length); | 433 fragment = _makeFragment(fragment, 0, fragment.length); |
| 426 } | 434 } |
| 427 else if (this.hasFragment) { | 435 else if (this.hasFragment) { |
| 428 fragment = this.fragment; | 436 fragment = this.fragment; |
| 429 } | 437 } |
| 430 return new Uri._internal(scheme, userInfo, host, port, path, query, fragment)
; | 438 return new Uri._internal(scheme, userInfo, host, port, path, query, fragment)
; |
| 431 } | 439 } |
| 432 List<String> get pathSegments { | 440 List<String> get pathSegments { |
| 433 if (_pathSegments == null) { | 441 if (_pathSegments == null) { |
| 434 var pathToSplit = !path.isEmpty && path.codeUnitAt(0) == _SLASH ? path.subst
ring(1) : path; | 442 var pathToSplit = !path.isEmpty && path.codeUnitAt(0) == _SLASH ? path.subst
ring(1) : path; |
| 435 _pathSegments = ((__x14) => DEVC$RT.cast(__x14, DEVC$RT.type((DDC$collectio
n$.UnmodifiableListView<dynamic> _) { | 443 _pathSegments = ((__x22) => DEVC$RT.cast(__x22, DEVC$RT.type((DDC$collectio
n$.UnmodifiableListView<dynamic> _) { |
| 436 } | 444 } |
| 437 ), DEVC$RT.type((List<String> _) { | 445 ), DEVC$RT.type((List<String> _) { |
| 438 } | 446 } |
| 439 ), "CastExact", """line 945, column 23 of dart:core/uri.dart: """, __x14 is
List<String>, false))(new UnmodifiableListView(pathToSplit == "" ? const <String
> [] : pathToSplit.split("/").map(Uri.decodeComponent).toList(growable: false)))
; | 447 ), "CastExact", """line 945, column 23 of dart:core/uri.dart: """, __x22 is
List<String>, false))(new UnmodifiableListView(pathToSplit == "" ? const <String
> [] : pathToSplit.split("/").map(Uri.decodeComponent).toList(growable: false)))
; |
| 440 } | 448 } |
| 441 return _pathSegments; | 449 return _pathSegments; |
| 442 } | 450 } |
| 443 Map<String, String> get queryParameters { | 451 Map<String, String> get queryParameters { |
| 444 if (_queryParameters == null) { | 452 if (_queryParameters == null) { |
| 445 _queryParameters = ((__x15) => DEVC$RT.cast(__x15, DEVC$RT.type((DDC$collect
ion$.UnmodifiableMapView<dynamic, dynamic> _) { | 453 _queryParameters = ((__x23) => DEVC$RT.cast(__x23, DEVC$RT.type((DDC$collect
ion$.UnmodifiableMapView<dynamic, dynamic> _) { |
| 446 } | 454 } |
| 447 ), DEVC$RT.type((Map<String, String> _) { | 455 ), DEVC$RT.type((Map<String, String> _) { |
| 448 } | 456 } |
| 449 ), "CastExact", """line 969, column 26 of dart:core/uri.dart: """, __x15 is
Map<String, String>, false))(new UnmodifiableMapView(splitQueryString(query))); | 457 ), "CastExact", """line 969, column 26 of dart:core/uri.dart: """, __x23 is
Map<String, String>, false))(new UnmodifiableMapView(splitQueryString(query))); |
| 450 } | 458 } |
| 451 return _queryParameters; | 459 return _queryParameters; |
| 452 } | 460 } |
| 453 static int _makePort(int port, String scheme) { | 461 static int _makePort(int port, String scheme) { |
| 454 if (port != null && port == _defaultPort(scheme)) return null; | 462 if (port != null && port == _defaultPort(scheme)) return null; |
| 455 return port; | 463 return port; |
| 456 } | 464 } |
| 457 static String _makeHost(String host, int start, int end, bool strictIPv6) { | 465 static String _makeHost(String host, int start, int end, bool strictIPv6) { |
| 458 if (host == null) return null; | 466 if (host == null) return null; |
| 459 if (start == end) return ""; | 467 if (start == end) return ""; |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 578 if (path != null && pathSegments != null) { | 586 if (path != null && pathSegments != null) { |
| 579 throw new ArgumentError('Both path and pathSegments specified'); | 587 throw new ArgumentError('Both path and pathSegments specified'); |
| 580 } | 588 } |
| 581 var result; | 589 var result; |
| 582 if (path != null) { | 590 if (path != null) { |
| 583 result = _normalize(path, start, end, DEVC$RT.cast(_pathCharOrSlashTable, dy
namic, DEVC$RT.type((List<int> _) { | 591 result = _normalize(path, start, end, DEVC$RT.cast(_pathCharOrSlashTable, dy
namic, DEVC$RT.type((List<int> _) { |
| 584 } | 592 } |
| 585 ), "CastGeneral", """line 1139, column 45 of dart:core/uri.dart: """, _pathC
harOrSlashTable is List<int>, false)); | 593 ), "CastGeneral", """line 1139, column 45 of dart:core/uri.dart: """, _pathC
harOrSlashTable is List<int>, false)); |
| 586 } | 594 } |
| 587 else { | 595 else { |
| 588 result = pathSegments.map((s) => _uriEncode(DEVC$RT.cast(_pathCharTable, dyn
amic, DEVC$RT.type((List<int> _) { | 596 result = pathSegments.map(((__x29) => DEVC$RT.wrap((String f(dynamic __u24))
{ |
| 597 String c(dynamic x0) => f(x0); |
| 598 return f == null ? null : c; |
| 589 } | 599 } |
| 590 ), "CastGeneral", """line 1141, column 51 of dart:core/uri.dart: """, _pathC
harTable is List<int>, false), DEVC$RT.cast(s, dynamic, String, "CastGeneral", "
""line 1141, column 67 of dart:core/uri.dart: """, s is String, true))).join("/"
); | 600 , __x29, __t27, __t25, "WrapLiteral", """line 1141, column 33 of dart:core/u
ri.dart: """, __x29 is __t25))((s) => _uriEncode(DEVC$RT.cast(_pathCharTable, dy
namic, DEVC$RT.type((List<int> _) { |
| 601 } |
| 602 ), "CastGeneral", """line 1141, column 51 of dart:core/uri.dart: """, _pathC
harTable is List<int>, false), DEVC$RT.cast(s, dynamic, String, "CastGeneral", "
""line 1141, column 67 of dart:core/uri.dart: """, s is String, true)))).join("/
"); |
| 591 } | 603 } |
| 592 if (result.isEmpty) { | 604 if (result.isEmpty) { |
| 593 if (isFile) return "/"; | 605 if (isFile) return "/"; |
| 594 } | 606 } |
| 595 else if ((isFile || ensureLeadingSlash) && result.codeUnitAt(0) != _SLASH) { | 607 else if ((isFile || ensureLeadingSlash) && result.codeUnitAt(0) != _SLASH) { |
| 596 return "/$result"; | 608 return "/$result"; |
| 597 } | 609 } |
| 598 return DEVC$RT.cast(result, dynamic, String, "CastGeneral", """line 1149, col
umn 12 of dart:core/uri.dart: """, result is String, true); | 610 return DEVC$RT.cast(result, dynamic, String, "CastGeneral", """line 1149, col
umn 12 of dart:core/uri.dart: """, result is String, true); |
| 599 } | 611 } |
| 600 static String _makeQuery(String query, int start, int end, Map<String, String>
queryParameters) { | 612 static String _makeQuery(String query, int start, int end, Map<String, String>
queryParameters) { |
| 601 if (query == null && queryParameters == null) return null; | 613 if (query == null && queryParameters == null) return null; |
| 602 if (query != null && queryParameters != null) { | 614 if (query != null && queryParameters != null) { |
| 603 throw new ArgumentError('Both query and queryParameters specified'); | 615 throw new ArgumentError('Both query and queryParameters specified'); |
| 604 } | 616 } |
| 605 if (query != null) return _normalize(query, start, end, DEVC$RT.cast(_queryCh
arTable, dynamic, DEVC$RT.type((List<int> _) { | 617 if (query != null) return _normalize(query, start, end, DEVC$RT.cast(_queryCh
arTable, dynamic, DEVC$RT.type((List<int> _) { |
| 606 } | 618 } |
| 607 ), "CastGeneral", """line 1158, column 61 of dart:core/uri.dart: """, _queryCh
arTable is List<int>, false)); | 619 ), "CastGeneral", """line 1158, column 61 of dart:core/uri.dart: """, _queryCh
arTable is List<int>, false)); |
| 608 var result = new StringBuffer(); | 620 var result = new StringBuffer(); |
| 609 var first = true; | 621 var first = true; |
| 610 queryParameters.forEach((key, value) { | 622 queryParameters.forEach(((__x38) => DEVC$RT.wrap((dynamic f(dynamic __u30, dy
namic __u31)) { |
| 623 dynamic c(dynamic x0, dynamic x1) => f(x0, x1); |
| 624 return f == null ? null : c; |
| 625 } |
| 626 , __x38, __t35, __t32, "WrapLiteral", """line 1162, column 29 of dart:core/uri
.dart: """, __x38 is __t32))((key, value) { |
| 611 if (!first) { | 627 if (!first) { |
| 612 result.write("&"); | 628 result.write("&"); |
| 613 } | 629 } |
| 614 first = false; | 630 first = false; |
| 615 result.write(Uri.encodeQueryComponent(DEVC$RT.cast(key, dynamic, String, "C
astGeneral", """line 1167, column 45 of dart:core/uri.dart: """, key is String,
true))); | 631 result.write(Uri.encodeQueryComponent(DEVC$RT.cast(key, dynamic, String, "C
astGeneral", """line 1167, column 45 of dart:core/uri.dart: """, key is String,
true))); |
| 616 if (value != null && !value.isEmpty) { | 632 if (value != null && !value.isEmpty) { |
| 617 result.write("="); | 633 result.write("="); |
| 618 result.write(Uri.encodeQueryComponent(DEVC$RT.cast(value, dynamic, String
, "CastGeneral", """line 1170, column 47 of dart:core/uri.dart: """, value is St
ring, true))); | 634 result.write(Uri.encodeQueryComponent(DEVC$RT.cast(value, dynamic, String
, "CastGeneral", """line 1170, column 47 of dart:core/uri.dart: """, value is St
ring, true))); |
| 619 } | 635 } |
| 620 } | 636 } |
| 621 ); | 637 )); |
| 622 return result.toString(); | 638 return result.toString(); |
| 623 } | 639 } |
| 624 static String _makeFragment(String fragment, int start, int end) { | 640 static String _makeFragment(String fragment, int start, int end) { |
| 625 if (fragment == null) return null; | 641 if (fragment == null) return null; |
| 626 return _normalize(fragment, start, end, DEVC$RT.cast(_queryCharTable, dynamic
, DEVC$RT.type((List<int> _) { | 642 return _normalize(fragment, start, end, DEVC$RT.cast(_queryCharTable, dynamic
, DEVC$RT.type((List<int> _) { |
| 627 } | 643 } |
| 628 ), "CastGeneral", """line 1178, column 45 of dart:core/uri.dart: """, _queryCh
arTable is List<int>, false)); | 644 ), "CastGeneral", """line 1178, column 45 of dart:core/uri.dart: """, _queryCh
arTable is List<int>, false)); |
| 629 } | 645 } |
| 630 static int _stringOrNullLength(String s) => (s == null) ? 0 : s.length; | 646 static int _stringOrNullLength(String s) => (s == null) ? 0 : s.length; |
| 631 static bool _isHexDigit(int char) { | 647 static bool _isHexDigit(int char) { |
| (...skipping 29 matching lines...) Expand all Loading... |
| 661 } | 677 } |
| 662 static bool _isUnreservedChar(int ch) { | 678 static bool _isUnreservedChar(int ch) { |
| 663 return ch < 127 && ((_unreservedTable[ch >> 4] & (1 << (ch & 0x0f))) != 0); | 679 return ch < 127 && ((_unreservedTable[ch >> 4] & (1 << (ch & 0x0f))) != 0); |
| 664 } | 680 } |
| 665 static String _escapeChar(char) { | 681 static String _escapeChar(char) { |
| 666 assert (char <= 0x10ffff); const hexDigits = "0123456789ABCDEF"; | 682 assert (char <= 0x10ffff); const hexDigits = "0123456789ABCDEF"; |
| 667 List codeUnits; | 683 List codeUnits; |
| 668 if (char < 0x80) { | 684 if (char < 0x80) { |
| 669 codeUnits = new List(3); | 685 codeUnits = new List(3); |
| 670 codeUnits[0] = _PERCENT; | 686 codeUnits[0] = _PERCENT; |
| 671 codeUnits[1] = hexDigits.codeUnitAt(((__x16) => DEVC$RT.cast(__x16, dynamic
, int, "CastGeneral", """line 1248, column 43 of dart:core/uri.dart: """, __x16
is int, true))(char >> 4)); | 687 codeUnits[1] = hexDigits.codeUnitAt(((__x39) => DEVC$RT.cast(__x39, dynamic
, int, "CastGeneral", """line 1248, column 43 of dart:core/uri.dart: """, __x39
is int, true))(char >> 4)); |
| 672 codeUnits[2] = hexDigits.codeUnitAt(((__x17) => DEVC$RT.cast(__x17, dynamic
, int, "CastGeneral", """line 1249, column 43 of dart:core/uri.dart: """, __x17
is int, true))(char & 0xf)); | 688 codeUnits[2] = hexDigits.codeUnitAt(((__x40) => DEVC$RT.cast(__x40, dynamic
, int, "CastGeneral", """line 1249, column 43 of dart:core/uri.dart: """, __x40
is int, true))(char & 0xf)); |
| 673 } | 689 } |
| 674 else { | 690 else { |
| 675 int flag = 0xc0; | 691 int flag = 0xc0; |
| 676 int encodedBytes = 2; | 692 int encodedBytes = 2; |
| 677 if (char > 0x7ff) { | 693 if (char > 0x7ff) { |
| 678 flag = 0xe0; | 694 flag = 0xe0; |
| 679 encodedBytes = 3; | 695 encodedBytes = 3; |
| 680 if (char > 0xffff) { | 696 if (char > 0xffff) { |
| 681 encodedBytes = 4; | 697 encodedBytes = 4; |
| 682 flag = 0xf0; | 698 flag = 0xf0; |
| 683 } | 699 } |
| 684 } | 700 } |
| 685 codeUnits = new List(3 * encodedBytes); | 701 codeUnits = new List(3 * encodedBytes); |
| 686 int index = 0; | 702 int index = 0; |
| 687 while (--encodedBytes >= 0) { | 703 while (--encodedBytes >= 0) { |
| 688 int byte = ((__x18) => DEVC$RT.cast(__x18, dynamic, int, "CastGeneral", ""
"line 1265, column 20 of dart:core/uri.dart: """, __x18 is int, true))(((char >>
(6 * encodedBytes)) & 0x3f) | flag); | 704 int byte = ((__x41) => DEVC$RT.cast(__x41, dynamic, int, "CastGeneral", ""
"line 1265, column 20 of dart:core/uri.dart: """, __x41 is int, true))(((char >>
(6 * encodedBytes)) & 0x3f) | flag); |
| 689 codeUnits[index] = _PERCENT; | 705 codeUnits[index] = _PERCENT; |
| 690 codeUnits[index + 1] = hexDigits.codeUnitAt(byte >> 4); | 706 codeUnits[index + 1] = hexDigits.codeUnitAt(byte >> 4); |
| 691 codeUnits[index + 2] = hexDigits.codeUnitAt(byte & 0xf); | 707 codeUnits[index + 2] = hexDigits.codeUnitAt(byte & 0xf); |
| 692 index += 3; | 708 index += 3; |
| 693 flag = 0x80; | 709 flag = 0x80; |
| 694 } | 710 } |
| 695 } | 711 } |
| 696 return new String.fromCharCodes(DEVC$RT.cast(codeUnits, DEVC$RT.type((List<dy
namic> _) { | 712 return new String.fromCharCodes(DEVC$RT.cast(codeUnits, DEVC$RT.type((List<dy
namic> _) { |
| 697 } | 713 } |
| 698 ), DEVC$RT.type((Iterable<int> _) { | 714 ), DEVC$RT.type((Iterable<int> _) { |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 786 } | 802 } |
| 787 return base.substring(0, baseEnd + 1) + reference.substring(refStart - 3 * ba
ckCount); | 803 return base.substring(0, baseEnd + 1) + reference.substring(refStart - 3 * ba
ckCount); |
| 788 } | 804 } |
| 789 bool _hasDotSegments(String path) { | 805 bool _hasDotSegments(String path) { |
| 790 if (path.length > 0 && path.codeUnitAt(0) == _DOT) return true; | 806 if (path.length > 0 && path.codeUnitAt(0) == _DOT) return true; |
| 791 int index = path.indexOf("/."); | 807 int index = path.indexOf("/."); |
| 792 return index != -1; | 808 return index != -1; |
| 793 } | 809 } |
| 794 String _removeDotSegments(String path) { | 810 String _removeDotSegments(String path) { |
| 795 if (!_hasDotSegments(path)) return path; | 811 if (!_hasDotSegments(path)) return path; |
| 796 List<String> output = ((__x19) => DEVC$RT.cast(__x19, DEVC$RT.type((List<dyna
mic> _) { | 812 List<String> output = ((__x42) => DEVC$RT.cast(__x42, DEVC$RT.type((List<dyna
mic> _) { |
| 797 } | 813 } |
| 798 ), DEVC$RT.type((List<String> _) { | 814 ), DEVC$RT.type((List<String> _) { |
| 799 } | 815 } |
| 800 ), "CastLiteral", """line 1402, column 27 of dart:core/uri.dart: """, __x19 is
List<String>, false))([]); | 816 ), "CastLiteral", """line 1402, column 27 of dart:core/uri.dart: """, __x42 is
List<String>, false))([]); |
| 801 bool appendSlash = false; | 817 bool appendSlash = false; |
| 802 for (String segment in path.split("/")) { | 818 for (String segment in path.split("/")) { |
| 803 appendSlash = false; | 819 appendSlash = false; |
| 804 if (segment == "..") { | 820 if (segment == "..") { |
| 805 if (!output.isEmpty && ((output.length != 1) || (output[0] != ""))) output
.removeLast(); | 821 if (!output.isEmpty && ((output.length != 1) || (output[0] != ""))) output
.removeLast(); |
| 806 appendSlash = true; | 822 appendSlash = true; |
| 807 } | 823 } |
| 808 else if ("." == segment) { | 824 else if ("." == segment) { |
| 809 appendSlash = true; | 825 appendSlash = true; |
| 810 } | 826 } |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 860 if (reference.path.startsWith("/")) { | 876 if (reference.path.startsWith("/")) { |
| 861 targetPath = _removeDotSegments(reference.path); | 877 targetPath = _removeDotSegments(reference.path); |
| 862 } | 878 } |
| 863 else { | 879 else { |
| 864 targetPath = _removeDotSegments(_merge(this._path, reference.path)); | 880 targetPath = _removeDotSegments(_merge(this._path, reference.path)); |
| 865 } | 881 } |
| 866 if (reference.hasQuery) targetQuery = reference.query; | 882 if (reference.hasQuery) targetQuery = reference.query; |
| 867 } | 883 } |
| 868 targetUserInfo = this._userInfo; | 884 targetUserInfo = this._userInfo; |
| 869 targetHost = this._host; | 885 targetHost = this._host; |
| 870 targetPort = ((__x20) => DEVC$RT.cast(__x20, num, int, "CastGeneral", """
line 1489, column 22 of dart:core/uri.dart: """, __x20 is int, true))(this._port
); | 886 targetPort = ((__x43) => DEVC$RT.cast(__x43, num, int, "CastGeneral", """
line 1489, column 22 of dart:core/uri.dart: """, __x43 is int, true))(this._port
); |
| 871 } | 887 } |
| 872 } | 888 } |
| 873 String fragment = reference.hasFragment ? reference.fragment : null; | 889 String fragment = reference.hasFragment ? reference.fragment : null; |
| 874 return new Uri._internal(targetScheme, targetUserInfo, targetHost, targetPort
, targetPath, targetQuery, fragment); | 890 return new Uri._internal(targetScheme, targetUserInfo, targetHost, targetPort
, targetPath, targetQuery, fragment); |
| 875 } | 891 } |
| 876 bool get hasAuthority => _host != null; | 892 bool get hasAuthority => _host != null; |
| 877 bool get hasPort => _port != null; | 893 bool get hasPort => _port != null; |
| 878 bool get hasQuery => _query != null; | 894 bool get hasQuery => _query != null; |
| 879 bool get hasFragment => _fragment != null; | 895 bool get hasFragment => _fragment != null; |
| 880 String get origin { | 896 String get origin { |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 965 } | 981 } |
| 966 return sb.toString(); | 982 return sb.toString(); |
| 967 } | 983 } |
| 968 bool operator ==(other) { | 984 bool operator ==(other) { |
| 969 if (other is! Uri) return false; | 985 if (other is! Uri) return false; |
| 970 Uri uri = DEVC$RT.cast(other, dynamic, Uri, "CastGeneral", """line 1698, colu
mn 15 of dart:core/uri.dart: """, other is Uri, true); | 986 Uri uri = DEVC$RT.cast(other, dynamic, Uri, "CastGeneral", """line 1698, colu
mn 15 of dart:core/uri.dart: """, other is Uri, true); |
| 971 return scheme == uri.scheme && hasAuthority == uri.hasAuthority && userInfo =
= uri.userInfo && host == uri.host && port == uri.port && path == uri.path && ha
sQuery == uri.hasQuery && query == uri.query && hasFragment == uri.hasFragment &
& fragment == uri.fragment; | 987 return scheme == uri.scheme && hasAuthority == uri.hasAuthority && userInfo =
= uri.userInfo && host == uri.host && port == uri.port && path == uri.path && ha
sQuery == uri.hasQuery && query == uri.query && hasFragment == uri.hasFragment &
& fragment == uri.fragment; |
| 972 } | 988 } |
| 973 int get hashCode { | 989 int get hashCode { |
| 974 int combine(part, current) { | 990 int combine(part, current) { |
| 975 return ((__x21) => DEVC$RT.cast(__x21, dynamic, int, "CastGeneral", """line
1714, column 14 of dart:core/uri.dart: """, __x21 is int, true))((current * 31 +
part.hashCode) & 0x3FFFFFFF); | 991 return ((__x44) => DEVC$RT.cast(__x44, dynamic, int, "CastGeneral", """line
1714, column 14 of dart:core/uri.dart: """, __x44 is int, true))((current * 31 +
part.hashCode) & 0x3FFFFFFF); |
| 976 } | 992 } |
| 977 return combine(scheme, combine(userInfo, combine(host, combine(port, combine(
path, combine(query, combine(fragment, 1))))))); | 993 return combine(scheme, combine(userInfo, combine(host, combine(port, combine(
path, combine(query, combine(fragment, 1))))))); |
| 978 } | 994 } |
| 979 static void _addIfNonEmpty(StringBuffer sb, String test, String first, String s
econd) { | 995 static void _addIfNonEmpty(StringBuffer sb, String test, String first, String s
econd) { |
| 980 if ("" != test) { | 996 if ("" != test) { |
| 981 sb.write(first); | 997 sb.write(first); |
| 982 sb.write(second); | 998 sb.write(second); |
| 983 } | 999 } |
| 984 } | 1000 } |
| 985 static String encodeComponent(String component) { | 1001 static String encodeComponent(String component) { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 1006 return _uriEncode(DEVC$RT.cast(_encodeFullTable, dynamic, DEVC$RT.type((List<i
nt> _) { | 1022 return _uriEncode(DEVC$RT.cast(_encodeFullTable, dynamic, DEVC$RT.type((List<i
nt> _) { |
| 1007 } | 1023 } |
| 1008 ), "CastGeneral", """line 1832, column 23 of dart:core/uri.dart: """, _encodeF
ullTable is List<int>, false), uri); | 1024 ), "CastGeneral", """line 1832, column 23 of dart:core/uri.dart: """, _encodeF
ullTable is List<int>, false), uri); |
| 1009 } | 1025 } |
| 1010 static String decodeFull(String uri) { | 1026 static String decodeFull(String uri) { |
| 1011 return _uriDecode(uri); | 1027 return _uriDecode(uri); |
| 1012 } | 1028 } |
| 1013 static Map<String, String> splitQueryString(String query, { | 1029 static Map<String, String> splitQueryString(String query, { |
| 1014 Encoding encoding : UTF8} | 1030 Encoding encoding : UTF8} |
| 1015 ) { | 1031 ) { |
| 1016 return ((__x22) => DEVC$RT.cast(__x22, dynamic, DEVC$RT.type((Map<String, Stri
ng> _) { | 1032 return ((__x45) => DEVC$RT.cast(__x45, dynamic, DEVC$RT.type((Map<String, Stri
ng> _) { |
| 1017 } | 1033 } |
| 1018 ), "CastGeneral", """line 1864, column 12 of dart:core/uri.dart: """, __x22 is
Map<String, String>, false))(query.split("&").fold({ | 1034 ), "CastGeneral", """line 1864, column 12 of dart:core/uri.dart: """, __x45 is
Map<String, String>, false))(query.split("&").fold({ |
| 1019 } | 1035 } |
| 1020 , (map, element) { | 1036 , ((__x51) => DEVC$RT.wrap((dynamic f(dynamic __u46, dynamic __u47)) { |
| 1021 int index = ((__x23) => DEVC$RT.cast(__x23, dynamic, int, "CastGeneral", """
line 1865, column 19 of dart:core/uri.dart: """, __x23 is int, true))(element.in
dexOf("=")); | 1037 dynamic c(dynamic x0, dynamic x1) => f(x0, x1); |
| 1038 return f == null ? null : c; |
| 1039 } |
| 1040 , __x51, __t35, __t48, "WrapLiteral", """line 1864, column 38 of dart:core/uri
.dart: """, __x51 is __t48))((map, element) { |
| 1041 int index = ((__x52) => DEVC$RT.cast(__x52, dynamic, int, "CastGeneral", """
line 1865, column 19 of dart:core/uri.dart: """, __x52 is int, true))(element.in
dexOf("=")); |
| 1022 if (index == -1) { | 1042 if (index == -1) { |
| 1023 if (element != "") { | 1043 if (element != "") { |
| 1024 map[decodeQueryComponent(DEVC$RT.cast(element, dynamic, String, "CastGen
eral", """line 1868, column 36 of dart:core/uri.dart: """, element is String, tr
ue), encoding: encoding)] = ""; | 1044 map[decodeQueryComponent(DEVC$RT.cast(element, dynamic, String, "CastGen
eral", """line 1868, column 36 of dart:core/uri.dart: """, element is String, tr
ue), encoding: encoding)] = ""; |
| 1025 } | 1045 } |
| 1026 } | 1046 } |
| 1027 else if (index != 0) { | 1047 else if (index != 0) { |
| 1028 var key = element.substring(0, index); | 1048 var key = element.substring(0, index); |
| 1029 var value = element.substring(index + 1); | 1049 var value = element.substring(index + 1); |
| 1030 map[Uri.decodeQueryComponent(DEVC$RT.cast(key, dynamic, String, "CastGene
ral", """line 1873, column 38 of dart:core/uri.dart: """, key is String, true),
encoding: encoding)] = decodeQueryComponent(DEVC$RT.cast(value, dynamic, String,
"CastGeneral", """line 1874, column 34 of dart:core/uri.dart: """, value is Str
ing, true), encoding: encoding); | 1050 map[Uri.decodeQueryComponent(DEVC$RT.cast(key, dynamic, String, "CastGene
ral", """line 1873, column 38 of dart:core/uri.dart: """, key is String, true),
encoding: encoding)] = decodeQueryComponent(DEVC$RT.cast(value, dynamic, String,
"CastGeneral", """line 1874, column 34 of dart:core/uri.dart: """, value is Str
ing, true), encoding: encoding); |
| 1031 } | 1051 } |
| 1032 return map; | 1052 return map; |
| 1033 } | 1053 } |
| 1034 )); | 1054 ))); |
| 1035 } | 1055 } |
| 1036 static List<int> parseIPv4Address(String host) { | 1056 static List<int> parseIPv4Address(String host) { |
| 1037 void error(String msg) { | 1057 void error(String msg) { |
| 1038 throw new FormatException('Illegal IPv4 address, $msg'); | 1058 throw new FormatException('Illegal IPv4 address, $msg'); |
| 1039 } | 1059 } |
| 1040 var bytes = host.split('.'); | 1060 var bytes = host.split('.'); |
| 1041 if (bytes.length != 4) { | 1061 if (bytes.length != 4) { |
| 1042 error('IPv4 address should contain exactly 4 parts'); | 1062 error('IPv4 address should contain exactly 4 parts'); |
| 1043 } | 1063 } |
| 1044 return ((__x24) => DEVC$RT.cast(__x24, DEVC$RT.type((List<dynamic> _) { | 1064 return ((__x53) => DEVC$RT.cast(__x53, DEVC$RT.type((List<dynamic> _) { |
| 1045 } | 1065 } |
| 1046 ), DEVC$RT.type((List<int> _) { | 1066 ), DEVC$RT.type((List<int> _) { |
| 1047 } | 1067 } |
| 1048 ), "CastDynamic", """line 1896, column 12 of dart:core/uri.dart: """, __x24 is
List<int>, false))(bytes.map((byteString) { | 1068 ), "CastDynamic", """line 1896, column 12 of dart:core/uri.dart: """, __x53 is
List<int>, false))(bytes.map(((__x55) => DEVC$RT.wrap((dynamic f(dynamic __u54)
) { |
| 1069 dynamic c(dynamic x0) => f(x0); |
| 1070 return f == null ? null : c; |
| 1071 } |
| 1072 , __x55, __t16, __t25, "WrapLiteral", """line 1897, column 14 of dart:core/uri
.dart: """, __x55 is __t25))((byteString) { |
| 1049 int byte = int.parse(DEVC$RT.cast(byteString, dynamic, String, "CastGeneral"
, """line 1898, column 32 of dart:core/uri.dart: """, byteString is String, true
)); | 1073 int byte = int.parse(DEVC$RT.cast(byteString, dynamic, String, "CastGeneral"
, """line 1898, column 32 of dart:core/uri.dart: """, byteString is String, true
)); |
| 1050 if (byte < 0 || byte > 255) { | 1074 if (byte < 0 || byte > 255) { |
| 1051 error('each part must be in the range of `0..255`'); | 1075 error('each part must be in the range of `0..255`'); |
| 1052 } | 1076 } |
| 1053 return byte; | 1077 return byte; |
| 1054 } | 1078 } |
| 1055 ).toList()); | 1079 )).toList()); |
| 1056 } | 1080 } |
| 1057 static List<int> parseIPv6Address(String host, [int start = 0, int end]) { | 1081 static List<int> parseIPv6Address(String host, [int start = 0, int end]) { |
| 1058 if (end == null) end = host.length; | 1082 if (end == null) end = host.length; |
| 1059 void error(String msg, [position]) { | 1083 void error(String msg, [position]) { |
| 1060 throw new FormatException('Illegal IPv6 address, $msg', host, DEVC$RT.cast(p
osition, dynamic, int, "CastGeneral", """line 1933, column 69 of dart:core/uri.d
art: """, position is int, true)); | 1084 throw new FormatException('Illegal IPv6 address, $msg', host, DEVC$RT.cast(p
osition, dynamic, int, "CastGeneral", """line 1933, column 69 of dart:core/uri.d
art: """, position is int, true)); |
| 1061 } | 1085 } |
| 1062 int parseHex(int start, int end) { | 1086 int parseHex(int start, int end) { |
| 1063 if (end - start > 4) { | 1087 if (end - start > 4) { |
| 1064 error('an IPv6 part can only contain a maximum of 4 hex digits', start); | 1088 error('an IPv6 part can only contain a maximum of 4 hex digits', start); |
| 1065 } | 1089 } |
| 1066 int value = int.parse(host.substring(start, end), radix: 16); | 1090 int value = int.parse(host.substring(start, end), radix: 16); |
| 1067 if (value < 0 || value > (1 << 16) - 1) { | 1091 if (value < 0 || value > (1 << 16) - 1) { |
| 1068 error('each part must be in the range of `0x0..0xFFFF`', start); | 1092 error('each part must be in the range of `0x0..0xFFFF`', start); |
| 1069 } | 1093 } |
| 1070 return value; | 1094 return value; |
| 1071 } | 1095 } |
| 1072 if (host.length < 2) error('address is too short'); | 1096 if (host.length < 2) error('address is too short'); |
| 1073 List<int> parts = ((__x25) => DEVC$RT.cast(__x25, DEVC$RT.type((List<dynamic>
_) { | 1097 List<int> parts = ((__x56) => DEVC$RT.cast(__x56, DEVC$RT.type((List<dynamic>
_) { |
| 1074 } | 1098 } |
| 1075 ), DEVC$RT.type((List<int> _) { | 1099 ), DEVC$RT.type((List<int> _) { |
| 1076 } | 1100 } |
| 1077 ), "CastLiteral", """line 1946, column 23 of dart:core/uri.dart: """, __x25 is
List<int>, false))([]); | 1101 ), "CastLiteral", """line 1946, column 23 of dart:core/uri.dart: """, __x56 is
List<int>, false))([]); |
| 1078 bool wildcardSeen = false; | 1102 bool wildcardSeen = false; |
| 1079 int partStart = start; | 1103 int partStart = start; |
| 1080 for (int i = start; i < end; i++) { | 1104 for (int i = start; i < end; i++) { |
| 1081 if (host.codeUnitAt(i) == _COLON) { | 1105 if (host.codeUnitAt(i) == _COLON) { |
| 1082 if (i == start) { | 1106 if (i == start) { |
| 1083 i++; | 1107 i++; |
| 1084 if (host.codeUnitAt(i) != _COLON) { | 1108 if (host.codeUnitAt(i) != _COLON) { |
| 1085 error('invalid start colon.', i); | 1109 error('invalid start colon.', i); |
| 1086 } | 1110 } |
| 1087 partStart = i; | 1111 partStart = i; |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1174 static const int _RIGHT_BRACKET = 0x5D; | 1198 static const int _RIGHT_BRACKET = 0x5D; |
| 1175 static const int _LOWER_CASE_A = 0x61; | 1199 static const int _LOWER_CASE_A = 0x61; |
| 1176 static const int _LOWER_CASE_F = 0x66; | 1200 static const int _LOWER_CASE_F = 0x66; |
| 1177 static const int _LOWER_CASE_Z = 0x7A; | 1201 static const int _LOWER_CASE_Z = 0x7A; |
| 1178 static const int _BAR = 0x7C; | 1202 static const int _BAR = 0x7C; |
| 1179 static String _uriEncode(List<int> canonicalTable, String text, { | 1203 static String _uriEncode(List<int> canonicalTable, String text, { |
| 1180 Encoding encoding : UTF8, bool spaceToPlus : false} | 1204 Encoding encoding : UTF8, bool spaceToPlus : false} |
| 1181 ) { | 1205 ) { |
| 1182 byteToHex(byte, buffer) { | 1206 byteToHex(byte, buffer) { |
| 1183 const String hex = '0123456789ABCDEF'; | 1207 const String hex = '0123456789ABCDEF'; |
| 1184 buffer.writeCharCode(hex.codeUnitAt(((__x26) => DEVC$RT.cast(__x26, dynamic
, int, "CastGeneral", """line 2059, column 43 of dart:core/uri.dart: """, __x26
is int, true))(byte >> 4))); | 1208 buffer.writeCharCode(hex.codeUnitAt(((__x57) => DEVC$RT.cast(__x57, dynamic
, int, "CastGeneral", """line 2059, column 43 of dart:core/uri.dart: """, __x57
is int, true))(byte >> 4))); |
| 1185 buffer.writeCharCode(hex.codeUnitAt(((__x27) => DEVC$RT.cast(__x27, dynamic
, int, "CastGeneral", """line 2060, column 43 of dart:core/uri.dart: """, __x27
is int, true))(byte & 0x0f))); | 1209 buffer.writeCharCode(hex.codeUnitAt(((__x58) => DEVC$RT.cast(__x58, dynamic
, int, "CastGeneral", """line 2060, column 43 of dart:core/uri.dart: """, __x58
is int, true))(byte & 0x0f))); |
| 1186 } | 1210 } |
| 1187 StringBuffer result = new StringBuffer(); | 1211 StringBuffer result = new StringBuffer(); |
| 1188 var bytes = encoding.encode(text); | 1212 var bytes = encoding.encode(text); |
| 1189 for (int i = 0; i < bytes.length; i++) { | 1213 for (int i = 0; i < bytes.length; i++) { |
| 1190 int byte = bytes[i]; | 1214 int byte = bytes[i]; |
| 1191 if (byte < 128 && ((canonicalTable[byte >> 4] & (1 << (byte & 0x0f))) != 0)
) { | 1215 if (byte < 128 && ((canonicalTable[byte >> 4] & (1 << (byte & 0x0f))) != 0)
) { |
| 1192 result.writeCharCode(byte); | 1216 result.writeCharCode(byte); |
| 1193 } | 1217 } |
| 1194 else if (spaceToPlus && byte == _SPACE) { | 1218 else if (spaceToPlus && byte == _SPACE) { |
| 1195 result.writeCharCode(_PLUS); | 1219 result.writeCharCode(_PLUS); |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1231 List<int> bytes; | 1255 List<int> bytes; |
| 1232 if (simple) { | 1256 if (simple) { |
| 1233 if (encoding == UTF8 || encoding == LATIN1) { | 1257 if (encoding == UTF8 || encoding == LATIN1) { |
| 1234 return text; | 1258 return text; |
| 1235 } | 1259 } |
| 1236 else { | 1260 else { |
| 1237 bytes = text.codeUnits; | 1261 bytes = text.codeUnits; |
| 1238 } | 1262 } |
| 1239 } | 1263 } |
| 1240 else { | 1264 else { |
| 1241 bytes = ((__x28) => DEVC$RT.cast(__x28, DEVC$RT.type((List<dynamic> _) { | 1265 bytes = ((__x59) => DEVC$RT.cast(__x59, DEVC$RT.type((List<dynamic> _) { |
| 1242 } | 1266 } |
| 1243 ), DEVC$RT.type((List<int> _) { | 1267 ), DEVC$RT.type((List<int> _) { |
| 1244 } | 1268 } |
| 1245 ), "CastExact", """line 2134, column 15 of dart:core/uri.dart: """, __x28 is
List<int>, false))(new List()); | 1269 ), "CastExact", """line 2134, column 15 of dart:core/uri.dart: """, __x59 is
List<int>, false))(new List()); |
| 1246 for (int i = 0; i < text.length; i++) { | 1270 for (int i = 0; i < text.length; i++) { |
| 1247 var codeUnit = text.codeUnitAt(i); | 1271 var codeUnit = text.codeUnitAt(i); |
| 1248 if (codeUnit > 127) { | 1272 if (codeUnit > 127) { |
| 1249 throw new ArgumentError("Illegal percent encoding in URI"); | 1273 throw new ArgumentError("Illegal percent encoding in URI"); |
| 1250 } | 1274 } |
| 1251 if (codeUnit == _PERCENT) { | 1275 if (codeUnit == _PERCENT) { |
| 1252 if (i + 3 > text.length) { | 1276 if (i + 3 > text.length) { |
| 1253 throw new ArgumentError('Truncated URI'); | 1277 throw new ArgumentError('Truncated URI'); |
| 1254 } | 1278 } |
| 1255 bytes.add(_hexCharPairToByte(text, i + 1)); | 1279 bytes.add(_hexCharPairToByte(text, i + 1)); |
| (...skipping 16 matching lines...) Expand all Loading... |
| 1272 static const _schemeTable = const [0x0000, 0x0000, 0x6800, 0x03ff, 0xfffe, 0x07
ff, 0xfffe, 0x07ff]; | 1296 static const _schemeTable = const [0x0000, 0x0000, 0x6800, 0x03ff, 0xfffe, 0x07
ff, 0xfffe, 0x07ff]; |
| 1273 static const _schemeLowerTable = const [0x0000, 0x0000, 0x6800, 0x03ff, 0x0000,
0x0000, 0xfffe, 0x07ff]; | 1297 static const _schemeLowerTable = const [0x0000, 0x0000, 0x6800, 0x03ff, 0x0000,
0x0000, 0xfffe, 0x07ff]; |
| 1274 static const _subDelimitersTable = const [0x0000, 0x0000, 0x7fd2, 0x2bff, 0xfff
e, 0x87ff, 0xfffe, 0x47ff]; | 1298 static const _subDelimitersTable = const [0x0000, 0x0000, 0x7fd2, 0x2bff, 0xfff
e, 0x87ff, 0xfffe, 0x47ff]; |
| 1275 static const _genDelimitersTable = const [0x0000, 0x0000, 0x8008, 0x8400, 0x000
1, 0x2800, 0x0000, 0x0000]; | 1299 static const _genDelimitersTable = const [0x0000, 0x0000, 0x8008, 0x8400, 0x000
1, 0x2800, 0x0000, 0x0000]; |
| 1276 static const _userinfoTable = const [0x0000, 0x0000, 0x7fd2, 0x2fff, 0xfffe, 0x
87ff, 0xfffe, 0x47ff]; | 1300 static const _userinfoTable = const [0x0000, 0x0000, 0x7fd2, 0x2fff, 0xfffe, 0x
87ff, 0xfffe, 0x47ff]; |
| 1277 static const _regNameTable = const [0x0000, 0x0000, 0x7ff2, 0x2bff, 0xfffe, 0x8
7ff, 0xfffe, 0x47ff]; | 1301 static const _regNameTable = const [0x0000, 0x0000, 0x7ff2, 0x2bff, 0xfffe, 0x8
7ff, 0xfffe, 0x47ff]; |
| 1278 static const _pathCharTable = const [0x0000, 0x0000, 0x7fd2, 0x2fff, 0xffff, 0x
87ff, 0xfffe, 0x47ff]; | 1302 static const _pathCharTable = const [0x0000, 0x0000, 0x7fd2, 0x2fff, 0xffff, 0x
87ff, 0xfffe, 0x47ff]; |
| 1279 static const _pathCharOrSlashTable = const [0x0000, 0x0000, 0xffd2, 0x2fff, 0xf
fff, 0x87ff, 0xfffe, 0x47ff]; | 1303 static const _pathCharOrSlashTable = const [0x0000, 0x0000, 0xffd2, 0x2fff, 0xf
fff, 0x87ff, 0xfffe, 0x47ff]; |
| 1280 static const _queryCharTable = const [0x0000, 0x0000, 0xffd2, 0xafff, 0xffff, 0
x87ff, 0xfffe, 0x47ff]; | 1304 static const _queryCharTable = const [0x0000, 0x0000, 0xffd2, 0xafff, 0xffff, 0
x87ff, 0xfffe, 0x47ff]; |
| 1281 } | 1305 } |
| 1306 typedef void __t14(String __u15); |
| 1307 typedef dynamic __t16(dynamic __u17); |
| 1308 typedef dynamic __t25(String __u26); |
| 1309 typedef String __t27(dynamic __u28); |
| 1310 typedef void __t32(String __u33, String __u34); |
| 1311 typedef dynamic __t35(dynamic __u36, dynamic __u37); |
| 1312 typedef dynamic __t48(dynamic __u49, String __u50); |
| OLD | NEW |