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

Side by Side Diff: pkg/dartdoc/lib/classify.dart

Issue 10919260: Reorganize dartdoc to new package layout. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | « pkg/dartdoc/inline_parser.dart ('k') | pkg/dartdoc/lib/dartdoc.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('classify'); 5 #library('classify');
6 6
7 #import('../../lib/compiler/implementation/scanner/scannerlib.dart'); 7 #import('../../../lib/compiler/implementation/scanner/scannerlib.dart');
8 // TODO(rnystrom): Use "package:" URL (#4968).
8 #import('markdown.dart', prefix: 'md'); 9 #import('markdown.dart', prefix: 'md');
9 10
10 /** 11 /**
11 * Kinds of tokens that we care to highlight differently. The values of the 12 * Kinds of tokens that we care to highlight differently. The values of the
12 * fields here will be used as CSS class names for the generated spans. 13 * fields here will be used as CSS class names for the generated spans.
13 */ 14 */
14 class Classification { 15 class Classification {
15 static const NONE = null; 16 static const NONE = null;
16 static const ERROR = "e"; 17 static const ERROR = "e";
17 static const COMMENT = "c"; 18 static const COMMENT = "c";
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 } 196 }
196 return Classification.KEYWORD; 197 return Classification.KEYWORD;
197 198
198 case EOF_TOKEN: 199 case EOF_TOKEN:
199 return Classification.NONE; 200 return Classification.NONE;
200 201
201 default: 202 default:
202 return Classification.NONE; 203 return Classification.NONE;
203 } 204 }
204 } 205 }
OLDNEW
« no previous file with comments | « pkg/dartdoc/inline_parser.dart ('k') | pkg/dartdoc/lib/dartdoc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698