Class BoundednessWalk

java.lang.Object
org.ek9lang.compiler.support.streams.BoundednessWalk
All Implemented Interfaces:
BiFunction<List<EK9Parser.StreamPartContext>, Boolean, Boundedness>

public final class BoundednessWalk extends Object implements BiFunction<List<EK9Parser.StreamPartContext>, Boolean, Boundedness>
THE walk of a pipeline whose source may be unbounded: head bounds the stream; while it is not bounded every stage needsBounded accepts is a violation; and once an async has run on the unbounded stream, an async barrier (IsAsyncBarrier) is a violation even after a head. The arguments are the pipeline's stages in order and whether the source itself is bounded.