Package org.ek9lang.compiler.support
Class AccessGenericInGeneric
java.lang.Object
org.ek9lang.compiler.support.AccessGenericInGeneric
- All Implemented Interfaces:
Function<ISymbol,
Optional<GenericInGenericData>>
public class AccessGenericInGeneric
extends Object
implements Function<ISymbol,Optional<GenericInGenericData>>
Uses the symbol and scope management to traverse back up stack to determine if
the outer parent is a generic type or not and also if this symbol passed in is a generic type.
If so provides the GenericInGenericData structure - else empty.
-
Constructor Details
-
AccessGenericInGeneric
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<ISymbol,
Optional<GenericInGenericData>>
-