forgot to implement some methods from interface

This commit is contained in:
Krauß, Josefine 2024-05-02 13:14:36 +02:00
parent 80513241ec
commit 2627e7d843
3 changed files with 15 additions and 0 deletions

View File

@ -1,6 +1,11 @@
package abstractSyntaxTree.Datatype; package abstractSyntaxTree.Datatype;
import TypeCheck.AbstractType; import TypeCheck.AbstractType;
import TypeCheck.TypeCheckResult;
public class BoolDatatype extends AbstractType implements IDatatype{ public class BoolDatatype extends AbstractType implements IDatatype{
@Override
public TypeCheckResult typeCheck() throws Exception {
return null;
}
} }

View File

@ -1,6 +1,11 @@
package abstractSyntaxTree.Datatype; package abstractSyntaxTree.Datatype;
import TypeCheck.AbstractType; import TypeCheck.AbstractType;
import TypeCheck.TypeCheckResult;
public class CharDatatype extends AbstractType implements IDatatype{ public class CharDatatype extends AbstractType implements IDatatype{
@Override
public TypeCheckResult typeCheck() throws Exception {
return null;
}
} }

View File

@ -1,6 +1,11 @@
package abstractSyntaxTree.Datatype; package abstractSyntaxTree.Datatype;
import TypeCheck.AbstractType; import TypeCheck.AbstractType;
import TypeCheck.TypeCheckResult;
public class IntDatatype extends AbstractType implements IDatatype{ public class IntDatatype extends AbstractType implements IDatatype{
@Override
public TypeCheckResult typeCheck() throws Exception {
return null;
}
} }