Class OuterGenericsUseOrError

java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.phase1.OuterGenericsUseOrError
All Implemented Interfaces:
Consumer<IToken>

final class OuterGenericsUseOrError extends RuleSupport implements Consumer<IToken>
Only use when code being checked prohibits use in outer generic context.
  • Constructor Details

    • OuterGenericsUseOrError

      OuterGenericsUseOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener, ErrorListener.SemanticClassification errorClassification)
      Checks if this token is being used within a generic type/function - directly or indirectly. If it is being run within a generic type/function the configured error is issued.
  • Method Details