Class MarkAppropriateSymbolsSafe
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase5.MarkAppropriateSymbolsSafe
- All Implemented Interfaces:
BiConsumer<EK9Parser.ExpressionContext,IScope>
class MarkAppropriateSymbolsSafe
extends TypedSymbolAccess
implements BiConsumer<EK9Parser.ExpressionContext,IScope>
Once an expression has been assesed as being simple enough to process, this
consumer is called to mark the appropriate symbol(s) used in the expression as safe if the
appropriate methods are called.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMarkAppropriateSymbolsSafe(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Constructor to provided typed access. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(EK9Parser.ExpressionContext ctx, IScope scopeMadeSafe) Methods inherited from class org.ek9lang.compiler.common.TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbolMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiConsumer
andThen
-
Constructor Details
-
MarkAppropriateSymbolsSafe
protected MarkAppropriateSymbolsSafe(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Constructor to provided typed access.
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceBiConsumer<EK9Parser.ExpressionContext,IScope>
-