Class FunctionOverridesOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.FunctionOverridesOrError
- All Implemented Interfaces:
 Consumer<FunctionSymbol>
Checks that the function correctly overrides the signature if it has a super.
- 
Field Summary
Fields inherited from class RuleSupport
errorListener, symbolsAndScopes - 
Constructor Summary
ConstructorsConstructorDescriptionFunctionOverridesOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new function to check overriding of super (method parameters and covariance returns). - 
Method Summary
Methods inherited from class TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol 
- 
Constructor Details
- 
FunctionOverridesOrError
FunctionOverridesOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new function to check overriding of super (method parameters and covariance returns). 
 - 
 - 
Method Details
- 
accept
- Specified by:
 acceptin interfaceConsumer<FunctionSymbol>
 
 -