OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 parser.class_member_parser; | 5 library dart_parser.class_member_parser; |
6 | 6 |
7 import 'package:scanner/src/token.dart' show | 7 import 'package:dart_scanner/src/token.dart' show |
8 BeginGroupToken, | 8 BeginGroupToken, |
9 ErrorToken, | 9 ErrorToken, |
10 Token; | 10 Token; |
11 | 11 |
12 import 'package:scanner/src/token_constants.dart' show | 12 import 'package:dart_scanner/src/token_constants.dart' show |
13 EOF_TOKEN; | 13 EOF_TOKEN; |
14 | 14 |
15 import 'listener.dart' show | 15 import 'listener.dart' show |
16 Listener; | 16 Listener; |
17 | 17 |
18 import 'error_kind.dart' show | 18 import 'error_kind.dart' show |
19 ErrorKind; | 19 ErrorKind; |
20 | 20 |
21 import 'parser.dart' show | 21 import 'parser.dart' show |
22 Parser, | 22 Parser, |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 token = parseRedirectingFactoryBody(token); | 148 token = parseRedirectingFactoryBody(token); |
149 expectSemicolon(token); | 149 expectSemicolon(token); |
150 } else { | 150 } else { |
151 token = skipBlock(token); | 151 token = skipBlock(token); |
152 } | 152 } |
153 listener.skippedFunctionBody(token); | 153 listener.skippedFunctionBody(token); |
154 } | 154 } |
155 return token; | 155 return token; |
156 } | 156 } |
157 } | 157 } |
OLD | NEW |