Skip to content

Commit

Permalink
[581638] Fix query example in recursion documentation
Browse files Browse the repository at this point in the history
Change-Id: I58296fba405e4de7e3ef4d799cff536a22b7ba84
Signed-off-by: Gábor Bergmann <[email protected]>
  • Loading branch information
bergmanngabor committed Mar 7, 2023
1 parent 7c12b02 commit d422bcc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ pattern qualifiedName(node : Node, name) {
// for a child element, compose from parents qualified name
find parent(node, parentNode);
Node.simpleName(node, simpleName);
find qualifiedName(parent, parentName); // recursive call
find qualifiedName(parentNode, parentName); // recursive call
name == eval (parentName + "." + simpleName);
} or {
// for a root element, just use the simple name
Expand Down

0 comments on commit d422bcc

Please sign in to comment.