class FilterCompiler

Main compiler class for hostlist compilation. Orchestrates the entire compilation process using async operations throughout.

Constructors

new
FilterCompiler(optionsOrLogger?: FilterCompilerOptions | ILogger)

Creates a new FilterCompiler instance.

Properties

Methods

compile(configuration: IConfiguration): Promise<string[]>

Compiles a filter list using the specified configuration.

compileWithMetrics(
configuration: IConfiguration,
benchmark?: boolean,
): Promise<CompilationResult>

Compiles a filter list with optional performance metrics.

private
prepareHeader(configuration: IConfiguration): string[]

Prepares the main list header.

private
prepareSourceHeader(source: ISource): string[]

Prepares the source header.