public bool AddTypes(AnalysisUnit unit, IAnalysisSet newTypes, bool enqueue = true, ProjectEntry declaringScope = null) { return(AddTypes(unit.ProjectEntry, newTypes, enqueue, declaringScope)); }
/// <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)); }
internal ModuleAnalysis(AnalysisUnit unit, ModuleEnvironmentRecord scope, IAnalysisCookie cookie) { _unit = unit; _scope = scope; _cookie = cookie; }