| 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 docgen.model_helpers; | 5 library docgen.model_helpers; |
| 6 | 6 |
| 7 import 'dart:collection'; | 7 import 'dart:collection'; |
| 8 | 8 |
| 9 import 'package:compiler/src/constants/expressions.dart'; | 9 import 'package:compiler/src/constants/expressions.dart'; |
| 10 | 10 |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 return null; | 94 return null; |
| 95 } | 95 } |
| 96 | 96 |
| 97 @override | 97 @override |
| 98 Annotation visitBinary(BinaryConstantExpression exp, | 98 Annotation visitBinary(BinaryConstantExpression exp, |
| 99 AnnotationInfo context) { | 99 AnnotationInfo context) { |
| 100 return null; | 100 return null; |
| 101 } | 101 } |
| 102 | 102 |
| 103 @override | 103 @override |
| 104 Annotation visitIdentical(IdenticalConstantExpression exp, |
| 105 AnnotationInfo context) { |
| 106 return null; |
| 107 } |
| 108 |
| 109 @override |
| 104 Annotation visitConcatenate(ConcatenateConstantExpression exp, | 110 Annotation visitConcatenate(ConcatenateConstantExpression exp, |
| 105 AnnotationInfo context) { | 111 AnnotationInfo context) { |
| 106 return null; | 112 return null; |
| 107 } | 113 } |
| 108 | 114 |
| 109 @override | 115 @override |
| 110 Annotation visitConditional(ConditionalConstantExpression exp, | 116 Annotation visitConditional(ConditionalConstantExpression exp, |
| 111 AnnotationInfo context) { | 117 AnnotationInfo context) { |
| 112 return null; | 118 return null; |
| 113 } | 119 } |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 // the time. | 367 // the time. |
| 362 var sdkLibrary = LIBRARIES[dart2js_util.nameOf(mirror)]; | 368 var sdkLibrary = LIBRARIES[dart2js_util.nameOf(mirror)]; |
| 363 if (sdkLibrary != null) { | 369 if (sdkLibrary != null) { |
| 364 return !sdkLibrary.documented; | 370 return !sdkLibrary.documented; |
| 365 } else if (dart2js_util.nameOf(mirror).startsWith('_') || dart2js_util.nameOf( | 371 } else if (dart2js_util.nameOf(mirror).startsWith('_') || dart2js_util.nameOf( |
| 366 mirror).contains('._')) { | 372 mirror).contains('._')) { |
| 367 return true; | 373 return true; |
| 368 } | 374 } |
| 369 return false; | 375 return false; |
| 370 } | 376 } |
| OLD | NEW |