Skip to content

Commit 3e8922b

Browse files
committed
use same search category for all phasers
1 parent f95f627 commit 3e8922b

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

doc/Language/phasers.pod6

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,13 @@ teardown usually want to happen in the opposite order from each other.
172172
173173
=head1 Program Execution Phasers
174174
175-
=head2 X<BEGIN|BEGIN (phasers)>
175+
=head2 X<BEGIN|Phasers>
176176
177177
Runs at compile time, as soon as possible, only runs once.
178178
179179
Can have a return value that is provided even in later phases.
180180
181-
=head2 X<CHECK|CHECK (phasers)>
181+
=head2 X<CHECK|Phasers>
182182
183183
Runs at compile time, As late as possible, only runs once.
184184
@@ -188,7 +188,7 @@ Code that is generated at run time can still fire off C<CHECK> and C<INIT>
188188
phasers, though of course those phasers can't do things that would require
189189
travel back in time. You need a wormhole for that.
190190
191-
=head2 X<LINK|LINK (phasers)>
191+
=head2 X<LINK|Phasers>
192192
193193
Runs at link time, As late as possible, only runs once.
194194
@@ -197,7 +197,7 @@ Can have a return value that is provided even in later phases.
197197
The compiler is free to ignore C<LINK> phasers compiled at run time since
198198
they're too late for the application-wide linking decisions.
199199
200-
=head2 X<INIT|INIT (phasers)>
200+
=head2 X<INIT|Phasers>
201201
202202
Runs after compilation during main execution, as soon as possible, only runs
203203
once.
@@ -215,7 +215,7 @@ travel back in time. You need a wormhole for that.
215215
216216
An C<INIT> only runs once for all copies of a cloned closure.
217217
218-
=head2 X<END|END (phasers)>
218+
=head2 X<END|Phasers>
219219
220220
Runs after compilation during main execution, as late as possible, only runs
221221
once.
@@ -225,7 +225,7 @@ treated as if declared at C<use> time in the using module. (It is erroneous to
225225
depend on this order if the module is used more than once, however, since the
226226
phasers are only installed the first time they're noticed.)
227227
228-
=head2 X<CLOSE|CLOSE (phasers)>
228+
=head2 X<CLOSE|Phasers>
229229
230230
Appears in a supply block. Called when the supply is closed.
231231
@@ -251,7 +251,7 @@ All of these phaser blocks can see any previously declared lexical variables,
251251
even if those variables have not been elaborated yet when the closure is
252252
invoked (in which case the variables evaluate to an undefined value.)
253253
254-
=head2 X<ENTER|ENTER (phasers)>
254+
=head2 X<ENTER|Phasers>
255255
256256
Runs at every block entry time, repeats on loop blocks.
257257
@@ -260,7 +260,7 @@ Can have a return value that is provided even in later phases.
260260
An exception thrown from an C<ENTER> phaser will abort the C<ENTER> queue, but
261261
one thrown from a C<LEAVE> phaser will not.
262262
263-
=head2 X<LEAVE|LEAVE (phasers)>
263+
=head2 X<LEAVE|Phasers>
264264
265265
Runs at every block exit time (even stack unwinds from exceptions).
266266
@@ -277,7 +277,7 @@ stack is unwinding, the unwinding continues and collects exceptions to be
277277
handled. When the unwinding is completed all new exceptions are thrown from
278278
that point.
279279
280-
=head2 X<KEEP|KEEP (phasers)>
280+
=head2 X<KEEP|Phasers>
281281
282282
Runs at every successful block exit, as part of the LEAVE queue (shares the
283283
same order of execution).
@@ -286,12 +286,12 @@ For phasers such as C<KEEP> and C<POST> that are run when exiting a scope
286286
normally, the return value (if any) from that scope is available as the current
287287
topic within the phaser.
288288
289-
=head2 X<UNDO|UNDO (phasers)>
289+
=head2 X<UNDO|Phasers>
290290
291291
Runs at every unsuccessful block exit, as part of the LEAVE queue (shares the
292292
same order of execution).
293293
294-
=head2 X<PRE|PRE (phasers)>
294+
=head2 X<PRE|Phasers>
295295
296296
Asserts a precondition at every block entry. Runs before the ENTER phase.
297297
@@ -301,7 +301,7 @@ The exceptions thrown by failing C<PRE> and C<POST> phasers cannot be caught by
301301
a C<CATCH> in the same block, which implies that C<POST> phaser are not run if
302302
a C<PRE> phaser fails.
303303
304-
=head2 X<POST|POST (phasers)>
304+
=head2 X<POST|Phasers>
305305
306306
Asserts a postcondition at every block entry. Runs after the LEAVE phase.
307307
@@ -329,11 +329,11 @@ a C<PRE> phaser fails.
329329
C<FIRST>, C<NEXT>, and C<LAST> are meaningful only within the lexical scope of
330330
a loop, and may occur only at the top level of such a loop block.
331331
332-
=head2 X<FIRST|FIRST (phasers)>
332+
=head2 X<FIRST|Phasers>
333333
334334
Runs at loop initialization, before ENTER.
335335
336-
=head2 X<NEXT|NEXT (phasers)>
336+
=head2 X<NEXT|Phasers>
337337
338338
Runs when loop is continued (either through C<next> or because you got to the
339339
bottom of the loop and are looping back around), before LEAVE.
@@ -344,18 +344,18 @@ phaser is not executed if the loop block is exited via any exception other than
344344
the control exception thrown by C<next>. In particular, a C<last> bypasses
345345
evaluation of C<NEXT> phasers.
346346
347-
=head2 X<LAST|LAST (phasers)>
347+
=head2 X<LAST|Phasers>
348348
349349
Runs when loop is aborted (either through C<last>, or C<return>, or because you
350350
got to the bottom of the loop and are done), after LEAVE.
351351
352352
=head1 Exception Handling Phasers
353353
354-
=head2 X<CATCH|CATCH (phasers)>
354+
=head2 X<CATCH|Phasers>
355355
356356
Runs when an exception is raised by the current block, before the LEAVE phase.
357357
358-
=head2 X<CONTROL|CONTROL (phasers)>
358+
=head2 X<CONTROL|Phasers>
359359
360360
Runs when a control exception is raised by the current block, before the LEAVE
361361
phase. It is raised by C<return>, C<fail>, C<redo>, C<next>, C<last>, C<take>,
@@ -364,13 +364,13 @@ C<warn>, C<proceed> and C<succeed>.
364364
# NYI
365365
# =head1 Object Phasers
366366
#
367-
# =head2 X<COMPOSE|COMPOSE (phasers)>
367+
# =head2 X<COMPOSE|Phasers>
368368
#
369369
# Runs when a role is composed into a class.
370370
371371
=head1 Asynchronous Phasers
372372
373-
=head2 X<LAST|asynchronous LAST (phasers)>
373+
=head2 X<LAST|Phasers>
374374
375375
Runs when a L<Supply|/type/Supply> finishes with a call to C<done> or when a
376376
C<supply> block exits normally. It runs completely after the C<whenever> block
@@ -380,7 +380,7 @@ This phaser reuses the name C<LAST>, but works differently from the C<LAST> loop
380380
phaser. This phaser is similar to setting the C<done> routine while tapping a
381381
supply with C<tap>.
382382
383-
=head2 X<QUIT|QUIT asynchronous QUIT (phasers)>
383+
=head2 X<QUIT|Phasers>
384384
385385
Runs when a L<Supply|/type/Supply> terminates early with an exception. It runs
386386
after the C<whenever> block it is placed within finishes.
@@ -390,7 +390,7 @@ with C<tap>.
390390
391391
=head1 DOC phasers
392392
393-
=head2 X<DOC|DOC (phasers)>
393+
=head2 X<DOC|Phasers>
394394
395395
The phasers C<BEGIN>, C<CHECK> and C<INIT> are run only in documentation mode when
396396
prefixed with the C<DOC> keyword. The compiler is in documentation when run with C<--doc>.

0 commit comments

Comments
 (0)