List<PType> copy = new ArrayList<PType>(node.getActualTypes()); for( PType e : copy)
List<PType> copy = new ArrayList<PType>(node.getActualTypes()); for( PType e : copy)
List<PType> copy = new ArrayList<PType>(node.getActualTypes()); for( PType e : copy)
List<PType> copy = new ArrayList<PType>(node.getActualTypes()); for( PType e : copy)
List<PType> copy = new ArrayList<PType>(node.getActualTypes()); for( PType e : copy)
@Override public SExpIR caseAFuncInstatiationExp(AFuncInstatiationExp node, IRInfo question) throws AnalysisException { PType type = node.getType(); PExp func = node.getFunction(); STypeIR typeCg = type.apply(question.getTypeVisitor(), question); SExpIR funcCg = func.apply(question.getExpVisitor(), question); AMethodInstantiationExpIR methodInst = new AMethodInstantiationExpIR(); LinkedList<PType> actualTypes = node.getActualTypes(); for (PType actualType : actualTypes) { STypeIR actualTypeCg = actualType.apply(question.getTypeVisitor(), question); if (actualTypeCg != null) { methodInst.getActualTypes().add(actualTypeCg); } else { return null; } } methodInst.setFunc(funcCg); methodInst.setType(typeCg); return methodInst; }
+ Utils.listToString(fie.getActualTypes()) + "]("; } else
func_exp.setActualTypes(cloneListType(fie.getActualTypes())); func_exp.setFunction(wrapName(measure.clone())); start = func_exp;
for (PType ptype : node.getActualTypes())
if (node.getActualTypes().size() != typeParams.size()) for (PType ptype : node.getActualTypes()) question.assistantFactory.createAImplicitFunctionDefinitionAssistant().getType(node.getImpdef(), node.getActualTypes()) : question.assistantFactory.createAExplicitFunctionDefinitionAssistant().getType(node.getExpdef(), node.getActualTypes()));