1//// [privateNamesIncompatibleModifiersJs.js] 2class A { 3 /** 4 * @public 5 */ 6 #a = 1; 7 8 /** 9 * @private 10 */ 11 #b = 1; 12 13 /** 14 * @protected 15 */ 16 #c = 1; 17 18 /** 19 * @public 20 */ 21 #aMethod() { return 1; } 22 23 /** 24 * @private 25 */ 26 #bMethod() { return 1; } 27 28 /** 29 * @protected 30 */ 31 #cMethod() { return 1; } 32 33 /** 34 * @public 35 */ 36 get #aProp() { return 1; } 37 /** 38 * @public 39 */ 40 set #aProp(value) { } 41 42 /** 43 * @private 44 */ 45 get #bProp() { return 1; } 46 /** 47 * @private 48 */ 49 set #bProp(value) { } 50 51 /** 52 * @protected 53 */ 54 get #cProp() { return 1; } 55 /** 56 * @protected 57 */ 58 set #cProp(value) { } 59} 60 61 62//// [privateNamesIncompatibleModifiersJs.js] 63"use strict"; 64var _A_instances, _A_a, _A_b, _A_c, _A_aMethod, _A_bMethod, _A_cMethod, _A_aProp_get, _A_aProp_set, _A_bProp_get, _A_bProp_set, _A_cProp_get, _A_cProp_set; 65class A { 66 constructor() { 67 _A_instances.add(this); 68 /** 69 * @public 70 */ 71 _A_a.set(this, 1); 72 /** 73 * @private 74 */ 75 _A_b.set(this, 1); 76 /** 77 * @protected 78 */ 79 _A_c.set(this, 1); 80 } 81} 82_A_a = new WeakMap(), _A_b = new WeakMap(), _A_c = new WeakMap(), _A_instances = new WeakSet(), _A_aMethod = function _A_aMethod() { return 1; }, _A_bMethod = function _A_bMethod() { return 1; }, _A_cMethod = function _A_cMethod() { return 1; }, _A_aProp_get = function _A_aProp_get() { return 1; }, _A_aProp_set = function _A_aProp_set(value) { }, _A_bProp_get = function _A_bProp_get() { return 1; }, _A_bProp_set = function _A_bProp_set(value) { }, _A_cProp_get = function _A_cProp_get() { return 1; }, _A_cProp_set = function _A_cProp_set(value) { }; 83