public AstNode visit(Whitespace ws) { if (!ws.getHasNewline()) return ws; NodeList result = closeRemainingTags(); if (result == null) return ws; state = State.None; result.add(ws); return result; }
public void visit(Whitespace ws) { if (ws.getHasNewline()) finishLine(); }