Class ObjectAccessStepCount
java.lang.Object
org.ek9lang.compiler.support.ObjectAccessStepCount
- All Implemented Interfaces:
ToIntFunction<EK9Parser.ObjectAccessExpressionContext>
public final class ObjectAccessStepCount
extends Object
implements ToIntFunction<EK9Parser.ObjectAccessExpressionContext>
Number of
.step accesses after the start of an object-access chain - this.code is 1,
this.sink.items is 2. A this/super-rooted chain of ONE step is a direct field of the current object; any
longer chain has an intermediate receiver that must be loaded first. Was ObjectAccessChain.stepCount
(no-statics lane S3, 2026-10-29).-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ObjectAccessStepCount
public ObjectAccessStepCount()
-
-
Method Details
-
applyAsInt
- Specified by:
applyAsIntin interfaceToIntFunction<EK9Parser.ObjectAccessExpressionContext>
-