Class IsThrownWhole

java.lang.Object
org.ek9lang.compiler.support.sharing.IsThrownWhole
All Implemented Interfaces:
Predicate<EK9Parser.IdentifierContext>

public final class IsThrownWhole extends Object implements Predicate<EK9Parser.IdentifierContext>
Is this identifier the whole value of a throw (throw ex): the grammar puts it directly under the statement (throwStatement: THROW (call | identifierReference)), never as a primary of an expression, so no expression reading sees it. A thrown object leaves the callable for whichever catch takes it - kept where nothing here can name it (the derivation audit's M1/M8, 2026-11-15). Stateless: hold one.