| // Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file | |
| // for details. All rights reserved. Use of this source code is governed by a | |
| // BSD-style license that can be found in the LICENSE file. | |
| abstract class A { | |
| A(); | |
| A._(); | |
| factory A.factory1() = B; | |
| factory A.factory2() => B(); | |
| factory A._factory3() => B(); | |
| Object? ifield1; | |
| Object? _ifield2; | |
| static Object? sfield3; | |
| static Object? _sfield4; | |
| void imethod1() {} | |
| void imethod2(); | |
| void _imethod3() {} | |
| static void smethod4() {} | |
| } | |
| class B extends A { | |
| B(); | |
| Object? ifield5; | |
| Object? _ifield6; | |
| void imethod2() {} | |
| void imethod5() {} | |
| void _imethod6() {} | |
| static void smethod7() {} | |
| } | |
| class _C { | |
| Object? ifield7; | |
| static Object? _sfield8; | |
| void imethod8() {} | |
| static void smethod9() {} | |
| } | |
| class D { | |
| void build() {} | |
| } | |
| Object? sfield9; | |
| Object? _sfield10; | |
| void smethod10() {} | |
| void _smethod11() {} | |
| class _E1 { | |
| final int _x; | |
| const _E1(this._x); | |
| } | |
| class _E2 extends _E1 { | |
| final int _y; | |
| const _E2(super._x, this._y); | |
| } | |
| class _F { | |
| _F(); | |
| factory _F._foo() = _G._bar; | |
| } | |
| class _G extends _F { | |
| _G._bar(); | |
| } | |
| const const11 = [_E2(1, 2), _F._foo]; | |
| abstract class K { | |
| void foo(); | |
| } | |
| class _L { | |
| void foo() {} | |
| } | |
| class _M extends _L implements K {} | |
| class N {} | |
| class O extends N {} | |
| class P1 implements P2 { | |
| void foo() {} | |
| } | |
| abstract class P2 { | |
| void foo(); | |
| } | |
| class Q implements P1 { | |
| void foo() {} | |
| } | |
| final class R {} | |
| final class S extends R {} | |
| final class T {} | |
| final class U { | |
| void foo() => print(3); | |
| } | |
| base class V {} |