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

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

Issue 10809035: Several new features and improvements for dartdoc. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments Created 8 years, 5 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
« no previous file with comments | « lib/json/json.dart ('k') | lib/utf/utf.dart » ('j') | 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 #library('uri'); 5 #library('dart:uri');
6 6
7 #import('dart:utf'); 7 #import('dart:utf');
8 8
9 #source('encode_decode.dart'); 9 #source('encode_decode.dart');
10 #source('helpers.dart'); 10 #source('helpers.dart');
11 11
12 /** 12 /**
13 * A parsed URI, inspired by Closure's [URI][] class. Implements [RFC-3986][]. 13 * A parsed URI, inspired by Closure's [URI][] class. Implements [RFC-3986][].
14 * [uri]: http://closure-library.googlecode.com/svn/docs/class_goog_Uri.html 14 * [uri]: http://closure-library.googlecode.com/svn/docs/class_goog_Uri.html
15 * [RFC-3986]: http://tools.ietf.org/html/rfc3986#section-4.3) 15 * [RFC-3986]: http://tools.ietf.org/html/rfc3986#section-4.3)
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 } 186 }
187 187
188 static void _addIfNonEmpty(StringBuffer sb, String test, 188 static void _addIfNonEmpty(StringBuffer sb, String test,
189 String first, String second) { 189 String first, String second) {
190 if ("" != test) { 190 if ("" != test) {
191 sb.add(first === null ? "null" : first); 191 sb.add(first === null ? "null" : first);
192 sb.add(second === null ? "null" : second); 192 sb.add(second === null ? "null" : second);
193 } 193 }
194 } 194 }
195 } 195 }
OLDNEW
« no previous file with comments | « lib/json/json.dart ('k') | lib/utf/utf.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698