pub fn placeholder_names(template: &str) -> BTreeSet<&str>Expand description
message-bundles slice 2 (#874): a template’s placeholder-name set, for
cross-locale agreement checking (bynk-emit/src/project/validate.rs).
Exposes only the name set, not TemplateSegment itself, keeping the
checker’s dependency on the emitter narrow. message-bundles slice 3
(#878): an ICU-dispatch placeholder’s name is its inner text up to the
first top-level comma, trimmed — a plain placeholder’s inner never
contains a comma (by construction of split_template’s is_icu decision
above), so it’s returned verbatim, preserving the untrimmed-name quirk
documented on split_template exactly as before.