Mau.Parser.Block (mau v0.8.0)

View Source

Block-level parsing for the Mau template engine.

Handles parsing of:

  • Comment blocks ({# comment content #})
  • Text content (plain text with special character handling)
  • Template content orchestration

Summary

Functions

Comment block parsing with {# #} delimiters.

Comment content parsing - anything up to #}.

Template content orchestration - combines all block types.

Text content parsing that handles { characters not part of template constructs.

Functions

comment_block()

Comment block parsing with {# #} delimiters.

comment_content()

Comment content parsing - anything up to #}.

template_content(tag_block, expression_block)

Template content orchestration - combines all block types.

Requires: tag_block, expression_block from the main parser context.

text_content()

Text content parsing that handles { characters not part of template constructs.