File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
javascript/ql/test/library-tests/CallGraphs/AnnotatedTest Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -7,31 +7,54 @@ class Base {
77
88 /** calls:NONE */
99 this . methodInSub ( ) ;
10+
11+ /** calls:overridenInSub0 */
12+ this . overridenInSub ( ) ;
1013 }
1114
1215 /** name:methodInBase */
1316 methodInBase ( ) {
1417 /** calls:NONE */
1518 this . methodInSub ( ) ;
1619 }
20+
21+ /** name:overridenInSub0 */
22+ overridenInSub ( ) {
23+ }
1724}
1825
1926class Subclass1 extends Base {
2027 workInSub ( ) {
2128 /** calls:methodInBase */
2229 this . methodInBase ( ) ;
30+
31+ /** calls:overridenInSub1 */
32+ this . overridenInSub ( ) ;
2333 }
2434
35+ /** name:methodInSub1 */
2536 methodInSub ( ) {
2637 }
38+
39+ /** name:overridenInSub1 */
40+ overridenInSub ( ) {
41+ }
2742}
2843
2944class Subclass2 extends Base {
3045 workInSub ( ) {
3146 /** calls:methodInBase */
3247 this . methodInBase ( ) ;
48+
49+ /** calls:overridenInSub2 */
50+ this . overridenInSub ( ) ;
3351 }
3452
53+ /** name:methodInSub2 */
3554 methodInSub ( ) {
3655 }
56+
57+ /** name:overridenInSub2 */
58+ overridenInSub ( ) {
59+ }
3760}
You can’t perform that action at this time.
0 commit comments