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

27 lines
740 B
Java
Raw Normal View History

2014-09-02 08:33:54 +00:00
package de.dhbwstuttgart.syntaxtree.statement;
2013-10-18 11:33:46 +00:00
2017-04-19 13:26:37 +00:00
import de.dhbwstuttgart.exceptions.NotImplementedException;
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;
import org.antlr.v4.runtime.Token;
2017-04-19 13:26:37 +00:00
2017-03-06 16:59:01 +00:00
public class LocalVarDecl extends Statement
2013-10-18 11:33:46 +00:00
{
private String name;
2017-03-16 19:02:53 +00:00
public LocalVarDecl(String name, RefTypeOrTPHOrWildcardOrGeneric type, Token offset)
2013-10-18 11:33:46 +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
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
}