public string[] GetIncludes(Function f) { var types = new HashSet <DataType>(); var includes = new HashSet <string>(); Add(types, _backend.GetDependencies(f)); foreach (var t in types) { includes.Add(_backend.GetIncludeFilename(t)); } var result = includes.ToArray(); Array.Sort(result); return(result); }
public override string GetInclude(Source src, DataType dt) { return(_backend.GetIncludeFilename(dt)); }