🚧 Still under progress. Soon will be finished.

parseFromGlob

FUNCTION code

Description

Given some glob patterns and some configurable options, reflects a simplified version of the TypeScript Abstract Syntax Tree. Internally globby handles the pattern matching. Any pattern that globby accepts can be used.

Signature

parseFromGlob(patterns: string | string[], options: Partial<AnalyserOptions>): Promise<AnalyserResult>

Parameters

Name Type Default Description
patterns string | string[]

A string or an array of strings that represent glob patterns

options Partial<AnalyserOptions> {}

Options to configure the analyzer

Returns

Promise<AnalyserResult>:

The reflected TypeScript AST