Class CompilationPhaseNamed
java.lang.Object
org.ek9lang.compiler.CompilationPhaseNamed
- All Implemented Interfaces:
Function<String, CompilationPhase>
public final class CompilationPhaseNamed
extends Object
implements Function<String, CompilationPhase>
THE phase a
-D"ek9.internalError.at" value names: null when it is unset or blank, the
phase when it is a phase name (surrounding spaces ignored, case kept). An unknown name is refused loudly (an
IllegalArgumentException naming the valid ones) rather than silently never firing.
Stateless: hold one. InternalErrorTrigger reads its property through one, once, when it is loaded.
-
Constructor Details
-
CompilationPhaseNamed
public CompilationPhaseNamed()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<String, CompilationPhase>
-