package de.dhbwstuttgart.syntaxtree.statement;


import de.dhbwstuttgart.typeinference.assumptions.TypeInferenceBlockInformation;
import de.dhbwstuttgart.typeinference.constraints.ConstraintSet;
import de.dhbwstuttgart.typeinference.assumptions.TypeInferenceInformation;

public class Receiver extends Expression
{
    private Expression expr;
    /**
     * Autor: JÃ¯Â¿Â½rg BÃ¯Â¿Â½uerle
     * @param expr
     */
    public Receiver(Expression expr)
    {
        super(expr.getType(), expr.getOffset());
        this.expr = expr;
    }
    
    // Sebastian 
    public Expression get_Expression() {
    	return expr; 
    }
    

    @Override
    public ConstraintSet getConstraints(TypeInferenceBlockInformation info) {
        return expr.getConstraints(info);
    }
}
