package p.studio.compiler.services;

import p.studio.compiler.messages.BuildingIssueSink;
import p.studio.compiler.messages.FrontendPhaseContext;
import p.studio.compiler.models.IRBackend;
import p.studio.compiler.source.diagnostics.DiagnosticSink;
import p.studio.utilities.logs.LogAggregator;

public interface FrontendPhaseService {
    IRBackend compile(
            FrontendPhaseContext request,
            DiagnosticSink diagnostics,
            LogAggregator logs,
            BuildingIssueSink issues);
}
