Class IsTeeTarget

java.lang.Object
org.ek9lang.compiler.support.IsTeeTarget
All Implemented Interfaces:
Predicate<EK9Parser.PipelinePartContext>

public final class IsTeeTarget extends Object implements Predicate<EK9Parser.PipelinePartContext>
THE test of whether a pipeline part is the side target of a tee (| tee in target, its last pipelinePart). The target is evaluated once, before any item is pulled, exactly as a stream's sink is (phase7/generator/StreamPipelineMachinery), so a closeable made there is its statement's to close.