Package org.apache.tapestry5.plastic
Interface WhileCallback
public interface WhileCallback
Callback used with
InstructionBuilder.doWhile(Condition, WhileCallback)
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
buildBody
(InstructionBuilder builder) Provides the main code executed inside the loop.void
buildTest
(InstructionBuilder builder) Creates the code to be evaluated by theCondition
; often this involves loading a value from a variable or argument, orInstructionBuilder.dupe()
'ing the top value on the stack.
-
Method Details
-
buildTest
Creates the code to be evaluated by theCondition
; often this involves loading a value from a variable or argument, orInstructionBuilder.dupe()
'ing the top value on the stack. -
buildBody
Provides the main code executed inside the loop.
-