Beispiel #1
0
 public override IAnalysisSet GetMember(Node node, AnalysisUnit unit, string name)
 {
     if (name == _name)
     {
         _values.AddDependency(unit);
         return(_values.Types);
     }
     return(AnalysisSet.Empty);
 }
Beispiel #2
0
        public override IAnalysisSet GetEnumeratorTypes(Node node, AnalysisUnit unit)
        {
            Yields.AddDependency(unit);

            return(Yields.Types);
        }
Beispiel #3
0
 public override IAnalysisSet Await(Node node, AnalysisUnit unit)
 {
     Returns.AddDependency(unit);
     return(Returns.GetTypesNoCopy(unit, DeclaringModule));
 }
        public override IAnalysisSet GetReturnForYieldFrom(Node node, AnalysisUnit unit)
        {
            Returns.AddDependency(unit);

            return(Returns.Types);
        }
Beispiel #5
0
 public override IAnalysisSet Await(Node node, AnalysisUnit unit)
 {
     Returns.AddDependency(unit);
     return(Returns.TypesNoCopy);
 }