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

Function is_leaf

src/xpath_functions.rs:342–344  ·  view source on GitHub ↗
(element: Element)

Source from the content-addressed store, hash-verified

340};
341
342pub fn is_leaf(element: Element) -> bool {
343 return MATHML_LEAF_NODES.contains(name(&element));
344}
345
346impl Function for IsNode {
347 // eval function for IsNode

Callers 15

assure_mathmlMethod · 0.85
is_empty_elementMethod · 0.85
clean_mathmlMethod · 0.85
split_pointsMethod · 0.85
merge_charsMethod · 0.85
is_child_simple_baseMethod · 0.85
lift_function_nameFunction · 0.85
find_argFunction · 0.85
nemeth_frac_valueMethod · 0.85
evaluateMethod · 0.85
add_ids_to_allFunction · 0.85

Calls 1

nameFunction · 0.85

Tested by

no test coverage detected