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

Side by Side Diff: dart/pkg/dartdoc/lib/classify.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, 2 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 | « dart/pkg/dartdoc/bin/dartdoc.dart ('k') | dart/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 // TODO(rnystrom): Use "package:" URL (#4968).
9 import 'markdown.dart' as md; 9 #import('markdown.dart', prefix: 'md');
10 10
11 /** 11 /**
12 * 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
13 * 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.
14 */ 14 */
15 class Classification { 15 class Classification {
16 static const NONE = null; 16 static const NONE = null;
17 static const ERROR = "e"; 17 static const ERROR = "e";
18 static const COMMENT = "c"; 18 static const COMMENT = "c";
19 static const IDENTIFIER = "i"; 19 static const IDENTIFIER = "i";
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 } 194 }
195 return Classification.KEYWORD; 195 return Classification.KEYWORD;
196 196
197 case EOF_TOKEN: 197 case EOF_TOKEN:
198 return Classification.NONE; 198 return Classification.NONE;
199 199
200 default: 200 default:
201 return Classification.NONE; 201 return Classification.NONE;
202 } 202 }
203 } 203 }
OLDNEW
« no previous file with comments | « dart/pkg/dartdoc/bin/dartdoc.dart ('k') | dart/pkg/dartdoc/lib/dartdoc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698