public function visit($path, $vistor, $exact_match = false)
{
return $this->visitNode($path, function ($name, $node) use($vistor) {
return $vistor($name, array_key_exists('value', $node) ? $node['value'] : null);
}, $exact_match);
}