Set of placeholders that have already been visited (for circular reference detection).
Set<String>? visitedPlaceholders;