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.
  • Constructor Details

    • ContextSupportsAbstractMethodOrError

      public ContextSupportsAbstractMethodOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
      Create new.
  • Method Details

    • accept

      public void accept(MethodSymbol methodSymbol, org.antlr.v4.runtime.ParserRuleContext ctx)
      Specified by:
      accept in interface BiConsumer<MethodSymbol,org.antlr.v4.runtime.ParserRuleContext>