Class PullBoundingHeads

java.lang.Object
org.ek9lang.compiler.phase7.generator.PullBoundingHeads
All Implemented Interfaces:
BiFunction<List<EK9Parser.StreamPartContext>, List<StageState>, List<StageState.Counter>>

final class PullBoundingHeads extends Object implements BiFunction<List<EK9Parser.StreamPartContext>, List<StageState>, List<StageState.Counter>>
THE heads that bound the pull of a loop over stages (StreamDemand, decision 10 rule B): every head before the first stage that ends the demand segment (EndsDemandSegment), in pipeline order. Empty when there is none (the loop is a plain hasNext()). Hold an instance.