1
0
mirror of https://github.com/janet-lang/janet synced 2025-02-26 21:00:01 +00:00
Calvin Rose 96513665d6 Address #641 - add undef combinator.
The (undef rule :tag) combinator lets a user "scope" tagged captures.
After the rule has matched, all captures with tag :tag can no longer be
refered to by their tag. However, such captures from outside
rule are kept as is. If no tag is given, all tagged captures from rule
are unreferenced. Note that this doesn't `drop` the captures, merely
removes their association with the tag. This means subsequent calls to
`backref` and `backmatch` will no longer "see" these tagged captures.
2021-02-26 17:25:09 -06:00
..
2020-01-12 10:50:37 -06:00
2020-12-26 15:42:13 -06:00
2021-02-16 19:59:03 +01:00