Class SanitizedModifierOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.SanitizedModifierOrError
- All Implemented Interfaces:
Consumer<SanitizedCheckData>
final class SanitizedModifierOrError
extends TypedSymbolAccess
implements Consumer<SanitizedCheckData>
Checks if the sanitized modifier is used consistently between override and super methods.
Similar to PureModifierOrError, but for the sanitized modifier on parameters.
-
Field Summary
Fields inherited from class RuleSupport
errorListener, symbolsAndScopes -
Constructor Summary
ConstructorsConstructorDescriptionSanitizedModifierOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Methods inherited from class TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
-
Constructor Details
-
SanitizedModifierOrError
SanitizedModifierOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceConsumer<SanitizedCheckData>
-