When using the repeat statement in MPS, it is saved as a while statement. I think the problem is in the class RepeatStatementByNode:
public class RepeatStatementByNode extends StatementByNode<SNode> implements WhileStatement
implements WhileStatement -> implements RepeatStatement