Function can_contain_type

fn can_contain_type<'a>(node: &'a AstNode<'a>, child: &NodeValue) -> bool

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