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

Side by Side Diff: dart/pkg/dartdoc/lib/src/dartdoc/comment_map.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, 1 month 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 | « dart/pkg/dartdoc/lib/src/client/search.dart ('k') | dart/pkg/dartdoc/lib/src/dartdoc/nav.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 part of dartdoc;
2
3 // 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
4 // 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
5 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
6 4
7 /** 5 /**
8 * 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
9 * 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
10 * 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
11 * 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
12 * 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.
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 line = line.substring(1); 118 line = line.substring(1);
121 } 119 }
122 120
123 buf.add(line); 121 buf.add(line);
124 buf.add('\n'); 122 buf.add('\n');
125 } 123 }
126 124
127 return buf.toString(); 125 return buf.toString();
128 } 126 }
129 } 127 }
OLDNEW
« no previous file with comments | « dart/pkg/dartdoc/lib/src/client/search.dart ('k') | dart/pkg/dartdoc/lib/src/dartdoc/nav.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698