diff --git a/src/de/dhbwstuttgart/core/JavaTXCompiler.java b/src/de/dhbwstuttgart/core/JavaTXCompiler.java index aa07361c..70503e1a 100644 --- a/src/de/dhbwstuttgart/core/JavaTXCompiler.java +++ b/src/de/dhbwstuttgart/core/JavaTXCompiler.java @@ -78,4 +78,10 @@ public class JavaTXCompiler { return ret; } + public SourceFile parse(String source) throws IOException, ClassNotFoundException { + SourceFile ret = new JavaTXParser().parse(source); + sourceFiles.add(ret); + return ret; + } + }