Skip to main content

parse_gate_predicate

Function parse_gate_predicate 

Source
pub fn parse_gate_predicate(text: &str) -> Option<GatePredicate>
Expand description

Parse the inline <!-- gate-verify ... --> annotation out of item text.

Returns None when no annotation is present. Attribute values are double-quoted (verify="...") so they may contain spaces.