src/main/java/org/semgus/java/problem/ProblemGenerator.java
private void consumeSynthFun(SynthFunEvent event) {
        if (synthFun != null) {
            throw new IllegalStateException("Synthesis function already set!");
        }
        synthFun = event; // TODO check that the synth-fun is well-formed and consistent
    }
/**
     * Collects the target function and DSL grammar specifications from a "synth-fun" event.
     *
     * @param event The event.
     */
Collects the target function and DSL grammar specifications from a "synth-fun" event.
@param event The event.
Collects the target function and DSL grammar specifications from a " synth - fun " event . @param event The event .
private void consumeSynthFun(SynthFunEvent event) {
        if (synthFun != null) {
            throw new IllegalStateException("Synthesis function already set!");
        }
        synthFun = event; 
    }
private void consumeSynthFun ( SynthFunEvent event ) { if ( synthFun != null ) { throw new IllegalStateException ( "Synthesis function already set!" ) ; } synthFun = event ; }
Collects the target function and DSL grammar specifications from a "synth-fun" event.
Collects the target function and DSL grammar specifications from a " synth - fun " event .
// TODO check that the synth-fun is well-formed and consistent