package loop
Type Members
- trait AsLongAs[T <: StructureBuilder[T, W], W <: core.structure.StructureBuilder[W]] extends AnyRef
Methods for defining "asLongAs" loops.
Methods for defining "asLongAs" loops.
Important: instances are immutable so any method doesn't mutate the existing instance but returns a new one.
- trait AsLongAsDuring[T <: StructureBuilder[T, W], W <: core.structure.StructureBuilder[W]] extends AnyRef
Methods for defining "asLongAsDuring" loops.
Methods for defining "asLongAsDuring" loops.
Important: instances are immutable so any method doesn't mutate the existing instance but returns a new one.
- trait DoWhile[T <: StructureBuilder[T, W], W <: core.structure.StructureBuilder[W]] extends AnyRef
Methods for defining "doWhile" loops.
Methods for defining "doWhile" loops. Similar to
AsLongAsexcept the condition is evaluated at the end of the loop.Important: instances are immutable so any method doesn't mutate the existing instance but returns a new one.
- trait DoWhileDuring[T <: StructureBuilder[T, W], W <: core.structure.StructureBuilder[W]] extends AnyRef
Methods for defining "doWhileDuring" loops.
Methods for defining "doWhileDuring" loops. Similar to
AsLongAsDuringexcept the condition is evaluated at the end of the loop.Important: instances are immutable so any method doesn't mutate the existing instance but returns a new one.
- trait During[T <: StructureBuilder[T, W], W <: core.structure.StructureBuilder[W]] extends AnyRef
Methods for defining "during" loops that iterate over a block for a maximum duration.
Methods for defining "during" loops that iterate over a block for a maximum duration.
Important: instances are immutable so any method doesn't mutate the existing instance but returns a new one.
- trait ForEach[T <: StructureBuilder[T, W], W <: core.structure.StructureBuilder[W]] extends AnyRef
Methods for defining "foreach" loops that iterate over a list of values.
Methods for defining "foreach" loops that iterate over a list of values.
Important: instances are immutable so any method doesn't mutate the existing instance but returns a new one.
- trait Forever[T <: StructureBuilder[T, W], W <: core.structure.StructureBuilder[W]] extends AnyRef
Methods for defining "forever" loops.
Methods for defining "forever" loops.
Important: instances are immutable so any method doesn't mutate the existing instance but returns a new one.
- trait Repeat[T <: StructureBuilder[T, W], W <: core.structure.StructureBuilder[W]] extends AnyRef
Methods for defining "repeat" loops that iterate over a block for a given number of times.
Methods for defining "repeat" loops that iterate over a block for a given number of times.
Important: instances are immutable so any method doesn't mutate the existing instance but returns a new one.