File tree Expand file tree Collapse file tree 1 file changed +0
-52
lines changed
pkg/analyzer/lib/src/dart/element Expand file tree Collapse file tree 1 file changed +0
-52
lines changed Original file line number Diff line number Diff line change @@ -658,58 +658,6 @@ class FieldMember extends VariableMember
658658 }
659659}
660660
661- @Deprecated ('There is no way to create an instance of this class' )
662- class FunctionMember extends ExecutableMember implements FunctionElement {
663- FunctionMember (FunctionElement declaration)
664- : super (
665- declaration,
666- Substitution .empty,
667- Substitution .empty,
668- declaration.typeParameters,
669- );
670-
671- @override
672- FunctionElement ? get augmentation {
673- return declaration.augmentationTarget;
674- }
675-
676- @override
677- FunctionElement ? get augmentationTarget {
678- return declaration.augmentationTarget;
679- }
680-
681- @override
682- ExecutableElement2 get baseElement => throw UnimplementedError ();
683-
684- @override
685- FunctionElement get declaration => super .declaration as FunctionElement ;
686-
687- @override
688- Element get enclosingElement3 => declaration.enclosingElement3;
689-
690- @override
691- bool get isDartCoreIdentical => declaration.isDartCoreIdentical;
692-
693- @override
694- bool get isEntryPoint => declaration.isEntryPoint;
695-
696- @override
697- String get name => declaration.name;
698-
699- @override
700- Source get source => _declaration.source! ;
701-
702- @override
703- T ? accept <T >(ElementVisitor <T > visitor) {
704- return visitor.visitFunctionElement (this );
705- }
706-
707- @override
708- T ? accept2 <T >(ElementVisitor2 <T > visitor) {
709- throw UnimplementedError ('Never created' );
710- }
711- }
712-
713661/// A getter element defined in a parameterized type where the values of the
714662/// type parameters are known.
715663class GetterMember extends PropertyAccessorMember implements GetterElement {
You can’t perform that action at this time.
0 commit comments