| OLD | NEW |
| 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', prefix: 'md'); | 9 #import('markdown.dart', prefix: 'md'); |
| 10 | 10 |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 | 141 |
| 142 case PLUS_PLUS_TOKEN: | 142 case PLUS_PLUS_TOKEN: |
| 143 case MINUS_MINUS_TOKEN: | 143 case MINUS_MINUS_TOKEN: |
| 144 case TILDE_TOKEN: | 144 case TILDE_TOKEN: |
| 145 case BANG_TOKEN: | 145 case BANG_TOKEN: |
| 146 case EQ_TOKEN: | 146 case EQ_TOKEN: |
| 147 case BAR_EQ_TOKEN: | 147 case BAR_EQ_TOKEN: |
| 148 case CARET_EQ_TOKEN: | 148 case CARET_EQ_TOKEN: |
| 149 case AMPERSAND_EQ_TOKEN: | 149 case AMPERSAND_EQ_TOKEN: |
| 150 case LT_LT_EQ_TOKEN: | 150 case LT_LT_EQ_TOKEN: |
| 151 case GT_GT_GT_EQ_TOKEN: | |
| 152 case GT_GT_EQ_TOKEN: | 151 case GT_GT_EQ_TOKEN: |
| 153 case PLUS_EQ_TOKEN: | 152 case PLUS_EQ_TOKEN: |
| 154 case MINUS_EQ_TOKEN: | 153 case MINUS_EQ_TOKEN: |
| 155 case STAR_EQ_TOKEN: | 154 case STAR_EQ_TOKEN: |
| 156 case SLASH_EQ_TOKEN: | 155 case SLASH_EQ_TOKEN: |
| 157 case TILDE_SLASH_EQ_TOKEN: | 156 case TILDE_SLASH_EQ_TOKEN: |
| 158 case PERCENT_EQ_TOKEN: | 157 case PERCENT_EQ_TOKEN: |
| 159 case QUESTION_TOKEN: | 158 case QUESTION_TOKEN: |
| 160 case BAR_BAR_TOKEN: | 159 case BAR_BAR_TOKEN: |
| 161 case AMPERSAND_AMPERSAND_TOKEN: | 160 case AMPERSAND_AMPERSAND_TOKEN: |
| 162 case BAR_TOKEN: | 161 case BAR_TOKEN: |
| 163 case CARET_TOKEN: | 162 case CARET_TOKEN: |
| 164 case AMPERSAND_TOKEN: | 163 case AMPERSAND_TOKEN: |
| 165 case LT_LT_TOKEN: | 164 case LT_LT_TOKEN: |
| 166 case GT_GT_GT_TOKEN: | |
| 167 case GT_GT_TOKEN: | 165 case GT_GT_TOKEN: |
| 168 case PLUS_TOKEN: | 166 case PLUS_TOKEN: |
| 169 case MINUS_TOKEN: | 167 case MINUS_TOKEN: |
| 170 case STAR_TOKEN: | 168 case STAR_TOKEN: |
| 171 case SLASH_TOKEN: | 169 case SLASH_TOKEN: |
| 172 case TILDE_SLASH_TOKEN: | 170 case TILDE_SLASH_TOKEN: |
| 173 case PERCENT_TOKEN: | 171 case PERCENT_TOKEN: |
| 174 case EQ_EQ_TOKEN: | 172 case EQ_EQ_TOKEN: |
| 175 case BANG_EQ_TOKEN: | 173 case BANG_EQ_TOKEN: |
| 176 case EQ_EQ_EQ_TOKEN: | 174 case EQ_EQ_EQ_TOKEN: |
| (...skipping 19 matching lines...) Expand all Loading... |
| 196 } | 194 } |
| 197 return Classification.KEYWORD; | 195 return Classification.KEYWORD; |
| 198 | 196 |
| 199 case EOF_TOKEN: | 197 case EOF_TOKEN: |
| 200 return Classification.NONE; | 198 return Classification.NONE; |
| 201 | 199 |
| 202 default: | 200 default: |
| 203 return Classification.NONE; | 201 return Classification.NONE; |
| 204 } | 202 } |
| 205 } | 203 } |
| OLD | NEW |