| 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 part of scanner; | 5 part of scanner; |
| 6 | 6 |
| 7 abstract class Scanner { | 7 abstract class Scanner { |
| 8 Token tokenize(); | 8 Token tokenize(); |
| 9 | 9 |
| 10 factory Scanner(SourceFile file, {bool includeComments: false}) { | 10 factory Scanner(SourceFile file, {bool includeComments: false}) { |
| (...skipping 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1147 | 1147 |
| 1148 PrecedenceInfo closeBraceInfoFor(BeginGroupToken begin) { | 1148 PrecedenceInfo closeBraceInfoFor(BeginGroupToken begin) { |
| 1149 return const { | 1149 return const { |
| 1150 '(': CLOSE_PAREN_INFO, | 1150 '(': CLOSE_PAREN_INFO, |
| 1151 '[': CLOSE_SQUARE_BRACKET_INFO, | 1151 '[': CLOSE_SQUARE_BRACKET_INFO, |
| 1152 '{': CLOSE_CURLY_BRACKET_INFO, | 1152 '{': CLOSE_CURLY_BRACKET_INFO, |
| 1153 '<': GT_INFO, | 1153 '<': GT_INFO, |
| 1154 r'${': CLOSE_CURLY_BRACKET_INFO, | 1154 r'${': CLOSE_CURLY_BRACKET_INFO, |
| 1155 }[begin.value]; | 1155 }[begin.value]; |
| 1156 } | 1156 } |
| OLD | NEW |