Skip to content

Commit 0f34cd6

Browse files
author
aless.hosry
committed
Commenting MTRecursiveChildrenPath
1 parent 5c00b16 commit 0f34cd6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

MoTion/MTRecursiveChildrenPath.class.st

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
"
2+
The Recursave traversal operator may also be combined with a wildcard (‘‘_’’).
3+
```
4+
ClassA % {
5+
#'property1>_*>propN' <=> aValue.
6+
}
7+
```
8+
This pattern will match first an instance of 'ClassA', then the object in its property `property1` then a chain of objects with unknown properties ending with an object having a property `propN` with value `aValue`.
9+
"
110
Class {
211
#name : 'MTRecursiveChildrenPath',
312
#superclass : 'MotionPath',

0 commit comments

Comments
 (0)