Compare commits
5 Commits
targetByte
...
martin
Author | SHA1 | Date | |
---|---|---|---|
|
9dd6c1610a | ||
|
66bbf9d52d | ||
|
8bff427c5c | ||
|
bd1cfe4e7a | ||
|
05e4968adb |
BIN
doc/Studienarbeiten/S2017_Jan-Elric_Neumann.pdf
Executable file
BIN
doc/Studienarbeiten/S2017_Jan-Elric_Neumann.pdf
Executable file
Binary file not shown.
0
git_pull_origin_bigRefactoring
Normal file
0
git_pull_origin_bigRefactoring
Normal file
@ -33,7 +33,11 @@ public class JavaTXParser {
|
|||||||
}
|
}
|
||||||
//TODO: Wieso muss man das händisch anhängen?
|
//TODO: Wieso muss man das händisch anhängen?
|
||||||
ret.add("java.lang.Object");
|
ret.add("java.lang.Object");
|
||||||
|
ret.add("java.lang.Long");
|
||||||
|
ret.add("java.lang.Integer");
|
||||||
|
ret.add("java.lang.Boolean");
|
||||||
|
ret.add("java.lang.String");
|
||||||
|
ret.add("java.lang.Class");
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -24,9 +24,12 @@ public abstract class Expression extends SyntaxTreeNode
|
|||||||
}
|
}
|
||||||
|
|
||||||
public abstract void accept(StatementVisitor visitor);
|
public abstract void accept(StatementVisitor visitor);
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void accept(ASTVisitor visitor) {
|
public void accept(ASTVisitor visitor) {
|
||||||
this.accept((StatementVisitor)visitor);
|
this.accept((StatementVisitor)visitor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String toString() { return this.getClass().getName() + ":" + type.toString(); }
|
||||||
}
|
}
|
||||||
|
@ -30,8 +30,9 @@ public class JavaTXCompilerTest extends JavaTXCompiler {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void test() throws IOException, ClassNotFoundException {
|
public void test() throws IOException, ClassNotFoundException {
|
||||||
filesToTest.add(new File(rootDirectory+"Faculty.jav"));
|
//filesToTest.add(new File(rootDirectory+"Faculty.jav"));
|
||||||
//filesToTest.add(new File(rootDirectory+"mathStruc.jav"));
|
filesToTest.add(new File(rootDirectory+"mathStruc.jav"));
|
||||||
|
//filesToTest.add(new File(rootDirectory+"Faculty.jav"));
|
||||||
//filesToTest.add(new File(rootDirectory+"Lambda.jav"));
|
//filesToTest.add(new File(rootDirectory+"Lambda.jav"));
|
||||||
//filesToTest.add(new File(rootDirectory+"Lambda2.jav"));
|
//filesToTest.add(new File(rootDirectory+"Lambda2.jav"));
|
||||||
//filesToTest.add(new File(rootDirectory+"Lambda3.jav"));
|
//filesToTest.add(new File(rootDirectory+"Lambda3.jav"));
|
||||||
@ -58,4 +59,4 @@ public class JavaTXCompilerTest extends JavaTXCompiler {
|
|||||||
return new String(encoded, encoding);
|
return new String(encoded, encoding);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user