Package org.ek9lang.compiler.phase3
Class MutableOrError
java.lang.Object
org.ek9lang.compiler.phase3.MutableOrError
- All Implemented Interfaces:
BiConsumer<IToken,
ISymbol>
Checks if a symbol can be mutated, this is nothing to do with a pure context.
This is just to do with it being a constant or an enumeration value for example.
These things can never be altered.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMutableOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiConsumer
andThen
-
Field Details
-
symbolsAndScopes
-
-
Constructor Details
-
MutableOrError
MutableOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceBiConsumer<IToken,
ISymbol>
-