Package org.ek9lang.compiler.phase3
Class TraverseAbstractMethods
java.lang.Object
org.ek9lang.compiler.phase3.TraverseAbstractMethods
- All Implemented Interfaces:
BiConsumer<IAggregateSymbol,
Consumer<MethodSymbol>>
final class TraverseAbstractMethods
extends Object
implements BiConsumer<IAggregateSymbol,Consumer<MethodSymbol>>
Gets the abstract methods and then resolves each to see what the resulting method would be.
It then calls the consumer it has been provided with, so it can decide what action if any to take.
The configured consumer may or may not emit compiler errors.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(IAggregateSymbol aggregateSymbol, Consumer<MethodSymbol> actionToTake) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiConsumer
andThen
-
Constructor Details
-
TraverseAbstractMethods
TraverseAbstractMethods()
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceBiConsumer<IAggregateSymbol,
Consumer<MethodSymbol>>
-