Class IsInLaterBlockOfItsGuard

java.lang.Object
org.ek9lang.compiler.phase5.IsInLaterBlockOfItsGuard
All Implemented Interfaces:
BiPredicate<org.antlr.v4.runtime.tree.ParseTree, ISymbol>

final class IsInLaterBlockOfItsGuard extends Object implements BiPredicate<org.antlr.v4.runtime.tree.ParseTree, ISymbol>
THE test of E08270's domain (GuardVariableReadWhereUnsetOrError), for a rule that must not report the same use a second time (E08096, OperatorKeepsValueUnsetOrError): is at inside a later block of an if chain (an else if or the else) whose earlier block's <- guard declares target, provably unset there (ProvablyUnsetGuardOf). Was GuardVariableReadWhereUnsetOrError.isInLaterBlockOfItsGuard (no-statics lane P2, 2026-10-29).
  • Constructor Details

    • IsInLaterBlockOfItsGuard

      IsInLaterBlockOfItsGuard(SymbolsAndScopes symbolsAndScopes)
  • Method Details

    • test

      public boolean test(org.antlr.v4.runtime.tree.ParseTree at, ISymbol target)
      Specified by:
      test in interface BiPredicate<org.antlr.v4.runtime.tree.ParseTree, ISymbol>