...
This commit is contained in:
@@ -48,4 +48,13 @@ public sealed class Module
|
||||
.Where(x => x.Exported || includePrivate)
|
||||
.ToList();
|
||||
}
|
||||
|
||||
public List<string> Imports()
|
||||
{
|
||||
return _definitions
|
||||
.OfType<ImportSyntax>()
|
||||
.Select(x => x.NameToken.Value)
|
||||
.Distinct()
|
||||
.ToList();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user