mirror of
https://github.com/JonathanFleischmann/CompilerULTIMATE.git
synced 2024-12-27 09:28:03 +00:00
accidentally commited test stuff, revert
This commit is contained in:
parent
d4cdc45b63
commit
f74ba50caa
@ -18,17 +18,6 @@ import java.util.List;
|
||||
*/
|
||||
public class Compiler {
|
||||
|
||||
public static void main(String[] args) {
|
||||
generateAST(List.of("""
|
||||
public class E2ETests {
|
||||
char ZZ;
|
||||
public E2ETests() {
|
||||
this.ZZ = 'z';
|
||||
}
|
||||
}
|
||||
"""));
|
||||
}
|
||||
|
||||
public static Program generateAST(List<String> fromSources) {
|
||||
List<Class> classes = new ArrayList<>();
|
||||
for (String fromSource : fromSources) {
|
||||
@ -108,9 +97,9 @@ public class Compiler {
|
||||
}
|
||||
}
|
||||
|
||||
// public static void main(String[] args) {
|
||||
// generateByteCodeFileFromFile(List.of("src/main/resources/JavaTestfiles/ClassWithConstructor.java",
|
||||
// "src/main/resources/JavaTestfiles/ClassWithConstructorAndMethodCall.java"),
|
||||
// List.of("ClassWithConstructor","ClassWithConstructorAndMethodCall"));
|
||||
// }
|
||||
public static void main(String[] args) {
|
||||
generateByteCodeFileFromFile(List.of("src/main/resources/JavaTestfiles/ClassWithConstructor.java",
|
||||
"src/main/resources/JavaTestfiles/ClassWithConstructorAndMethodCall.java"),
|
||||
List.of("ClassWithConstructor","ClassWithConstructorAndMethodCall"));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user