Skip to main content

message_keys

Function message_keys 

Source
pub fn message_keys(ftl_src: &str) -> Vec<String>
Expand description

The message keys defined in a Fluent source (terms/attributes/comments ignored). Public so the CLI lint (day lint fluent coverage) shares this one fluent-syntax parser with the codegen and the runtime resolver, instead of a hand-rolled line scanner.