Commit 6a6706ef authored by Sarah Grebing's avatar Sarah Grebing

added reapet

parent 3c196318
......@@ -179,7 +179,10 @@ public class TransformAst implements ScriptLanguageVisitor<Object> {
}
@Override public Object visitRepeatStmt(ScriptLanguageParser.RepeatStmtContext ctx) {
throw new IllegalStateException("not implemented");
RepeatStatement rs = new RepeatStatement();
rs.setRuleContext(ctx);
rs.setBody((Statements) ctx.stmtList().accept(this));
return rs;
}
@Override public Object visitCasesStmt(ScriptLanguageParser.CasesStmtContext ctx) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment