The current formatter API provides pre() and post() methods. To render an element by the formatter without using the generated unparser, we have to declare the element as being consumed. This is overly complicated. We should replace the pre()and post() methods with just one method that can decide wether to emit text from the unparser or not.
We introduced a render() method which provides full control over the rendering which was complicated with the old api. pre() and post() remain however.
The current formatter API provides
pre()
andpost()
methods. To render an element by the formatter without using the generated unparser, we have to declare the element as being consumed. This is overly complicated. We should replace thepre()
andpost()
methods with just one method that can decide wether to emit text from the unparser or not.