Class SafeSymbolMarker
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase5.AbstractSafeSymbolMarker
org.ek9lang.compiler.phase5.SafeSymbolMarker
- All Implemented Interfaces:
BiConsumer<ISymbol,
IScope>
It may be that before calling this you have determined that 'isSet' has been called or you 'know' that
the value of the variable is present and set. This is particularly useful for Optional and Result types.
because it means that if we 'know' the Optional/Result 'isSet' then we can allow the ek9 developer
direct access to 'get()' and 'ok()' without any further checks.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.phase5.AbstractSafeSymbolMarker
iteratorTypeCheck, optionalTypeCheck, resultTypeCheck
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorsConstructorDescriptionSafeSymbolMarker
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Methods inherited from class org.ek9lang.compiler.phase5.AbstractSafeSymbolMarker
assessIsSetCall
Methods inherited from class org.ek9lang.compiler.common.TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
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
-
Constructor Details
-
SafeSymbolMarker
SafeSymbolMarker(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
accept
-