Skip to content

Instantly share code, notes, and snippets.

@zoffixznet

zoffixznet/p6.p6 Secret

Created June 8, 2018 11:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zoffixznet/c2ac523a91871be5b663d3277e3bdb13 to your computer and use it in GitHub Desktop.
Save zoffixznet/c2ac523a91871be5b663d3277e3bdb13 to your computer and use it in GitHub Desktop.
method infix:sym<!~~>($/) {
make QAST::Op.new(
:op<isfalse>,
my $target := QAST::Op.new( :op<callmethod>, :name<ACCEPTS>, :node($/) )
).annotate_self: 'childre_target', $target;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment