Some of the AST builders for tests were designed before the new DocumentBuilder API was added to laika-core. Both factor out recursion from tree construction, so it's no longer necessary to maintain the builder API specific for tests.
Call-sites remain very similar, the main simplification is the removal of the redundant APIs for AST construction.
Some of the AST builders for tests were designed before the new
DocumentBuilder
API was added tolaika-core
. Both factor out recursion from tree construction, so it's no longer necessary to maintain the builder API specific for tests. Call-sites remain very similar, the main simplification is the removal of the redundant APIs for AST construction.