Class ArgumentRule

java.lang.Object
org.ek9lang.compiler.support.retention.ArgumentRule
All Implemented Interfaces:
BiPredicate<ScopedSymbol, Integer>

final class ArgumentRule extends Object implements BiPredicate<ScopedSymbol, Integer>
THE argument question the argument readers ask (RetainsArgument, HandsBackArgument, KeepsArgumentBeyondResult, DefinitelyKeepsArgument, MayKeepArgument), so they differ only in which rules count (wanted) and in whether the unknown opt-out answers for them (unknownCounts): does a rule of callee (declared, derived, or the generic's own) that matches wanted take the argument given at parameterIndex as its source? With unknownCounts, a callee declaring unknown answers yes - also for an index it does not declare.