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

Side by Side Diff: lib/dartdoc/comment_map.dart

Issue 9555013: Get dartdoc in the SDK and working correctly. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update copyright date. Created 8 years, 9 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) 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 /** 5 /**
6 * The cached lookup-table to associate doc comments with spans. The outer map 6 * The cached lookup-table to associate doc comments with spans. The outer map
7 * is from filenames to doc comments in that file. The inner map maps from the 7 * is from filenames to doc comments in that file. The inner map maps from the
8 * token positions to doc comments. Each position is the starting offset of the 8 * token positions to doc comments. Each position is the starting offset of the
9 * next non-comment token *following* the doc comment. For example, the position 9 * next non-comment token *following* the doc comment. For example, the position
10 * for this comment would be the position of the "class" token below. 10 * for this comment would be the position of the "class" token below.
11 */ 11 */
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 line = line.substring(1); 113 line = line.substring(1);
114 } 114 }
115 115
116 buf.add(line); 116 buf.add(line);
117 buf.add('\n'); 117 buf.add('\n');
118 } 118 }
119 119
120 return buf.toString(); 120 return buf.toString();
121 } 121 }
122 } 122 }
OLDNEW
« frog/presubmit.py ('K') | « lib/dartdoc/client-static.dart ('k') | lib/dartdoc/dartdoc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698