Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
342
pub fn is_leaf(element: Element) -> bool {
343
return MATHML_LEAF_NODES.contains(name(&element));
344
}
345
346
impl Function for IsNode {
347
// eval function for IsNode
Callers
15
assure_mathml
Method · 0.85
is_empty_element
Method · 0.85
clean_mathml
Method · 0.85
split_points
Method · 0.85
merge_chars
Method · 0.85
is_child_simple_base
Method · 0.85
lift_function_name
Function · 0.85
find_arg
Function · 0.85
nemeth_frac_value
Method · 0.85
child_meets_conditions
Method · 0.85
evaluate
Method · 0.85
add_ids_to_all
Function · 0.85
Calls
1
name
Function · 0.85
Tested by
no test coverage detected