1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161
|
=== tests/cases/conformance/types/union/unionTypePropertyAccessibility.ts ===
class Default {
>Default : Symbol(Default, Decl(unionTypePropertyAccessibility.ts, 0, 0))
member: string;
>member : Symbol(Default.member, Decl(unionTypePropertyAccessibility.ts, 0, 15))
}
class Public {
>Public : Symbol(Public, Decl(unionTypePropertyAccessibility.ts, 2, 1))
public member: string;
>member : Symbol(Public.member, Decl(unionTypePropertyAccessibility.ts, 4, 14))
}
class Protected {
>Protected : Symbol(Protected, Decl(unionTypePropertyAccessibility.ts, 6, 1))
protected member: string;
>member : Symbol(Protected.member, Decl(unionTypePropertyAccessibility.ts, 8, 17))
}
class Private {
>Private : Symbol(Private, Decl(unionTypePropertyAccessibility.ts, 10, 1))
private member: number;
>member : Symbol(Private.member, Decl(unionTypePropertyAccessibility.ts, 12, 15))
}
var v1: Default;
>v1 : Symbol(v1, Decl(unionTypePropertyAccessibility.ts, 16, 3))
>Default : Symbol(Default, Decl(unionTypePropertyAccessibility.ts, 0, 0))
var v2: Public;
>v2 : Symbol(v2, Decl(unionTypePropertyAccessibility.ts, 17, 3))
>Public : Symbol(Public, Decl(unionTypePropertyAccessibility.ts, 2, 1))
var v3: Protected;
>v3 : Symbol(v3, Decl(unionTypePropertyAccessibility.ts, 18, 3))
>Protected : Symbol(Protected, Decl(unionTypePropertyAccessibility.ts, 6, 1))
var v4: Private;
>v4 : Symbol(v4, Decl(unionTypePropertyAccessibility.ts, 19, 3))
>Private : Symbol(Private, Decl(unionTypePropertyAccessibility.ts, 10, 1))
var v5: Default | Public;
>v5 : Symbol(v5, Decl(unionTypePropertyAccessibility.ts, 20, 3))
>Default : Symbol(Default, Decl(unionTypePropertyAccessibility.ts, 0, 0))
>Public : Symbol(Public, Decl(unionTypePropertyAccessibility.ts, 2, 1))
var v6: Default | Protected;
>v6 : Symbol(v6, Decl(unionTypePropertyAccessibility.ts, 21, 3))
>Default : Symbol(Default, Decl(unionTypePropertyAccessibility.ts, 0, 0))
>Protected : Symbol(Protected, Decl(unionTypePropertyAccessibility.ts, 6, 1))
var v7: Default | Private;
>v7 : Symbol(v7, Decl(unionTypePropertyAccessibility.ts, 22, 3))
>Default : Symbol(Default, Decl(unionTypePropertyAccessibility.ts, 0, 0))
>Private : Symbol(Private, Decl(unionTypePropertyAccessibility.ts, 10, 1))
var v8: Public | Protected;
>v8 : Symbol(v8, Decl(unionTypePropertyAccessibility.ts, 23, 3))
>Public : Symbol(Public, Decl(unionTypePropertyAccessibility.ts, 2, 1))
>Protected : Symbol(Protected, Decl(unionTypePropertyAccessibility.ts, 6, 1))
var v9: Public | Private;
>v9 : Symbol(v9, Decl(unionTypePropertyAccessibility.ts, 24, 3))
>Public : Symbol(Public, Decl(unionTypePropertyAccessibility.ts, 2, 1))
>Private : Symbol(Private, Decl(unionTypePropertyAccessibility.ts, 10, 1))
var v10: Protected | Private;
>v10 : Symbol(v10, Decl(unionTypePropertyAccessibility.ts, 25, 3))
>Protected : Symbol(Protected, Decl(unionTypePropertyAccessibility.ts, 6, 1))
>Private : Symbol(Private, Decl(unionTypePropertyAccessibility.ts, 10, 1))
var v11: Default | Public | Protected;
>v11 : Symbol(v11, Decl(unionTypePropertyAccessibility.ts, 26, 3))
>Default : Symbol(Default, Decl(unionTypePropertyAccessibility.ts, 0, 0))
>Public : Symbol(Public, Decl(unionTypePropertyAccessibility.ts, 2, 1))
>Protected : Symbol(Protected, Decl(unionTypePropertyAccessibility.ts, 6, 1))
var v12: Default | Public | Private;
>v12 : Symbol(v12, Decl(unionTypePropertyAccessibility.ts, 27, 3))
>Default : Symbol(Default, Decl(unionTypePropertyAccessibility.ts, 0, 0))
>Public : Symbol(Public, Decl(unionTypePropertyAccessibility.ts, 2, 1))
>Private : Symbol(Private, Decl(unionTypePropertyAccessibility.ts, 10, 1))
var v13: Default | Protected | Private;
>v13 : Symbol(v13, Decl(unionTypePropertyAccessibility.ts, 28, 3))
>Default : Symbol(Default, Decl(unionTypePropertyAccessibility.ts, 0, 0))
>Protected : Symbol(Protected, Decl(unionTypePropertyAccessibility.ts, 6, 1))
>Private : Symbol(Private, Decl(unionTypePropertyAccessibility.ts, 10, 1))
var v14: Public | Private | Protected;
>v14 : Symbol(v14, Decl(unionTypePropertyAccessibility.ts, 29, 3))
>Public : Symbol(Public, Decl(unionTypePropertyAccessibility.ts, 2, 1))
>Private : Symbol(Private, Decl(unionTypePropertyAccessibility.ts, 10, 1))
>Protected : Symbol(Protected, Decl(unionTypePropertyAccessibility.ts, 6, 1))
var v15: Default | Public | Private | Protected;
>v15 : Symbol(v15, Decl(unionTypePropertyAccessibility.ts, 30, 3))
>Default : Symbol(Default, Decl(unionTypePropertyAccessibility.ts, 0, 0))
>Public : Symbol(Public, Decl(unionTypePropertyAccessibility.ts, 2, 1))
>Private : Symbol(Private, Decl(unionTypePropertyAccessibility.ts, 10, 1))
>Protected : Symbol(Protected, Decl(unionTypePropertyAccessibility.ts, 6, 1))
v1.member;
>v1.member : Symbol(Default.member, Decl(unionTypePropertyAccessibility.ts, 0, 15))
>v1 : Symbol(v1, Decl(unionTypePropertyAccessibility.ts, 16, 3))
>member : Symbol(Default.member, Decl(unionTypePropertyAccessibility.ts, 0, 15))
v2.member;
>v2.member : Symbol(Public.member, Decl(unionTypePropertyAccessibility.ts, 4, 14))
>v2 : Symbol(v2, Decl(unionTypePropertyAccessibility.ts, 17, 3))
>member : Symbol(Public.member, Decl(unionTypePropertyAccessibility.ts, 4, 14))
v3.member;
>v3.member : Symbol(Protected.member, Decl(unionTypePropertyAccessibility.ts, 8, 17))
>v3 : Symbol(v3, Decl(unionTypePropertyAccessibility.ts, 18, 3))
>member : Symbol(Protected.member, Decl(unionTypePropertyAccessibility.ts, 8, 17))
v4.member;
>v4.member : Symbol(Private.member, Decl(unionTypePropertyAccessibility.ts, 12, 15))
>v4 : Symbol(v4, Decl(unionTypePropertyAccessibility.ts, 19, 3))
>member : Symbol(Private.member, Decl(unionTypePropertyAccessibility.ts, 12, 15))
v5.member;
>v5.member : Symbol(member, Decl(unionTypePropertyAccessibility.ts, 0, 15), Decl(unionTypePropertyAccessibility.ts, 4, 14))
>v5 : Symbol(v5, Decl(unionTypePropertyAccessibility.ts, 20, 3))
>member : Symbol(member, Decl(unionTypePropertyAccessibility.ts, 0, 15), Decl(unionTypePropertyAccessibility.ts, 4, 14))
v6.member;
>v6 : Symbol(v6, Decl(unionTypePropertyAccessibility.ts, 21, 3))
v7.member;
>v7 : Symbol(v7, Decl(unionTypePropertyAccessibility.ts, 22, 3))
v8.member;
>v8 : Symbol(v8, Decl(unionTypePropertyAccessibility.ts, 23, 3))
v9.member;
>v9 : Symbol(v9, Decl(unionTypePropertyAccessibility.ts, 24, 3))
v10.member;
>v10 : Symbol(v10, Decl(unionTypePropertyAccessibility.ts, 25, 3))
v11.member;
>v11 : Symbol(v11, Decl(unionTypePropertyAccessibility.ts, 26, 3))
v12.member;
>v12 : Symbol(v12, Decl(unionTypePropertyAccessibility.ts, 27, 3))
v13.member;
>v13 : Symbol(v13, Decl(unionTypePropertyAccessibility.ts, 28, 3))
v14.member;
>v14 : Symbol(v14, Decl(unionTypePropertyAccessibility.ts, 29, 3))
v15.member;
>v15 : Symbol(v15, Decl(unionTypePropertyAccessibility.ts, 30, 3))
|