File tree 1 file changed +23
-0
lines changed
javascript/ql/test/library-tests/CallGraphs/AnnotatedTest 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -7,31 +7,54 @@ class Base {
7
7
8
8
/** calls:NONE */
9
9
this . methodInSub ( ) ;
10
+
11
+ /** calls:overridenInSub0 */
12
+ this . overridenInSub ( ) ;
10
13
}
11
14
12
15
/** name:methodInBase */
13
16
methodInBase ( ) {
14
17
/** calls:NONE */
15
18
this . methodInSub ( ) ;
16
19
}
20
+
21
+ /** name:overridenInSub0 */
22
+ overridenInSub ( ) {
23
+ }
17
24
}
18
25
19
26
class Subclass1 extends Base {
20
27
workInSub ( ) {
21
28
/** calls:methodInBase */
22
29
this . methodInBase ( ) ;
30
+
31
+ /** calls:overridenInSub1 */
32
+ this . overridenInSub ( ) ;
23
33
}
24
34
35
+ /** name:methodInSub1 */
25
36
methodInSub ( ) {
26
37
}
38
+
39
+ /** name:overridenInSub1 */
40
+ overridenInSub ( ) {
41
+ }
27
42
}
28
43
29
44
class Subclass2 extends Base {
30
45
workInSub ( ) {
31
46
/** calls:methodInBase */
32
47
this . methodInBase ( ) ;
48
+
49
+ /** calls:overridenInSub2 */
50
+ this . overridenInSub ( ) ;
33
51
}
34
52
53
+ /** name:methodInSub2 */
35
54
methodInSub ( ) {
36
55
}
56
+
57
+ /** name:overridenInSub2 */
58
+ overridenInSub ( ) {
59
+ }
37
60
}
You can’t perform that action at this time.
0 commit comments