public void Walk(LoopExpression expression) { while (Context.Value!= '\0') { expression.Body.Accept(this); } }
private IExpression ParseLoopStatement() { CurrentIndex++; var body = Parse(); var result = new LoopExpression(body); return result; }
public void Walk(LoopExpression expression) { NewLine(); Print('['); NewLine(); Indentation++; Walk(expression.Body); Indentation--; NewLine(); Print(']'); NewLine(); }