List<PType> copy = new ArrayList<PType>(node.getTypes()); for( PType e : copy)
List<PType> copy = new ArrayList<PType>(node.getTypes()); for( PType e : copy)
List<PType> copy = new ArrayList<PType>(node.getTypes()); for( PType e : copy)
List<PType> copy = new ArrayList<PType>(node.getTypes()); for( PType e : copy)
List<PType> copy = new ArrayList<PType>(node.getTypes()); for( PType e : copy)
@Override public PType caseASeqEnumSeqExp(ASeqEnumSeqExp node, TypeCheckInfo question) throws AnalysisException { PTypeSet ts = new PTypeSet(question.assistantFactory); node.setTypes(new LinkedList<PType>()); List<PType> types = node.getTypes(); TypeCheckInfo elemConstraint = question; if (question.constraint != null && question.assistantFactory.createPTypeAssistant().isSeq(question.constraint)) { PType stype = question.assistantFactory.createPTypeAssistant().getSeq(question.constraint).getSeqof(); elemConstraint = question.newConstraint(stype); } for (PExp ex : node.getMembers()) { question.qualifiers = null; PType mt = ex.apply(THIS, elemConstraint); ts.add(mt); types.add(mt); } node.setType(ts.isEmpty() ? AstFactory.newASeqSeqType(node.getLocation()) : AstFactory.newASeq1SeqType(node.getLocation(), ts.getType(node.getLocation()))); return question.assistantFactory.createPTypeAssistant().possibleConstraint(question.constraint, node.getType(), node.getLocation()); }
Iterator<PType> it = seq.getTypes().iterator();