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

23 lines
628 B
Java
Raw Normal View History

2014-09-02 08:33:54 +00:00
package de.dhbwstuttgart.syntaxtree.statement;
2017-02-10 16:37:42 +00:00
import de.dhbwstuttgart.syntaxtree.type.RefTypeOrTPH;
2017-03-06 16:59:01 +00:00
import de.dhbwstuttgart.typeinference.ConstraintSet;
import de.dhbwstuttgart.typeinference.assumptions.TypeInferenceInformation;
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-06 16:59:01 +00:00
public CastExpr(RefTypeOrTPH 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
public ConstraintSet getConstraints(TypeInferenceInformation info) {
throw new NotImplementedException();
2013-10-18 11:33:46 +00:00
}
}