Main compiler class for hostlist compilation. Orchestrates the entire compilation process using async operations throughout.
new
FilterCompiler(optionsOrLogger?: FilterCompilerOptions | ILogger)
Creates a new FilterCompiler instance.
private
readonly
eventEmitter: CompilerEventEmitter
private
readonly
headerGenerator: HeaderGenerator
private
readonly
pipeline: TransformationPipeline
private
readonly
sourceCompiler: SourceCompiler
private
readonly
tracingContext: TracingContext
private
readonly
validator: ConfigurationValidator
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.