From 0fdbf6b2ef833afa929881f7281ea801ef4d6b8b Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 15 Sep 2018 18:22:06 +0200 Subject: Added find_parent method to node class --- doc/classes/Node.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index d00652d40c..90e9436307 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -266,6 +266,15 @@ Returns the parent node of the current node, or an empty [code]Node[/code] if the node lacks a parent. + + + + + + + Finds the first parent of the current node whose name matches [code]mask[/code] as in [method String.match] (i.e. case sensitive, but '*' matches zero or more characters and '?' matches any single character except '.'). Note that it does not match against the full path, just against individual node names. + + -- cgit v1.2.3