TagRegistry class

TagRegistry is responsible for managing and creating Liquid template tags.

Constructors

TagRegistry.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

customParsers List<CustomTagParser>
Returns a list of all registered custom tag parsers.
no setter
tags List<String>
Returns a list of all registered tag names.
no setter

Static Methods

createTag(String name, List<ASTNode> content, List<Filter> filters) AbstractTag?
Creates a tag instance with the given name, content, and filters.
register(String name, dynamic creator(List<ASTNode>, List<Filter>)) → void
Registers a new tag with the given name and creator function.