OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 analyzer2dart.semantic_visitor; | 5 library analyzer2dart.semantic_visitor; |
6 | 6 |
7 import 'package:analyzer/analyzer.dart'; | 7 import 'package:analyzer/analyzer.dart'; |
8 import 'package:analyzer/src/generated/source.dart'; | 8 import 'package:analyzer/src/generated/source.dart'; |
9 | 9 |
10 import 'util.dart'; | 10 import 'util.dart'; |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 case AccessKind.STATIC_PROPERTY: | 262 case AccessKind.STATIC_PROPERTY: |
263 return visitStaticPropertyAssignment(node, semantics); | 263 return visitStaticPropertyAssignment(node, semantics); |
264 default: | 264 default: |
265 // Unexpected access kind. | 265 // Unexpected access kind. |
266 return giveUp(node, | 266 return giveUp(node, |
267 'Unexpected ${semantics} in _handlePropertyAccess.'); | 267 'Unexpected ${semantics} in _handlePropertyAccess.'); |
268 } | 268 } |
269 } | 269 } |
270 } | 270 } |
271 } | 271 } |
OLD | NEW |