2014-09-02 08:33:54 +00:00
|
|
|
package de.dhbwstuttgart.syntaxtree.statement;
|
2013-10-18 11:33:46 +00:00
|
|
|
|
|
|
|
|
2017-02-17 15:34:40 +00:00
|
|
|
import de.dhbwstuttgart.syntaxtree.type.RefTypeOrTPH;
|
2017-03-06 16:59:01 +00:00
|
|
|
import de.dhbwstuttgart.typeinference.ConstraintSet;
|
2017-03-08 02:43:47 +00:00
|
|
|
import de.dhbwstuttgart.typeinference.assumptions.TypeInferenceInformation;
|
2017-02-17 15:34:40 +00:00
|
|
|
import org.antlr.v4.runtime.Token;
|
2017-03-06 16:59:01 +00:00
|
|
|
import sun.reflect.generics.reflectiveObjects.NotImplementedException;
|
|
|
|
|
2016-12-15 23:00:37 +00:00
|
|
|
public class LocalVarDecl extends Statement
|
2013-10-18 11:33:46 +00:00
|
|
|
{
|
2017-02-17 15:34:40 +00:00
|
|
|
|
|
|
|
private String name;
|
|
|
|
|
|
|
|
public LocalVarDecl(String name, RefTypeOrTPH type, Token offset)
|
2013-10-18 11:33:46 +00:00
|
|
|
{
|
2017-02-17 15:34:40 +00:00
|
|
|
super(type, offset);
|
|
|
|
this.name = name;
|
2013-10-18 11:33:46 +00:00
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|