org.apache.tapestry5.plastic

## Interface WhileCallback

-     public interface WhileCallback

  Callback used with `InstructionBuilder.doWhile(Condition, WhileCallback)`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `buildBody(InstructionBuilder builder)` Provides the main code executed inside the loop.
    `void` | `buildTest(InstructionBuilder builder)` Creates the code to be evaluated by the `Condition`; often this involves loading a value from a variable or argument, or `InstructionBuilder.dupe()`'ing the top value on the stack.

- - ### Method Detail

    - #### buildTest

          void buildTest(InstructionBuilder builder)

      Creates the code to be evaluated by the `Condition`; often this involves loading a value from a variable or argument, or `InstructionBuilder.dupe()`'ing the top value on the stack.

    - #### buildBody

          void buildBody(InstructionBuilder builder)

      Provides the main code executed inside the loop.

5.6.1 - Copyright © 2003-2020 The Apache Software Foundation.