OLD | NEW |
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 #library('classify'); | 5 #library('classify'); |
6 | 6 |
7 #import('../../frog/lang.dart'); | 7 #import('../../frog/lang.dart'); |
8 #import('markdown.dart', prefix: 'md'); | 8 #import('markdown.dart', prefix: 'md'); |
9 | 9 |
10 /** | 10 /** |
11 * Kinds of tokens that we care to highlight differently. The values of the | 11 * Kinds of tokens that we care to highlight differently. The values of the |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 return Classification.KEYWORD; | 240 return Classification.KEYWORD; |
241 | 241 |
242 case TokenKind.WHITESPACE: | 242 case TokenKind.WHITESPACE: |
243 case TokenKind.END_OF_FILE: | 243 case TokenKind.END_OF_FILE: |
244 return Classification.NONE; | 244 return Classification.NONE; |
245 | 245 |
246 default: | 246 default: |
247 return Classification.NONE; | 247 return Classification.NONE; |
248 } | 248 } |
249 } | 249 } |
OLD | NEW |