MCPcopy 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

1import * as ts from "ntypescript";
2
3// TypeScript has a singelton scanner
4const scanner = ts.createScanner(ts.ScriptTarget.Latest, /*skipTrivia*/ true);

Callers

nothing calls this directly

Calls 2

initializeStateFunction · 0.70
logMethod · 0.45

Tested by

no test coverage detected