Package org.ek9lang.compiler.common
Class ProcessTraitMethodOrError
java.lang.Object
org.ek9lang.compiler.common.ProcessTraitMethodOrError
- All Implemented Interfaces:
BiConsumer<MethodSymbol,
EK9Parser.OperationDetailsContext>
public class ProcessTraitMethodOrError
extends Object
implements BiConsumer<MethodSymbol,EK9Parser.OperationDetailsContext>
Check trait specifics on constructors/methods/operators, Allowing missing body but marking as abstract.
Issues error if method is marked as a constructor on a trait.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(MethodSymbol method, EK9Parser.OperationDetailsContext ctx) 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
-
ProcessTraitMethodOrError
Create new checker.
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceBiConsumer<MethodSymbol,
EK9Parser.OperationDetailsContext>
-