Function Node.findParent

Finds the first parent of the current node whose name matches mask as in String.match (i.e. case-sensitive, but "*" matches zero or more characters and "?" matches any single character except "."). Note: It does not match against the full path, just against individual node names.

Node findParent (
  const(String) mask
) nothrow @nogc const;