Class IsSymbolAccessible
java.lang.Object
org.ek9lang.compiler.phase3.IsSymbolAccessible
- All Implemented Interfaces:
Predicate<SymbolAccessData>
THE access rule through a receiver: may the symbol be reached from the scope the access is made in. Private: only
from within the same type; protected: only from within the same type hierarchy; public: anywhere.
AccessToSymbolOrError reports a denial as NOT_ACCESSIBLE; a check that must report a
denial under its own, clearer code (E07835 for collect as T, StreamExpressionTerminationOrError)
holds one of these rather than re-deriving the rule. A property named with no receiver (a bare name resolved up
the scope stack) is judged by CaptureEvaluationScope.deniesAccessTo(ParseTree, ISymbol), by identity, on the same rule (D81).
Was AccessToSymbolOrError.isAccessible (no-statics lane P1, 2026-10-29).
-
Constructor Details
-
IsSymbolAccessible
IsSymbolAccessible()
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<SymbolAccessData>
-