5
src/builtins/match.pir - Perl6 builtins for smart matching
15
.sub 'infix:~~' :multi()
18
.tailcall x.'ACCEPTS'(topic)
25
.tailcall x.'REJECTS'(topic)
30
Equivalent to C<$/."!make"($item)>. This sets the ast value of
31
the current match object.
40
$I0 = can $P2, '!make'
41
unless $I0 goto err_make
45
'die'("make() cannot set result of non-Match object in $/")
58
# vim: expandtab shiftwidth=4 ft=pir: