ConstuctorAssumption angefügt

This commit is contained in:
JanUlrich 2014-03-18 20:19:13 +01:00
parent d4b9ea9a73
commit 38698d04fd
3 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,14 @@
package typinferenz.assumptions;
import mycompiler.myclass.Class;
import mycompiler.myclass.Field;
import mycompiler.myclass.Method;
public class ConstructorAssumption extends MethodAssumption{
public ConstructorAssumption(Method assumedMethod, Class parentClass) {
super(assumedMethod, parentClass);
}
}

View File

@ -0,0 +1,16 @@
package typinferenz.exceptions;
import mycompiler.myparser.JavaParser.yyException;
public class ParserException extends TypinferenzException {
public ParserException(String message) {
super(message);
}
public ParserException(yyException exc){
super("Parserfehler");
}
}

View File

@ -0,0 +1,20 @@
class OverloadingInsertTest{
var;
overload(){
return this;
}
}
class Overloading2{
var2;
methode(){
return var2.overload();
}
overload(){
return this;
}
}