Skip to content

Commit ac1d27a

Browse files
author
aless.hosry
committed
Commenting MatcherSave
1 parent d39a4dd commit ac1d27a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

MoTion/MatcherSave.class.st

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
"
2+
Bindings can be created with the `as:` method. It is used to bind the result of a pattern that we call MatcherSave that will be kept in the result’s bindings. It is used to store the result a sub-pattern in a MatcherSave to be retrieved after a match using `#collectBindings:for:` or `#collectBinding:for:`.
3+
"
14
Class {
25
#name : 'MatcherSave',
36
#superclass : 'Matcher',

0 commit comments

Comments
 (0)