Esempio n. 1
0
 public bool AddTypes(AnalysisUnit unit, IAnalysisSet newTypes, bool enqueue = true, ProjectEntry declaringScope = null)
 {
     return(AddTypes(unit.ProjectEntry, newTypes, enqueue, declaringScope));
 }
Esempio n. 2
0
 /// <summary>
 /// Returns a possibly mutable hash set of types.  Because the set may be mutable
 /// you can only use this version if you are directly consuming the set and know
 /// that this VariableDef will not be mutated while you would be enumerating over
 /// the resulting set.
 /// </summary>
 public IAnalysisSet GetTypesNoCopy(AnalysisUnit accessor, ProjectEntry declaringScope = null)
 {
     return(GetTypesNoCopy(accessor.ProjectEntry, declaringScope));
 }
Esempio n. 3
0
 internal ModuleAnalysis(AnalysisUnit unit, ModuleEnvironmentRecord scope, IAnalysisCookie cookie)
 {
     _unit   = unit;
     _scope  = scope;
     _cookie = cookie;
 }