Function can_contain_type

Source
pub fn can_contain_type<'a>(
    node: &'a Node<'a, RefCell<Ast>>,
    child: &NodeValue,
) -> bool
Expand description

Returns true if the given node can contain a node with the given value.