Skip to content

Tag

liquid.Tag

Bases: ABC

Base class for all built-in and custom template tags.

get_node

get_node(stream: TokenStream) -> Node

Wraps Tag.parse, possibly returning an IllegalNode.

parse abstractmethod

parse(stream: TokenStream) -> Node

Return a parse tree node by parsing tokens from the given stream.