MCPcopy Create free account
hub / github.com/microsoft/typescript-go / getScriptInfo

Method getScriptInfo

internal/fourslash/fourslash.go:3961–3963  ·  view source on GitHub ↗
(fileName string)

Source from the content-addressed store, hash-verified

3959}
3960
3961func (f *FourslashTest) getScriptInfo(fileName string) *scriptInfo {
3962 return f.scriptInfos[fileName]
3963}
3964
3965func (f *FourslashTest) getOrLoadScriptInfo(fileName string) *scriptInfo {
3966 if script := f.getScriptInfo(fileName); script != nil {

Callers 15

textOfFileMethod · 0.95
GoToEOFMethod · 0.95
GoToPositionMethod · 0.95
openFileMethod · 0.95
VerifyCompletionsMethod · 0.95
VerifyJSDocCompletionMethod · 0.95
VerifyCodeFixMethod · 0.95
VerifyCodeFixAllMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected