bkiers / Liqp

An ANTLR based 'Liquid Template' parser and rendering engine.
MIT License
165 stars 94 forks source link

Insertion concept and splitting blocks and tags logically. #229

Closed msangel closed 2 years ago

msangel commented 2 years ago
  1. Created basic class Insertion as a common parent for both Block and Tag.
  2. Block no longer extends Tag.
  3. All blocks moved to package block.
  4. Most of the logic internally with blocks and tags is performed via Insertion abstraction.
  5. Custom blocks/tags/filters registration is made in ParseSettings object. Method .with(tag/block/filter) reverted and moved there.
  6. Documentation updated to reflect the changes.

@bkiers @sdlin @honglooker

honglooker commented 2 years ago

Thanks for the cleanup!