package de.dhbwstuttgart.syntaxtree.statement;

import de.dhbwstuttgart.typeinference.assumptions.TypeInferenceBlockInformation;
import de.dhbwstuttgart.typeinference.constraints.ConstraintSet;
import de.dhbwstuttgart.typeinference.assumptions.TypeInferenceInformation;
import org.antlr.v4.runtime.Token;
import sun.reflect.generics.reflectiveObjects.NotImplementedException;


public class InstVar extends Expression
{
    private Expression expr;
    public InstVar(Expression instanz, String name, Token offset)
    {
        super(instanz.getType(),offset);
        expr = instanz;
    }

    @Override
    public ConstraintSet getConstraints(TypeInferenceBlockInformation info) {
        throw new NotImplementedException();
    }
}
