visitTagAsync method
Implementation
@override
Future<dynamic> visitTagAsync(Tag node) async {
// First try environment-scoped tags, then fall back to global registry
final tagCreator = context.getTag(node.name);
final tag = tagCreator != null
? tagCreator(node.content, node.filters)
: TagRegistry.createTag(node.name, node.content, node.filters);
tag?.preprocess(this);
tag?.body = node.body;
await tag?.evaluateAsync(this, buffer);
}