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 RuleSupport
errorListener, symbolsAndScopes -
Constructor Summary
ConstructorsConstructorDescriptionContextSupportsAbstractMethodOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create new. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(MethodSymbol methodSymbol, org.antlr.v4.runtime.ParserRuleContext ctx) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiConsumer
andThen
-
Constructor Details
-
ContextSupportsAbstractMethodOrError
public ContextSupportsAbstractMethodOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create new.
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceBiConsumer<MethodSymbol, org.antlr.v4.runtime.ParserRuleContext>
-