Module

x/ts_morph/common/ts_morph_common.js>DocumentRegistry

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class DocumentRegistry
import { DocumentRegistry } from "https://dotland.deno.dev/x/ts_morph@17.0.1/common/ts_morph_common.js";

Constructors

new
DocumentRegistry(transactionalFileSystem)

Methods

acquireDocument(
fileName,
compilationSettings,
scriptSnapshot,
version,
scriptKind,
)
acquireDocumentWithKey(
fileName,
path,
compilationSettings,
key,
scriptSnapshot,
version,
scriptKind,
)
createOrUpdateSourceFile(
fileName,
compilationSettings,
scriptSnapshot,
scriptKind,
)
releaseDocument(fileName, compilationSettings)
updateDocument(
fileName,
compilationSettings,
scriptSnapshot,
version,
scriptKind,
)
updateDocumentWithKey(
fileName,
path,
compilationSettings,
key,
scriptSnapshot,
version,
scriptKind,
)
updateSourceFile(
fileName,
compilationSettings,
scriptSnapshot,
version,
scriptKind,
)