File: getOccurrencesProtected2.ts

package info (click to toggle)
node-typescript 4.8.4%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 523,068 kB
  • sloc: javascript: 1,735,777; makefile: 7; sh: 1
file content (57 lines) | stat: -rw-r--r-- 1,542 bytes parent folder | download | duplicates (5)
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
/// <reference path='fourslash.ts' />

////module m {
////    export class C1 {
////        public pub1;
////        public pub2;
////        private priv1;
////        private priv2;
////        protected prot1;
////        protected prot2;
////
////        public public;
////        private private;
////        protected protected;
////
////        public constructor(public a, private b, protected c, public d, private e, protected f) {
////            this.public = 10;
////            this.private = 10;
////            this.protected = 10;
////        }
////
////        public get x() { return 10; }
////        public set x(value) { }
////
////        public static statPub;
////        private static statPriv;
////        protected static statProt;
////    }
////
////    export interface I1 {
////    }
////
////    export declare module ma.m1.m2.m3 {
////        interface I2 {
////        }
////    }
////
////    export module mb.m1.m2.m3 {
////        declare var foo;
////
////        export class C2 {
////            public pub1;
////            private priv1;
////            [|protected|] prot1;
////
////            [|protected|] constructor(public public, [|protected|] protected, private private) {
////                public = private = protected;
////            }
////        }
////    }
////
////    declare var ambientThing: number;
////    export var exportedThing = 10;
////    declare function foo(): string;
////}

verify.rangesAreOccurrences(false);