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 LICESNE file. | 3 // BSD-style license that can be found in the LICESNE file. |
4 | 4 |
5 library mirrors.reader; | 5 library mirrors.reader; |
6 | 6 |
7 import 'dart:mirrors'; | 7 import 'dart:mirrors'; |
8 import 'mirrors_visitor.dart'; | 8 import 'mirrors_visitor.dart'; |
9 | 9 |
10 class ReadError { | 10 class ReadError { |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 visit(mirror, 'isOriginalDeclaration', | 244 visit(mirror, 'isOriginalDeclaration', |
245 () => mirror.isOriginalDeclaration); | 245 () => mirror.isOriginalDeclaration); |
246 visit(mirror, 'originalDeclaration', () => mirror.originalDeclaration); | 246 visit(mirror, 'originalDeclaration', () => mirror.originalDeclaration); |
247 visit(mirror, 'typeArguments', () => mirror.typeArguments); | 247 visit(mirror, 'typeArguments', () => mirror.typeArguments); |
248 visit(mirror, 'typeVariables', () => mirror.typeVariables); | 248 visit(mirror, 'typeVariables', () => mirror.typeVariables); |
249 } | 249 } |
250 | 250 |
251 visitTypeVariableMirror(TypeVariableMirror mirror) { | 251 visitTypeVariableMirror(TypeVariableMirror mirror) { |
252 super.visitTypeVariableMirror(mirror); | 252 super.visitTypeVariableMirror(mirror); |
253 visit(mirror, 'upperBound', () => mirror.upperBound); | 253 visit(mirror, 'upperBound', () => mirror.upperBound); |
| 254 visit(mirror, 'isStatic', () => mirror.isStatic); |
254 } | 255 } |
255 | 256 |
256 visitVariableMirror(VariableMirror mirror) { | 257 visitVariableMirror(VariableMirror mirror) { |
257 super.visitVariableMirror(mirror); | 258 super.visitVariableMirror(mirror); |
258 visit(mirror, 'isConst', () => mirror.isConst); | 259 visit(mirror, 'isConst', () => mirror.isConst); |
259 visit(mirror, 'isFinal', () => mirror.isFinal); | 260 visit(mirror, 'isFinal', () => mirror.isFinal); |
260 visit(mirror, 'isStatic', () => mirror.isStatic); | 261 visit(mirror, 'isStatic', () => mirror.isStatic); |
261 visit(mirror, 'type', () => mirror.type); | 262 visit(mirror, 'type', () => mirror.type); |
262 } | 263 } |
263 } | 264 } |
OLD | NEW |