Module

x/ts_morph/common/mod.ts

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Go to Latest
import * as mod from "https://dotland.deno.dev/x/ts_morph@21.0.0/common/mod.ts";

Classes

Converts a comparer to a stored comparer.

Holds the compiler options.

An implementation of a ts.DocumentRegistry that uses a transactional file system.

Event container for event subscriptions.

Utilities for working with files.

An implementation of a file system that exists in memory only.

Helper around a Map.

Compares two strings by en-us-u-kf-upper locale.

Compares two values based on one of their properties.

A stored comparer that compares a property to a stored value.

An implementation of a file host that interacts with the actual file system.

An array where the values are sorted by a key of one of the values.

FileSystemHost wrapper that allows transactionally queuing operations to the file system.

A wrapper around WeakMap.

Variables

The folder to use to "store" the in memory lib files.

Collection of reusable resolution hosts.

Functions

Creates a language service host and compiler host.

Creates a module resolution host based on the provided options.

Deep clones an object not maintaining references.

Gets the compiler options from a specified tsconfig.json

Gets the TypeScript lib files (.d.ts files).

Gets the enum name for the specified syntax kind.

Checks the specified file paths to see if the match any of the specified patterns.

Decorator for memoizing the result of a method or get accessor.

Interfaces

Compares two values specifying the sort order.

Options for creating the hosts.

Options for creating a module resolution host.

Represents a file system that can be interacted with.

Host for implementing custom module and/or type reference directive resolution.

Compares a value against a stored value.

A container of source files.

Type Aliases

Event container subscription type

Factory used to create a resolution host.

Nominal type to denote a file path that has been standardized.