Package org.ek9lang.compiler.common
Class ContextSupportsAbstractMethodOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.ContextSupportsAbstractMethodOrError
- All Implemented Interfaces:
BiConsumer<MethodSymbol,
org.antlr.v4.runtime.ParserRuleContext>
public class ContextSupportsAbstractMethodOrError
extends RuleSupport
implements BiConsumer<MethodSymbol,org.antlr.v4.runtime.ParserRuleContext>
Checks for the containing construct type and whether it is marked as abstract or not.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorDescriptionContextSupportsAbstractMethodOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create new. -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(MethodSymbol methodSymbol, org.antlr.v4.runtime.ParserRuleContext 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
-
ContextSupportsAbstractMethodOrError
public ContextSupportsAbstractMethodOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create new.
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceBiConsumer<MethodSymbol,
org.antlr.v4.runtime.ParserRuleContext>
-