Class ReachesFinalStepThroughCall
java.lang.Object
org.ek9lang.compiler.support.ReachesFinalStepThroughCall
- All Implemented Interfaces:
Predicate<EK9Parser.ObjectAccessExpressionContext>
public final class ReachesFinalStepThroughCall
extends Object
implements Predicate<EK9Parser.ObjectAccessExpressionContext>
True when the receiver of the final step of an object-access chain (
ObjectAccessFinalStep) is only reached
by CALLING something - the chain starts with a call (getHolder().name, Holder().name) or a step
before the last is a call (keeper.holder().name, this.holder().name). Such a receiver is a call
result, not a stored field, so it must be evaluated as an expression before the final field can be stored into.
Was ObjectAccessChain.reachesFinalStepThroughCall (no-statics lane S3, 2026-10-29).-
Constructor Details
-
ReachesFinalStepThroughCall
public ReachesFinalStepThroughCall()
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<EK9Parser.ObjectAccessExpressionContext>
-