implements PLN-0104
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
package p.studio.compiler.services;
|
||||
|
||||
/**
|
||||
* Marker contract for optional frontend-owned editor services.
|
||||
*/
|
||||
public interface FrontendLanguageService {
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
package p.studio.compiler.services;
|
||||
|
||||
import p.studio.compiler.models.FrontendSpec;
|
||||
|
||||
import java.util.Optional;
|
||||
|
||||
public interface FrontendProvider {
|
||||
FrontendSpec specification();
|
||||
|
||||
FrontendPhaseService compiler();
|
||||
|
||||
default Optional<FrontendLanguageService> languageService() {
|
||||
return Optional.empty();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user