Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/basarat/typescript-book
/ runScanner.ts
File
runScanner.ts
code/compiler/scanner/runScanner.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
* as ts from
"ntypescript"
;
2
3
// TypeScript has a singelton scanner
4
const
scanner = ts.createScanner(ts.ScriptTarget.Latest, /*skipTrivia*/ true);
Callers
nothing calls this directly
Calls
2
initializeState
Function · 0.70
log
Method · 0.45
Tested by
no test coverage detected