Commit f3917cb1 authored by Evgeny Kusmenko's avatar Evgeny Kusmenko
Browse files

Merge branch 'generator_refactoring' into 'master'

Simplified Generator interface

See merge request !11
parents ce5f65e0 a8f5ee8f
Pipeline #71777 passed with stages
in 8 minutes and 17 seconds
......@@ -21,9 +21,7 @@
package de.monticore.lang.monticar.cnntrain;
import de.monticore.lang.monticar.cnntrain._symboltable.ConfigurationSymbol;
import de.monticore.symboltable.Scope;
import java.io.IOException;
import java.nio.file.Path;
import java.util.Map;
......@@ -37,13 +35,10 @@ public interface CNNTrainGenerator {
void setGenerationTargetPath(String generationTargetPath);
void generate(Path modelsDirPath, String rootModelNames);
void generate(Scope scope, String rootModelName);
ConfigurationSymbol getConfigurationSymbol(Path modelsDirPath, String rootModelName);
//check cocos with CNNTrainCocos.checkAll(configuration) before calling this method.
void generateFile(ConfigurationSymbol configuration) throws IOException;
void generate(Path modelsDirPath, String rootModelNames);
//check cocos with CNNTrainCocos.checkAll(configuration) before calling this method.
Map<String, String> generateStrings(ConfigurationSymbol configuration);
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment