File tree 2 files changed +15
-0
lines changed
src/linter/ui5Types/fixHints
2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change
1
+ import ts from "typescript" ;
2
+ import type { FixHints } from "./FixHints.js" ;
3
+
4
+ export default class CoreFixHintsGenerator {
5
+ getFixHints ( node : ts . CallExpression | ts . AccessExpression ) : FixHints | undefined {
6
+ return ;
7
+ }
8
+ }
Original file line number Diff line number Diff line change @@ -2,18 +2,21 @@ import ts from "typescript";
2
2
import { AmbientModuleCache } from "../AmbientModuleCache.js" ;
3
3
import GlobalsFixHintsGenerator from "./GlobalsFixHintsGenerator.js" ;
4
4
import JquerySapFixHintsGenerator from "./JquerySapFixHintsGenerator.js" ;
5
+ import CoreFixHintsGenerator from "./CoreFixHintsGenerator.js" ;
5
6
import { FixHints } from "./FixHints.js" ;
6
7
7
8
export default class FixHintsGenerator {
8
9
private globalsGenerator : GlobalsFixHintsGenerator ;
9
10
private jquerySapGenerator : JquerySapFixHintsGenerator ;
11
+ private coreGenerator : CoreFixHintsGenerator ;
10
12
11
13
constructor (
12
14
resourcePath : string ,
13
15
ambientModuleCache : AmbientModuleCache
14
16
) {
15
17
this . globalsGenerator = new GlobalsFixHintsGenerator ( resourcePath , ambientModuleCache ) ;
16
18
this . jquerySapGenerator = new JquerySapFixHintsGenerator ( ) ;
19
+ this . coreGenerator = new CoreFixHintsGenerator ( ) ;
17
20
}
18
21
19
22
public getGlobalsFixHints ( node : ts . CallExpression | ts . AccessExpression ) : FixHints | undefined {
@@ -25,4 +28,8 @@ export default class FixHintsGenerator {
25
28
) : FixHints | undefined {
26
29
return this . jquerySapGenerator . getFixHints ( node ) ;
27
30
}
31
+
32
+ public getCoreFixHints ( node : ts . CallExpression | ts . AccessExpression ) : FixHints | undefined {
33
+ return this . coreGenerator . getFixHints ( node ) ;
34
+ }
28
35
}
You can’t perform that action at this time.
0 commit comments