Class OperatorDeclarationSite
java.lang.Object
org.ek9lang.compiler.support.operators.OperatorDeclarationSite
- All Implemented Interfaces:
BiFunction<IAggregateSymbol, ISymbol, Optional<IAggregateSymbol>>
public final class OperatorDeclarationSite
extends Object
implements BiFunction<IAggregateSymbol, ISymbol, Optional<IAggregateSymbol>>
THE place a missing operator belongs when NOTHING above an aggregate declares it (Q4, Steve 2026-10-08): the
nearest super class that HAS fields of its own - the root of the data decides whether its fields are exposed (R4) -
or, when no super class has fields, the topmost one (the hierarchy's root below
Any). Empty only when the
aggregate has no super class but Any. Hold one and apply it with the Any type.-
Constructor Details
-
OperatorDeclarationSite
public OperatorDeclarationSite()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceBiFunction<IAggregateSymbol, ISymbol, Optional<IAggregateSymbol>>
-