Skip to main content

attribute_starts

Function attribute_starts 

pub fn attribute_starts(raw: &str) -> Vec<usize>
Expand description

Byte offsets of every @ in raw that starts another attribute: one outside any string literal and any (...)/[...] group, after the text’s own leading @s, and not the second @ of an @@.