# Re-parse existing content

**URL:** https://discuss.codemirror.net/t/re-parse-existing-content/7381
**Category:** v6
**Created:** [November 7, 2023, 3:52pm UTC](https://discuss.codemirror.net/t/re-parse-existing-content/7381 "2023-11-07T15:52:38Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![marijn](https://discuss.codemirror.net/user_avatar/discuss.codemirror.net/marijn/32/136_2.png) [@marijn](https://discuss.codemirror.net/u/marijn)
#### Post date: [November 7, 2023, 4:47pm UTC](https://discuss.codemirror.net/t/re-parse-existing-content/7381/2 "2023-11-07T16:47:37Z")

</div>

Reconfiguring is a reasonable approach to this. If you, instead of having your parser rely on mutable data structures, make it so that it is recreated as a new parser with the new parameters instead, it will also feel less hacky.

---

_[View the full topic](https://discuss.codemirror.net/t/re-parse-existing-content/7381)._
