Class KeepsUnsetIntoList
java.lang.Object
org.ek9lang.compiler.support.streams.KeepsUnsetIntoList
- All Implemented Interfaces:
BiPredicate<ISymbol,ISymbol>
True when a TERMINAL's target is a
List (the built-in, any parameterisation): collect as List of X,
> list, >> list and a tee ... in list target append each element with the List's
+= (_addAss), which keeps an unset element, never with its | (_pipe), which drops
it (Steve, 2026-10-21: "keep them through +="). THE one test - a fold (> total), a Set, a Dict,
an Optional, a user type, a StringOutput or a file are NOT Lists and keep their own |. Never a second
"is this a List target" test. The first argument is the built-in List symbol (Ek9Types.ek9List()),
the second the type of the terminal's receiver.-
Constructor Details
-
KeepsUnsetIntoList
public KeepsUnsetIntoList()
-
-
Method Details
-
test
-