Package org.ek9lang.compiler.phase1
Class OuterGenericsUseOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.phase1.OuterGenericsUseOrError
Only use when code being checked prohibits use in outer generic context.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorDescriptionOuterGenericsUseOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener, ErrorListener.SemanticClassification errorClassification) Checks if this token is being used within a generic type/function - directly or indirectly. -
Method Summary
-
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