diff --git a/src/de/dhbwstuttgart/core/JavaTXCompiler.java b/src/de/dhbwstuttgart/core/JavaTXCompiler.java index aa07361c0..70503e1a9 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; + } + }