Added 'next' property to ForNode for lookahead, documented in TEMPLATES.md