Class AllOperatorsAbove

java.lang.Object
org.ek9lang.compiler.support.operators.AllOperatorsAbove

public final class AllOperatorsAbove extends Object
EVERY operator of one name declared ABOVE an aggregate - each level's own overloads, nearest level first, never Any's. The same walk as NearestOperatorAbove, for a caller that must meet every inherited signature rather than call the nearest one: a generated :=: overrides each inherited :=:(Super) (InheritedCopySignatures, Q5b), a type's own sameness each inherited comparison (OverriddenSamenessSignatures). Hold one.
  • Constructor Details

    • AllOperatorsAbove

      public AllOperatorsAbove()
  • Method Details

    • of

      public List<MethodSymbol> of(IAggregateSymbol aggregate, String operatorName, ISymbol ek9Any)
      Every declaration above, nearest level first.
      Parameters:
      aggregate - the type whose super chain is walked (the type itself is not consulted)
      operatorName - the operator, e.g. ":=:"
      ek9Any - the Any type, which is never an answer
      Returns:
      every declaration above, nearest level first