protected override void HandleItem(PackageSymbol pack) { if (addedPackageSymbolNames.Contains (pack.Package.NameHash)) return; addedPackageSymbolNames.Add (pack.Package.NameHash); gen.AddPackage (pack.Package.Name); }
public ModuleSymbol(DModule mod, ISyntaxRegion td, PackageSymbol packageBase = null) : base(mod, packageBase, (IEnumerable<TemplateParameterSymbol>)null, td) { }
protected override bool HandleItem(PackageSymbol pack) { gen.AddPackage(pack.Package.Name); return false; }
public void VisitPackageSymbol(PackageSymbol t) { sb.Append(t.Package.Path); }
public ModuleSymbol(DModule mod, ISyntaxRegion td, PackageSymbol packageBase = null) : base(mod, packageBase, (IEnumerable <TemplateParameterSymbol>)null, td) { }
public ModuleSymbol(DModule mod, ISyntaxRegion td, PackageSymbol packageBase = null) : base(mod, packageBase, (Dictionary<string, TemplateParameterSymbol>)null, td) { }
public void VisitPackageSymbol(PackageSymbol mpr) { foreach (var kv in mpr.Package.Packages) CompletionDataGenerator.AddPackage(kv.Value.Name); foreach (var kv in mpr.Package.Modules) CompletionDataGenerator.AddModule(kv.Value); }
protected override bool HandleItem(PackageSymbol pack) { return false; }
public ModuleSymbol(DModule mod, ISyntaxRegion td, PackageSymbol packageBase = null) : base(mod, packageBase, (Dictionary <string, TemplateParameterSymbol>)null, td) { }
void BuildCompletionData(PackageSymbol mpr) { foreach (var kv in mpr.Package.Packages) CompletionDataGenerator.Add(kv.Key); foreach (var kv in mpr.Package.Modules) CompletionDataGenerator.Add(kv.Key, kv.Value); }
public ITypeDeclaration VisitPackageSymbol(PackageSymbol t) { return(null); }