Exemple #1
0
 protected override IAnalysisSet MakeIteratorInfo(Node n, AnalysisUnit unit)
 {
     return(new FixedIteratorValue(
                UnionType,
                BaseIteratorValue.GetIteratorTypeFromType(ClassInfo, unit)
                ));
 }
Exemple #2
0
        protected override IAnalysisSet MakeIteratorInfo(Node n, AnalysisUnit unit)
        {
            var iterType = BaseIteratorValue.GetIteratorTypeFromType(ClassInfo, unit);

            if (iterType == null)
            {
                return(AnalysisSet.Empty);
            }
            return(new IteratorValue(this, iterType));
        }