package de.dhbwstuttgart.syntaxtree.statement;


import de.dhbwstuttgart.typeinference.assumptions.TypeInferenceBlockInformation;
import de.dhbwstuttgart.typeinference.constraints.ConstraintSet;
import de.dhbwstuttgart.typeinference.assumptions.TypeInferenceInformation;
import sun.reflect.generics.reflectiveObjects.NotImplementedException;

public class WhileStmt extends Statement
{
    public WhileStmt(int offset, int variableLength)
    {
        super(null,null);
    }

    public Expression expr;
    public Block loop_block;

    /**
     * <br/>Author: Martin PlÃ¯Â¿Â½micke
     * @return
     */
    public String toString()
    {
        return "WHILE " + loop_block.toString();
    }


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