Class UnSafeGenericAccessAnalyzer
java.lang.Object
org.ek9lang.compiler.common.CodeFlowMap
org.ek9lang.compiler.common.UnSafeGenericAccessAnalyzer
- All Implemented Interfaces:
CodeFlowAnalyzer
Checks to see if a variable has a specific generic type.
A proof of safe access can also be WITHDRAWN (withdraw(ISymbol, IScope)): code that may change the container
(forget(name) with a forget that is not pure, it.next()) leaves nothing proven about it from
that point on, in that scope and every scope later made inside it.
-
Field Summary
Fields inherited from class CodeFlowMap
SAFE_ACCESS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsymbolsMeetingAcceptableCriteria(IScope inScope) The variables proven safe to access ininScope.(package private) voidThe proof that the variable is safe to access no longer holds ininScope(nor in any scope made inside it from now on); the enclosing scopes are left as they are.
-
Constructor Details
-
UnSafeGenericAccessAnalyzer
UnSafeGenericAccessAnalyzer()
-
-
Method Details
-
withdraw
-
symbolsMeetingAcceptableCriteria
-