mirror of
https://github.com/janet-lang/janet
synced 2024-11-24 17:27:18 +00:00
96513665d6
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. |
||
---|---|---|
.. | ||
amalg | ||
fuzzers | ||
install | ||
helper.janet | ||
suite0000.janet | ||
suite0001.janet | ||
suite0002.janet | ||
suite0003.janet | ||
suite0004.janet | ||
suite0005.janet | ||
suite0006.janet | ||
suite0007.janet | ||
suite0008.janet | ||
suite0009.janet | ||
suite0010.janet |