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

24 lines
731 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-04-06 09:23:25 +00:00
import org.antlr.v4.runtime.Token;
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-04-06 09:23:25 +00:00
public CastExpr(RefTypeOrTPHOrWildcardOrGeneric castType, Expression expr, Token offset)
2013-10-18 11:33:46 +00:00
{
2017-04-06 09:23:25 +00:00
super(castType, offset);
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
}
}