Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created September 5, 2017 20:02
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 Whateverable/63cd9da70c23a9886f8c8971ab239489 to your computer and use it in GitHub Desktop.
Save Whateverable/63cd9da70c23a9886f8c8971ab239489 to your computer and use it in GitHub Desktop.
greppable6
File Code
Bailador/Bailador
…/App.pm :323:
LEAVE {
CurtTilmes/perl6-dbi-async
…/README.md :99:
If you do want to use, e.g. .allrows() to process your results, the LEAVE phaser or corresponding 'will leave' trait, can help assure that the .finish() gets called, even if the processing code throws an exception.
CurtTilmes/perl6-dbi-async
…/README.md :105:
LEAVE $res.finish;
CurtTilmes/perl6-dbi-async
…/Async.pm :10:
method array { LEAVE self.finish; $!sth.row }
CurtTilmes/perl6-dbi-async
…/Async.pm :11:
method hash { LEAVE self.finish; $!sth.row(:hash) }
CurtTilmes/perl6-dbi-async
…/Async.pm :12:
method arrays { LEAVE self.finish; $!sth.allrows.eager }
CurtTilmes/perl6-dbi-async
…/Async.pm :13:
method flatarray { LEAVE self.finish; $!sth.allrows.map({
CurtTilmes/perl6-dbi-async
…/Async.pm :14:
method hashes { LEAVE self.finish; $!sth.allrows(:array-of-hash).eager }
CurtTilmes/perl6-dbi-async
…/Async.pm :269:
LEAVE phaser or corresponding 'will leave' trait, can help assure that
CurtTilmes/perl6-dbi-async
…/Async.pm :277:
LEAVE $res.finish;
CurtTilmes/perl6-eredis
…/Async.pm :228:
LEAVE self.FALLBACK('DEL', $key);
CurtTilmes/perl6-eredis
…/Objects.pm6 :120:
LEAVE $!redis.hdel($!key, $field);
CurtTilmes/perl6-libcurl
…/Easy.pod6 :126:
As soon as the scope ends, the LEAVE phaser will call the cleanup
CurtTilmes/perl6-libcurl
…/LibCurl::Easy.md :111:
As soon as the scope ends, the LEAVE phaser will call the cleanup method on the LibCurl::Easy object. This happens even if an exception causes premature exit from the scope.
CurtTilmes/perl6-libcurl
…/EasyHandle.pm6 :430:
constant CURLOPT_INTERLEAVEDATA = CURLOPTTYPE_OBJECTPOINT + 195;
CurtTilmes/perl6-libcurl
…/EasyHandle.pm6 :431:
constant CURLOPT_INTERLEAVEFUNCTION = CURLOPTTYPE_FUNCTIONPOINT + 196;
MARTIMM/mongo-perl6-driver
…/Fallback.pl6 :84:
LEAVE {
MARTIMM/mongo-perl6-driver
…/Fallback.pl6 :138:
LEAVE {
andydude/p6-c-parser
…/gbytes.pp.c :1754:
G_TRAVERSE_LEAVES = 1 << 0,
andydude/p6-c-parser
…/gbytes.pp.c :1755:
G_TRAVERSE_NON_LEAVES = 1 << 1,
andydude/p6-c-parser
…/gbytes.pp.c :1756:
G_TRAVERSE_ALL = G_TRAVERSE_LEAVES
andydude/p6-c-parser
…/gbytes.pp.c :1758:
G_TRAVERSE_LEAFS = G_TRAVERSE_LEAVES,
andydude/p6-c-parser
…/gbytes.pp.c :1759:
G_TRAVERSE_NON_LEAFS = G_TRAVERSE_NON_LEAVES
awwaiid/p6-Inline-Ruby
…/Ruby.pm6 :212:
LEAVE {
azawawi/farabi6
…/perl6-mode.js :248:
"BEGIN CHECK INIT START FIRST ENTER LEAVE KEEP",
azawawi/perl6-electron
…/bailador.p6 :16:
LEAVE {
azawawi/perl6-electron
…/browserwindow.p6 :11:
LEAVE {
azawawi/perl6-electron
…/clipboard.p6 :10:
LEAVE {
azawawi/perl6-electron
…/dialog.p6 :10:
LEAVE {
azawawi/perl6-electron
…/http_server_async.p6 :24:
LEAVE {
azawawi/perl6-electron
…/process.p6 :10:
LEAVE {
azawawi/perl6-electron
…/screen.p6 :10:
LEAVE {
azawawi/perl6-electron
…/shell.p6 :10:
LEAVE {
azawawi/perl6-electron
…/02-clipboard.t :28:
LEAVE {
azawawi/perl6-electron
…/04-shell.t :29:
LEAVE {
azawawi/perl6-electron
…/05-screen.t :31:
LEAVE {
azawawi/perl6-electron
…/06-process.t :28:
LEAVE {
azawawi/perl6-file-zip
…/test.p6 :14:
LEAVE {
azawawi/perl6-graphics-plplot
…/README.md :57:
LEAVE {
azawawi/perl6-graphics-plplot
…/ex00.p6 :47:
LEAVE {
azawawi/perl6-graphics-plplot
…/ex02.p6 :24:
LEAVE {
azawawi/perl6-graphics-plplot
…/ex03.p6 :112:
LEAVE {
azawawi/perl6-gtk-scintilla
…/ScintillaGTK.cxx :573:
azawawi/perl6-gtk-scintilla
…/ScintillaWin.cxx :1410:
case WM_MOUSELEAVE:
azawawi/perl6-gtk-scintilla
…/ScintillaWin.cxx :1846:
tme.dwFlags = TME_LEAVE;
azawawi/perl6-magickwand
…/README.md :33:
LEAVE {
azawawi/perl6-magickwand
…/01-hello.pl6 :30:
LEAVE {
azawawi/perl6-magickwand
…/02-effects.pl6 :618:
LEAVE {
azawawi/perl6-magickwand
…/MagickWand.pm6 :29:
LEAVE {
azawawi/perl6-magickwand
…/02-magickwand.t :17:
LEAVE {
azawawi/perl6-magickwand
…/02-magickwand.t :31:
LEAVE {
azawawi/perl6-magickwand
…/02-magickwand.t :44:
LEAVE {
azawawi/perl6-ncurses
…/README.md :32:
LEAVE {
azawawi/perl6-ncurses
…/01-hello-world.pl6 :17:
LEAVE {
azawawi/perl6-ncurses
…/02-starfield.pl6 :54:
LEAVE {
azawawi/perl6-ncurses
…/03-colors.pl6 :58:
LEAVE {
azawawi/perl6-ncurses
…/04-move-windows.pl6 :76:
LEAVE {
azawawi/perl6-ncurses
…/05-menu.pl6 :95:
LEAVE {
azawawi/perl6-ncurses
…/06-menu-mouse.pl6 :109:
LEAVE {
azawawi/perl6-ncurses
…/07-acs.pl6 :53:
LEAVE {
azawawi/perl6-ncurses
…/08-panels.pl6 :45:
LEAVE {
azawawi/perl6-ncurses
…/09-panels-browse.pl6 :114:
LEAVE {
azawawi/perl6-ncurses
…/10-forms.pl6 :108:
LEAVE {
azawawi/perl6-ncurses
…/11-menus.pl6 :55:
LEAVE {
azawawi/perl6-ncurses
…/12-menus-window.pl6 :102:
LEAVE {
azawawi/perl6-ncurses
…/13-menus-scrolling.pl6 :115:
LEAVE {
azawawi/perl6-ncurses
…/14-menus-multi-cols.pl6 :86:
LEAVE {
azawawi/perl6-ncurses
…/15-menus-multi-value.pl6 :78:
LEAVE {
azawawi/perl6-ncurses
…/16-menus-colors.pl6 :81:
LEAVE {
azawawi/perl6-ncurses
…/17-style.pl6 :58:
LEAVE {
azawawi/perl6-ncurses
…/18-circles.pl6 :106:
LEAVE {
azawawi/perl6-ncurses
…/01-hello-world.pl6 :19:
LEAVE {
azawawi/perl6-ncurses
…/02-starfield.pl6 :52:
LEAVE {
azawawi/perl6-net-curl
…/getinfo.pl6 :17:
LEAVE {
azawawi/perl6-net-curl
…/simple.pl6 :13:
LEAVE {
azawawi/perl6-net-curl
…/Curl.pm6 :191:
constant CURLOPT_INTERLEAVEDATA is export = 10195;
azawawi/perl6-net-curl
…/Curl.pm6 :192:
constant CURLOPT_INTERLEAVEFUNCTION is export = 20196;
azawawi/perl6-net-curl
…/NativeCall.pm6 :427:
CURLOPT_INTERLEAVEDATA => 10195,
azawawi/perl6-net-curl
…/NativeCall.pm6 :428:
CURLOPT_INTERLEAVEFUNCTION => 20196,
azawawi/perl6-selenium-webdriver
…/README.md :26:
LEAVE {
azawawi/perl6-selenium-webdriver
…/chrome.t :34:
LEAVE {
azawawi/perl6-selenium-webdriver
…/firefox.t :34:
LEAVE {
azawawi/perl6-selenium-webdriver
…/phantomjs-multiple.t :30:
LEAVE {
azawawi/perl6-selenium-webdriver
…/phantomjs.t :34:
LEAVE {
azawawi/perl6-selenium-webdriver
…/Wire.pm6 :331:
LEAVE {
azawawi/perl6-selenium-webdriver
…/02-phantomjs.t :81:
LEAVE {
azawawi/perl6-selenium-webdriver
…/05-firefox.t :81:
LEAVE {
azawawi/perl6-selenium-webdriver
…/06-chrome.t :81:
LEAVE {
azawawi/perl6-selenium-webdriver
…/07-blackberry.t :78:
# LEAVE {
azawawi/perl6-terminal-caca
…/README.md :36:
LEAVE {
azawawi/perl6-terminal-caca
…/01-hello-world.pl6 :27:
LEAVE {
azawawi/perl6-terminal-caca
…/02-kitchen-sink.pl6 :64:
LEAVE {
azawawi/perl6-terminal-caca
…/03-waves.pl6 :41:
LEAVE {
azawawi/perl6-terminal-caca
…/04-cube.pl6 :146:
LEAVE {
azawawi/perl6-terminal-caca
…/05-dither.pl6 :34:
LEAVE { .cleanup; }
azawawi/perl6-terminal-caca
…/06-icosphere.pl6 :155:
LEAVE {
azawawi/perl6-terminal-caca
…/07-random-text.pl6 :31:
LEAVE {
azawawi/perl6-terminal-caca
…/08-sphere.pl6 :109:
LEAVE {
azawawi/perl6-terminal-caca
…/Caca.pm6 :362:
LEAVE {
croservices/cro-http
…/http-middleware.t :78:
LEAVE $service.stop();
croservices/cro-http
…/http-middleware.t :92:
LEAVE $service.stop();
croservices/cro-http
…/http-middleware.t :108:
LEAVE $service.stop();
croservices/cro-http
…/http-middleware.t :136:
LEAVE $service.stop();
croservices/cro-http
…/http-middleware.t :151:
LEAVE $service.stop();
croservices/cro-http
…/http-server.t :130:
LEAVE $test.stop();
croservices/cro-http
…/http-server.t :155:
LEAVE $test.stop();
croservices/cro-http
…/http-server.t :191:
LEAVE $test.stop();
croservices/cro-http
…/http-server.t :219:
LEAVE $test.stop();
croservices/cro-http
…/http-server.t :246:
LEAVE $test.stop();
croservices/cro-http
…/http-server.t :283:
LEAVE $test.stop();
croservices/cro
…/tools-runner.t :12:
LEAVE rm_rf $temp-dir;
croservices/cro
…/tools-services.t :9:
LEAVE rm_rf $temp-dir;
cygx/p6-image-rgba-text
…/Text.pm6 :280:
LEAVE ++$i;
cygx/p6-image-rgba-text
…/Text.pm6 :289:
LEAVE ++$i;
cygx/p6-image-rgba-text
…/Text.pm6 :294:
LEAVE ++$i;
cygx/p6-tinycc-resources-win64
…/winuser.h :1254:
#define WM_MOUSELEAVE 0x02A3
cygx/p6-tinycc-resources-win64
…/winuser.h :1256:
#define WM_NCMOUSELEAVE 0x02A2
cygx/p6-tinycc-resources-win64
…/winuser.h :1406:
#define TME_LEAVE 0x00000002
cygx/p6-tinycc
…/CSub.pm :22:
LEAVE .close with $bin;
cygx/p6-tinycc
…/Compiler.pm :26:
LEAVE $!error = Nil;
cygx/p6-tinycc
…/Compiler.pm :142:
LEAVE .delete with $state;
cygx/p6-tinycc
…/Eval.pm :40:
LEAVE $bin andthen .close;
dagurval/p6-webservice-justcoin
…/Justcoin.pm6 :132:
LEAVE { unlink $tmpfile }
dagurval/p6-webservice-justcoin
…/Justcoin.pm6 :149:
LEAVE { unlink $tmpfile }
dagurval/p6-webservice-justcoin
…/Justcoin.pm6 :163:
LEAVE { unlink $tmpfile }
dagurval/perl6-gd-raw
…/gdtest.pm6 :19:
LEAVE { fclose($fp) if $fp; }
dagurval/perl6-gd-raw
…/gdtest.pm6 :34:
LEAVE { gdImageDestroy($expected) if $expected }
dagurval/perl6-gd-raw
…/gdtest.pm6 :179:
LEAVE { gdImageDestroy($surface_diff) if $surface_diff; }
dagurval/perl6-gd-raw
…/gdtest.pm6 :203:
LEAVE {
dagurval/perl6-gd-raw
…/bug00010.t :9:
LEAVE { gdImageDestroy($im) }
dagurval/perl6-gd-raw
…/bug00191.t :9:
LEAVE { gdImageDestroy($im) if $im }
dagurval/perl6-gd-raw
…/gdCopyBlurred.t :68:
LEAVE gdImageDestroy($im) if $im;
dagurval/perl6-gd-raw
…/gdCopyBlurred.t :70:
LEAVE gdImageDestroy($imref) if $imref;
dagurval/perl6-gd-raw
…/gdCopyBlurred.t :117:
LEAVE gdImageDestroy $im if $im;
dagurval/perl6-gd-raw
…/gdCopyBlurred.t :124:
LEAVE gdImageDestroy $blurred if $blurred;
dagurval/perl6-gd-raw
…/gdimageopenpolygon0.t :10:
LEAVE gdImageDestroy($im) if $im;
dagurval/perl6-gd-raw
…/gdimageopenpolygon1.t :10:
LEAVE gdImageDestroy($im) if $im;
dagurval/perl6-gd-raw
…/gdimageopenpolygon2.t :10:
LEAVE gdImageDestroy($im) if $im;
dagurval/perl6-gd-raw
…/gdimageopenpolygon3.t :10:
LEAVE gdImageDestroy($im) if $im;
dagurval/perl6-gd-raw
…/gdimagepolygon0.t :10:
LEAVE { gdImageDestroy($im); }
dagurval/perl6-gd-raw
…/gdimagepolygon1.t :10:
LEAVE { gdImageDestroy($im) }
dagurval/perl6-gd-raw
…/gdimagepolygon3.t :10:
LEAVE { gdImageDestroy($im) if $im}
dagurval/perl6-gd-raw
…/bug00067.t :13:
LEAVE { fclose($fp) if $fp }
dagurval/perl6-gd-raw
…/bug00067.t :17:
LEAVE { gdImageDestroy($im) if $im }
dagurval/perl6-gd-raw
…/php_bug_64898.t :18:
LEAVE {
dagurval/perl6-gd-raw
…/php_bug_64898.t :27:
LEAVE gdImageDestroy $exp if $exp;
drforr/perl6-Perl6-Parser
…/Factory.pm6 :6322:
# LEAVE
gfldex/perl6-concurrent-channelify
…/Channelify.pm6 :13:
LEAVE $channel.close unless $channel.closed;
gfldex/perl6-concurrent-file-find
…/Find.pm6 :118:
LEAVE $channel.close;
gfldex/perl6-concurrent-file-find
…/Find.pm6 :145:
LEAVE $channel.close unless $channel.closed;
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8706:
LEAVE {...} # at every block exit time (even stack unwinds from exceptions)
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8707:
KEEP {...} # at every successful block exit, part of LEAVE queue
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8708:
UNDO {...} # at every unsuccessful block exit, part of LEAVE queue
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8711:
NEXT {...} # at loop continuation time, before any LEAVE
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8712:
LAST {...} # at loop termination time, after any LEAVE
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8715:
POST {...} # assert postcondition at every block exit, after LEAVE
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8717:
CATCH {...} # catch exceptions, before LEAVE</pre>
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8718:
<pre class="code">CONTROL {...} # catch control exceptions, before LEAVE
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8743:
<p>The topic of the block outside a phaser is still available as <span class="code">OUTER::&lt;$_> </span>. Whether the return value is modifiable m…
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8772:
CATCH {...} # catch exceptions, before LEAVE
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8773:
CONTROL {...} # catch control exceptions, before LEAVE
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8777:
NEXT {...} # at loop continuation time, before any LEAVE
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8778:
LAST {...} # at loop termination time, after any LEAVE
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8782:
LEAVE {...} # at every block exit time (even stack unwinds from exceptions)
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8783:
KEEP {...} # at every successful block exit, part of LEAVE queue
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8784:
UNDO {...} # at every unsuccessful block exit, part of LEAVE queue
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8788:
POST {...} # assert postcondition at every block exit, after LEAVE
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8827:
<p>An exception thrown from an <span class="code">ENTER</span> phaser will abort the <span class="code">ENTER</span> queue, but one thrown from a <span class="code">LEAVE</span> phaser will not.</p>
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8828:
<a name="t28.3.2"></a><h2 id="_language_phasers.pod6-LEAVE">28.3.2 <a name="280"></a>LEAVE</h2>
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8830:
<p>So <span class="code">LEAVE</span> phasers for a given block are necessarily evaluated after any <span class="code">CATCH</span> and <s…
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8831:
<p>An exception thrown from an <span class="code">ENTER</span> phaser will abort the <span class="code">ENTER</span> queue, but one thrown from a <span class="code">LEAVE</span> phaser will not.</p>
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8832:
<p>If a <span class="code">POST</span> fails or any kind of <span class="code">LEAVE</span> block throws an exception while the stack is u…
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8834:
<p>Runs at every successful block exit, as part of the LEAVE queue (shares the same order of execution).</p>
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8837:
<p>Runs at every unsuccessful block exit, as part of the LEAVE queue (shares the same order of execution).</p>
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8843:
<p>Asserts a postcondition at every block entry. Runs after the LEAVE phase.</p>
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8846:
<p>If a <span class="code">POST</span> fails or any kind of <span class="code">LEAVE</span> block throws an exception while the stack is u…
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8854:
<p>Runs when loop is continued (either through <span class="code">next</span> or because you got to the bottom of the loop and are looping back around), before LEAVE.</p>
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8855:
<p>A <span class="code">NEXT</span> executes only if the end of the loop block is reached normally, or an explicit <span class="code">next</span> is…
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8857:
<p>Runs when loop is aborted (either through <span class="code">last</span>, or <span class="code">return</span>, or because you got to the bottom of the loop and are done), after LEAVE.</p>
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8860:
<p>Runs when an exception is raised by the current block, before the LEAVE phase.</p>
gfldex/perl6-pod-to-bigpage
…/html.xhtml :8862:
<p>Runs when a control exception is raised by the current block, before the LEAVE phase. It is raised by <span class="code">return</span>,…
gfldex/perl6-pod-to-bigpage
…/html.xhtml :23895:
<a href="#t28.3.2"><li class="toc-level toc-level-2"><span class="toc-number">28.3.2</span> <a name="280"></a>LEAVE</li></a>
gfldex/perl6-pod-to-bigpage
…/html.xhtml :25912:
<li>&emsp;<a href="#i36">36</a> <a href="#i37">37</a> <a href="#i215">215</a> <a href="#i224">224</a> <a href="#i225">225</a> <a href="#i228">228</a>…
hipek8/p6-UNIX-Daemonize
…/daemonize-self.t :19:
LEAVE { $program-file.IO.unlink; }
jnthn/oo-monitors
…/Monitors.pm6 :30:
LEAVE $lock.unlock();
jnthn/p6-app-installermaker-wix
…/make-perl6-wix-installer :20:
LEAVE rm_rf $work-dir;
jnthn/p6-data-textorbinary
…/TextOrBinary.pm6 :41:
LEAVE $fh.close;
jnthn/p6-io-socket-async-ssl
…/SSL.pm6 :614:
LEAVE OpenSSL::Ctx::SSL_CTX_free($ctx) if $ctx;
jnthn/p6-test-scheduler
…/Scheduler.pm6 :128:
LEAVE $p.keep(True);
jnthn/p6-test-scheduler
…/Scheduler.pm6 :179:
LEAVE $done.keep(True);
jnthn/rakudo-debugger
…/CommandLine.pm :12:
LEAVE $*DEBUG_HOOKS.unsuspend();
jnthn/rakudo-debugger
…/CommandLine.pm :358:
LEAVE $in_prompt = False;
jnthn/rakudo-debugger
…/CommandLine.pm :408:
LEAVE $in_prompt = False;
jnthn/rakudo-debugger
…/CommandLine.pm :593:
LEAVE $cur_ex = Nil;
jonathanstowe/Audio-Liquidsoap
…/030-builtins.t :47:
LEAVE {
jonathanstowe/Audio-Liquidsoap
…/050-list.t :171:
LEAVE {
jonathanstowe/IO-Path-Mode
…/020-basic.t :405:
LEAVE {
jpve/perl6-net-pcap
…/Pcap.pm6 :340:
LEAVE {pcap_freecode($fp) if defined($fp); }
jpve/perl6-net-pcap
…/Pcap.pm6 :363:
# LEAVE {if defined($devsp.if) {pcap_freealldevs($devsp.if);} }
masak/007
…/plug-t-file-into-007-runtime :5:
LEAVE { unlink $tempfile-name if $tempfile-name }
masak/007
…/plug-test-suite-into-007-runtime :31:
LEAVE { unlink $tempfile-name if $tempfile-name }
masak/007
…/format.t :5:
LEAVE unlink MODIFIED_FORMAT_007_FILENAME;
masak/crypt
…/descriptions :61:
It says "LEAVE " with big, scrawly lettering. Maybe a warning or a threat.
masak/yapsi
…/LOLHALP :6:
* 'LEAVE', 'FIRST', 'NEXT', and 'LAST' phasers.
masak/yapsi
…/ROADMAP :28:
+ LEAVE/KEEP/UNDO phasers
melezhik/sparky
…/sparky-runner.pl6 :233:
LEAVE {
moznion/p6-Router-Boost
…/Boost.pm6 :17:
has @!_LEAVES = [];
moznion/p6-Router-Boost
…/Boost.pm6 :130:
temp @!_LEAVES = [];
moznion/p6-Router-Boost
…/Boost.pm6 :136:
@!leaves = @!_LEAVES;
moznion/p6-Router-Boost
…/Boost.pm6 :155:
@!_LEAVES.push($node.leaf);
moznion/p6-Router-Boost
…/Boost.pm6 :158:
@!_LEAVES.elems - 1,
niner/CompUnit-Repository-Panda
…/Panda.pm6 :13:
LEAVE {
perl6/DBIish
…/Connection.pm6 :50:
LEAVE {
perl6/DBIish
…/Pg.pm6 :92:
LEAVE { .dispose }
perl6/DBIish
…/Connection.pm6 :32:
LEAVE { $result.PQclear if $result }
perl6/DBIish
…/Native.pm6 :20:
LEAVE { PQfreemem(ptr) if ptr }
perl6/DBIish
…/Native.pm6 :78:
LEAVE { PQfreemem($_) }
perl6/DBIish
…/Native.pm6 :90:
LEAVE { PQfreemem($_) }
perl6/DBIish
…/Native.pm6 :113:
LEAVE { PQfreemem(ptr) if ptr }
perl6/DBIish
…/Connection.pm6 :48:
LEAVE { $!conn = Nil }
perl6/DBIish
…/26-mysql-blob.t :36:
LEAVE { .dispose }
perl6/DBIish
…/26-mysql-blob.t :43:
LEAVE { .dispose }
perl6/doc
…/phasers.pod6 :29:
LEAVE {...} # at every block exit time (even stack unwinds from exceptions)
perl6/doc
…/phasers.pod6 :30:
KEEP {...} # at every successful block exit, part of LEAVE queue
perl6/doc
…/phasers.pod6 :31:
UNDO {...} # at every unsuccessful block exit, part of LEAVE queue
perl6/doc
…/phasers.pod6 :34:
NEXT {...} # at loop continuation time, before any LEAVE
perl6/doc
…/phasers.pod6 :35:
LAST {...} # at loop termination time, after any LEAVE
perl6/doc
…/phasers.pod6 :38:
POST {...} # assert postcondition at every block exit, after LEAVE
perl6/doc
…/phasers.pod6 :40:
CATCH {...} # catch exceptions, before LEAVE
perl6/doc
…/phasers.pod6 :41:
CONTROL {...} # catch control exceptions, before LEAVE
perl6/doc
…/phasers.pod6 :107:
C<POST> phaser, but a C<LEAVE> phaser could be more liberal.
perl6/doc
…/phasers.pod6 :151:
CATCH {...} # catch exceptions, before LEAVE
perl6/doc
…/phasers.pod6 :152:
CONTROL {...} # catch control exceptions, before LEAVE
perl6/doc
…/phasers.pod6 :157:
NEXT {...} # at loop continuation time, before any LEAVE
perl6/doc
…/phasers.pod6 :158:
LAST {...} # at loop termination time, after any LEAVE
perl6/doc
…/phasers.pod6 :163:
LEAVE {...} # at every block exit time (even stack unwinds from exceptions)
perl6/doc
…/phasers.pod6 :164:
KEEP {...} # at every successful block exit, part of LEAVE queue
perl6/doc
…/phasers.pod6 :165:
UNDO {...} # at every unsuccessful block exit, part of LEAVE queue
perl6/doc
…/phasers.pod6 :170:
POST {...} # assert postcondition at every block exit, after LEAVE
perl6/doc
…/phasers.pod6 :262:
one thrown from a C<LEAVE> phaser will not.
perl6/doc
…/phasers.pod6 :264:
=head2 X<LEAVE
perl6/doc
…/phasers.pod6 :268:
So C<LEAVE> phasers for a given block are necessarily evaluated after any
perl6/doc
…/phasers.pod6 :269:
C<CATCH> and C<CONTROL> phasers. This includes the C<LEAVE> variants, C<KEEP>
perl6/doc
…/phasers.pod6 :271:
that even C<LEAVE> phasers can't violate postconditions.
perl6/doc
…/phasers.pod6 :274:
one thrown from a C<LEAVE> phaser will not.
perl6/doc
…/phasers.pod6 :276:
If a C<POST> fails or any kind of C<LEAVE> block throws an exception while the
perl6/doc
…/phasers.pod6 :282:
LEAVE say „I say after the return value.“;
perl6/doc
…/phasers.pod6 :287:
B<Note:> be mindful of C<LEAVE> phasers directly in blocks of routines, as
perl6/doc
…/phasers.pod6 :293:
LEAVE say "oh noes!"
perl6/doc
…/phasers.pod6 :299:
entered and left (when param binding failed), and so the C<LEAVE> phaser
perl6/doc
…/phasers.pod6 :304:
Runs at every successful block exit, as part of the LEAVE queue (shares the
perl6/doc
…/phasers.pod6 :313:
Runs at every unsuccessful block exit, as part of the LEAVE queue (shares the
perl6/doc
…/phasers.pod6 :328:
Asserts a postcondition at every block entry. Runs after the LEAVE phase.
perl6/doc
…/phasers.pod6 :340:
If a C<POST> fails or any kind of C<LEAVE> block throws an exception while the
perl6/doc
…/phasers.pod6 :361:
bottom of the loop and are looping back around), before LEAVE.
perl6/doc
…/phasers.pod6 :364:
explicit C<next> is executed. In distinction to C<LEAVE> phasers, a C<NEXT>
perl6/doc
…/phasers.pod6 :372:
got to the bottom of the loop and are done), after LEAVE.
perl6/doc
…/phasers.pod6 :378:
Runs when an exception is raised by the current block, before the LEAVE phase.
perl6/doc
…/phasers.pod6 :382:
Runs when a control exception is raised by the current block, before the LEAVE
perl6/doc
…/py-nutshell.pod6 :724:
LEAVE say 'bye';
perl6/doc
…/Channel.pod6 :112:
this may hang the receiving thread. Use a L<LEAVE
perl6/doc
…/Handle.pod6 :711:
It's a common idiom to use L«C<LEAVE> phaser
perl6/doc
…/Handle.pod6 :718:
LEAVE close $fh;
perl6/doc
…/Handle.pod6 :727:
LEAVE try close $fh;
perl6/doc
…/Handle.pod6 :763:
LEAVE .close;
perl6/doc
…/htmlify.p6 :984:
LEAVE try unlink $tmp_fname;
perl6/gtk-simple
…/GDK.pm6 :24:
LEAVE_NOTIFY_MASK => 8192,
salortiz/DBDish-ODBC
…/Connection.pm6 :34:
LEAVE { $st.dispose };
salortiz/JsonC
…/JsonC.pm6 :228:
LEAVE { .free with $tok }
salortiz/JsonC
…/JsonC.pm6 :403:
LEAVE { .dispose }
salortiz/JsonC
…/JsonC.pm6 :410:
LEAVE { .dispose }
sergot/http-useragent
…/030-cookies.t :9:
LEAVE try $file.IO.unlink;
sergot/openssl
…/MD5.pm6 :36:
LEAVE { .close with $fh }
skaji/App-P6Ghq
…/P6Ghq.pm6 :17:
LEAVE $zef.out.close;
skaji/App-P6Ghq
…/P6Ghq.pm6 :18:
LEAVE $zef.err.close;
skaji/mi6
…/Mi6.pm6 :154:
LEAVE $p.out.close;
skaji/mi6
…/Mi6.pm6 :264:
LEAVE $proc.err.close;
skaji/perl6-HTTP-Tinyish
…/Curl.pm6 :48:
LEAVE $factory.cleanup;
skaji/perl6-HTTP-Tinyish
…/Curl.pm6 :53:
LEAVE $factory.cleanup;
skaji/perl6-HTTP-Tinyish
…/Curl.pm6 :91:
LEAVE $factory.cleanup;
skaji/perl6-HTTP-Tinyish
…/Curl.pm6 :96:
LEAVE $factory.cleanup;
skaji/perl6-MetaCPAN-Favorite
…/Favorite.pm6 :88:
LEAVE $fh.close if $fh;
skaji/perl6-MetaCPAN-Favorite
…/Favorite.pm6 :99:
LEAVE $fh.close if $fh;
skaji/perl6-WaitGroup
…/README.md :26:
LEAVE $wg.done;
skaji/perl6-WaitGroup
…/eg.p6 :19:
LEAVE $wg.done;
skaji/perl6-WaitGroup
…/WaitGroup.pm6 :47:
LEAVE $wg.done;
skids/perl6-Control-Bail
…/README.md :81:
returns" through the LEAVE/KEEP/UNDO phasers. These all exist on the same
skids/perl6-Control-Bail
…/README.md :82:
queue (the LEAVE queue) but the KEEP and UNDO variety allow you to cancel
skids/perl6-Control-Bail
…/README.md :88:
LEAVE { 42.say };
skids/perl6-Control-Bail
…/README.md :90:
LEAVE { 43.say };
skids/perl6-Control-Bail
…/README.md :95:
In the above, even though the return "happens before" the second LEAVE block
skids/perl6-Control-Bail
…/README.md :96:
visually, that LEAVE block still runs. So you still have to test whether
skids/perl6-Control-Bail
…/README.md :102:
The "bail", "trail", and "trail-keep" map to UNDO, LEAVE, and KEEP,
skids/perl6-Control-Bail
…/Bail.pm6 :23:
LEAVE { say "Streaker runs across field" }
skids/perl6-Control-Bail
…/Bail.pm6 :39:
C<LEAVE> queue, like the C<UNDO> phaser -- the closures will
skids/perl6-Control-Bail
…/Bail.pm6 :44:
runtime. Order with respect to normal C<LEAVE/KEEP/UNDO>
skids/perl6-Control-Bail
…/Bail.pm6 :60:
C<LEAVE> queue as a plain C<LEAVE> phaser would do (it always runs,
skids/perl6-Control-Bail
…/Bail.pm6 :133:
add_phaser('LEAVE', c[0]);
skids/perl6-Control-Bail
…/Bail.pm6 :142:
add_phaser('LEAVE', c[0]);
skids/perl6-Control-Bail
…/bail.t :90:
sub normal_return_trail_LEAVE {
skids/perl6-Control-Bail
…/bail.t :91:
LEAVE { $*d ~= '1' };
skids/perl6-Control-Bail
…/bail.t :93:
LEAVE { $*d ~= '3' };
skids/perl6-Control-Bail
…/bail.t :95:
normal_return_trail_LEAVE();
skids/perl6-Control-Bail
…/bail.t :96:
is $*d, "321", "trail plus LEAVE lifo";
skids/perl6-Control-Bail
…/bail.t :100:
LEAVE { $*d ~= '1' };
skids/perl6-Control-Bail
…/bail.t :102:
LEAVE { $*d ~= '3' };
skids/perl6-Control-Bail
…/bail.t :108:
LEAVE { $*d ~= '1' };
skids/perl6-Control-Bail
…/bail.t :110:
LEAVE { $*d ~= '3' };
szabgab/Perl6-Maven
…/Page.pm6 :13:
LEAVE $fh.close;
szabgab/Perl6-Maven
…/Slides.pm6 :16:
LEAVE $fh.close;
szabgab/Perl6-Maven
…/Tools.pm6 :25:
LEAVE $fh.close;
szabgab/Perl6-Maven
…/Tools.pm6 :54:
LEAVE $out.close;
szabgab/Perl6-Maven
…/Tools.pm6 :105:
LEAVE $fh.close;
tadzik/App-redpanda
…/redpanda :12:
LEAVE rm_rf $workdir;
tadzik/File-Find
…/01-file-find.t :78:
LEAVE { &dir.unwrap($w); }
tadzik/panda
…/01-file-find.t :78:
LEAVE { &dir.unwrap($w); }
tadzik/panda
…/Panda.pm :228:
LEAVE { rm_rf $tmpdir if $tmpdir.IO.e }
tadzik/panda
…/Common.pm :25:
LEAVE {
timo/SDL2_Raw-p6
…/Raw.pm :92:
'LEAVE', # Window has lost mouse focus
tokuhirom/p6-Protocol-WebSocket
…/client-server.t :18:
LEAVE { $l.unlock }
tokuhirom/p6-Protocol-WebSocket
…/client-server.t :24:
LEAVE { $l.unlock }
ugexe/zef
…/Ecosystems.pm6 :82:
LEAVE {.close}
ugexe/zef
…/Ecosystems.pm6 :90:
LEAVE {.close}
ugexe/zef
…/LocalCache.pm6 :37:
LEAVE { self.store(
ugexe/zef
…/LocalCache.pm6 :90:
LEAVE {.close}
ugexe/zef
…/LocalCache.pm6 :98:
LEAVE {.close}
ugexe/zef
…/FileSystem.pm6 :48:
LEAVE {.close}
ugexe/zef
…/FileSystem.pm6 :49:
LEAVE {try .path.unlink}
whity/perl6-hematite
…/Context.pm6 :165:
LEAVE {
yaml/yaml-libyaml-perl6
…/Emitter.pm6 :80:
LEAVE .close with $fh;
yaml/yaml-libyaml-perl6
…/Emitter.pm6 :83:
LEAVE self.delete;
yaml/yaml-libyaml-perl6
…/Emitter.pm6 :174:
LEAVE self.delete;
yaml/yaml-libyaml-perl6
…/Parser.pm6 :39:
LEAVE self.delete;
yaml/yaml-libyaml-perl6
…/Parser.pm6 :50:
LEAVE .close with $fh;
yaml/yaml-libyaml-perl6
…/Parser.pm6 :53:
LEAVE self.delete;
yaml/yaml-libyaml-perl6
…/Parser.pm6 :133:
LEAVE $!event.delete;
zoffixznet/perl6-Acme-Anguish
…/Anguish.pm6 :14:
LEAVE { try $saved-term.setattr(:DRAIN) }
zoffixznet/perl6-Inline-Brainfuck
…/Brainfuck.pm6 :14:
LEAVE { try $saved-term.setattr(:DRAIN) }
zoffixznet/perl6-Trait-IO
…/README.md :33:
Installs a `LEAVE` phaser to automatically close the file handle when scope
zoffixznet/perl6-Trait-IO
…/IO.pm6 :7:
$v.block.add_phaser: 'LEAVE', $v.willdo: {
zostay/p6-CompUnit-DynamicLib
…/DynamicLib.pm6 :18:
LEAVE {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment