Class PositionalConceptualLookupMapping

java.lang.Object
org.ek9lang.compiler.support.PositionalConceptualLookupMapping
All Implemented Interfaces:
BiFunction<List<ISymbol>,List<ISymbol>,PositionalConceptualLookupMapping.Mapping>

public class PositionalConceptualLookupMapping extends Object implements BiFunction<List<ISymbol>,List<ISymbol>,PositionalConceptualLookupMapping.Mapping>
You may think why this mapping. It's because some 'type parameters' in the generic type may be 'concrete' and not 'conceptual'. i.e. 'type arguments' = [Integer, String, Duration] but the 'type parameters' = [Float, X, Y, Boolean, Z] - this might be the in a generic type that also has a generic type and has been parameterized with a mix of conceptual and concrete arguments. This mapping works on 'positions' in the order of both defined generic parameters and the arguments passed in during parametrisation (to concrete or other conceptual types).