forgot to implement some methods from interface
This commit is contained in:
parent
80513241ec
commit
2627e7d843
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user