JavaPatternMatching/src/de/dhbwstuttgart/syntaxtree/statement/CastExpr.java

23 lines
688 B
Java
Raw Normal View History

2014-09-02 08:33:54 +00:00
package de.dhbwstuttgart.syntaxtree.statement;
2017-03-16 19:02:53 +00:00
import de.dhbwstuttgart.syntaxtree.type.RefTypeOrTPHOrWildcardOrGeneric;
import de.dhbwstuttgart.typeinference.assumptions.TypeInferenceBlockInformation;
import de.dhbwstuttgart.typeinference.constraints.ConstraintSet;
2017-03-06 16:59:01 +00:00
import sun.reflect.generics.reflectiveObjects.NotImplementedException;
2013-10-18 11:33:46 +00:00
2017-03-01 14:34:57 +00:00
public class CastExpr extends Expression
2013-10-18 11:33:46 +00:00
{
2017-03-16 19:02:53 +00:00
public CastExpr(RefTypeOrTPHOrWildcardOrGeneric castType, Expression expr, int offset)
2013-10-18 11:33:46 +00:00
{
super(null, null);
2013-10-18 11:33:46 +00:00
}
2017-03-06 16:59:01 +00:00
public Expression expr;
2017-03-06 16:59:01 +00:00
@Override
2017-03-16 19:02:53 +00:00
public ConstraintSet getConstraints(TypeInferenceBlockInformation info) {
2017-03-06 16:59:01 +00:00
throw new NotImplementedException();
2013-10-18 11:33:46 +00:00
}
}