| 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 analyzer.src.dart.element.element; | 5 library analyzer.src.dart.element.element; |
| 6 | 6 |
| 7 import 'dart:collection'; | 7 import 'dart:collection'; |
| 8 import 'dart:math' show min; | 8 import 'dart:math' show min; |
| 9 | 9 |
| 10 import 'package:analyzer/dart/ast/ast.dart'; | 10 import 'package:analyzer/dart/ast/ast.dart'; |
| (...skipping 4461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4472 @override | 4472 @override |
| 4473 FunctionType get type { | 4473 FunctionType get type { |
| 4474 return _type ??= | 4474 return _type ??= |
| 4475 new FunctionTypeImpl.elementWithNameAndArgs(this, null, null, false); | 4475 new FunctionTypeImpl.elementWithNameAndArgs(this, null, null, false); |
| 4476 } | 4476 } |
| 4477 | 4477 |
| 4478 @override | 4478 @override |
| 4479 void set type(FunctionType type) { | 4479 void set type(FunctionType type) { |
| 4480 assert(false); | 4480 assert(false); |
| 4481 } | 4481 } |
| 4482 |
| 4483 @override |
| 4484 List<UnlinkedTypeParam> get unlinkedTypeParams => _entityRef.typeParameters; |
| 4482 } | 4485 } |
| 4483 | 4486 |
| 4484 /** | 4487 /** |
| 4485 * A concrete implementation of a [FunctionTypeAliasElement]. | 4488 * A concrete implementation of a [FunctionTypeAliasElement]. |
| 4486 */ | 4489 */ |
| 4487 class FunctionTypeAliasElementImpl extends ElementImpl | 4490 class FunctionTypeAliasElementImpl extends ElementImpl |
| 4488 with TypeParameterizedElementMixin | 4491 with TypeParameterizedElementMixin |
| 4489 implements FunctionTypeAliasElement { | 4492 implements FunctionTypeAliasElement { |
| 4490 /** | 4493 /** |
| 4491 * The unlinked representation of the type in the summary. | 4494 * The unlinked representation of the type in the summary. |
| (...skipping 4385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8877 | 8880 |
| 8878 @override | 8881 @override |
| 8879 DartObject computeConstantValue() => null; | 8882 DartObject computeConstantValue() => null; |
| 8880 | 8883 |
| 8881 @override | 8884 @override |
| 8882 void visitChildren(ElementVisitor visitor) { | 8885 void visitChildren(ElementVisitor visitor) { |
| 8883 super.visitChildren(visitor); | 8886 super.visitChildren(visitor); |
| 8884 _initializer?.accept(visitor); | 8887 _initializer?.accept(visitor); |
| 8885 } | 8888 } |
| 8886 } | 8889 } |
| OLD | NEW |