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 dart_scanner.abstract_scanner; | 5 library dart_scanner.abstract_scanner; |
6 | 6 |
7 import '../scanner.dart' show | 7 import '../dart_scanner.dart' show |
8 Scanner; | 8 Scanner; |
9 | 9 |
10 import 'keyword.dart' show | 10 import 'keyword.dart' show |
11 KeywordState, | 11 KeywordState, |
12 Keyword; | 12 Keyword; |
13 | 13 |
14 import 'precedence.dart'; | 14 import 'precedence.dart'; |
15 | 15 |
16 import 'token.dart' show | 16 import 'token.dart' show |
17 BadInputToken, | 17 BadInputToken, |
(...skipping 1147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1165 | 1165 |
1166 PrecedenceInfo closeBraceInfoFor(BeginGroupToken begin) { | 1166 PrecedenceInfo closeBraceInfoFor(BeginGroupToken begin) { |
1167 return const { | 1167 return const { |
1168 '(': CLOSE_PAREN_INFO, | 1168 '(': CLOSE_PAREN_INFO, |
1169 '[': CLOSE_SQUARE_BRACKET_INFO, | 1169 '[': CLOSE_SQUARE_BRACKET_INFO, |
1170 '{': CLOSE_CURLY_BRACKET_INFO, | 1170 '{': CLOSE_CURLY_BRACKET_INFO, |
1171 '<': GT_INFO, | 1171 '<': GT_INFO, |
1172 r'${': CLOSE_CURLY_BRACKET_INFO, | 1172 r'${': CLOSE_CURLY_BRACKET_INFO, |
1173 }[begin.value]; | 1173 }[begin.value]; |
1174 } | 1174 } |
OLD | NEW |