Class EndsWithOperationCall
java.lang.Object
org.ek9lang.compiler.support.EndsWithOperationCall
- All Implemented Interfaces:
Predicate<EK9Parser.ObjectAccessExpressionContext>
public final class EndsWithOperationCall
extends Object
implements Predicate<EK9Parser.ObjectAccessExpressionContext>
True when the final step of the object-access chain (
ObjectAccessFinalStep) is a method/operation call
rather than a plain field identifier - e.g. repository.items() (ends in a call) versus config.host
(ends in a field). A chain ending in a call has no field lvalue to STORE to; only a mutating operator (which mutates
the object the call returns) is meaningful on it. Was ObjectAccessChain.endsWithOperationCall (no-statics
lane S3, 2026-10-29).-
Constructor Details
-
EndsWithOperationCall
public EndsWithOperationCall()
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<EK9Parser.ObjectAccessExpressionContext>
-