MCPcopy Create free account
hub / github.com/daisy/MathCAT / replace_nodes

Method replace_nodes

src/speech.rs:283–285  ·  view source on GitHub ↗
(rules: &'r mut SpeechRulesWithContext<'c, 's,'m>, nodes: Vec<Node<'c>>, mathml: Element<'c>)

Source from the content-addressed store, hash-verified

281 }
282
283 fn replace_nodes<'s:'c, 'r>(rules: &'r mut SpeechRulesWithContext<'c, 's,'m>, nodes: Vec<Node<'c>>, mathml: Element<'c>) -> Result<String> {
284 return rules.replace_nodes_string(nodes, mathml);
285 }
286
287 fn highlight_braille(braille: String, highlight_style: String) -> String {
288 return SpeechRulesWithContext::highlight_braille_string(braille, highlight_style);

Callers 1

replaceMethod · 0.80

Calls 2

replace_nodes_stringMethod · 0.80
replace_nodes_treeMethod · 0.80

Tested by

no test coverage detected