public override bool Walk(FromImportStatement node) { var name = node.Root.MakeString(); if (!_analyzer.IsModuleResolved(_entry, name, node.ForceAbsolute)) { Imports.Add(Tuple.Create(name, node.Root)); } return(base.Walk(node)); }
public override bool Walk(FromImportStatement node) { var names = ModuleResolver.GetModuleNamesFromImport(_entry, node); foreach (var n in names) { if (!_analyzer.IsModuleResolved(_entry, n, node.ForceAbsolute)) { Diagnostics.Add(MakeUnresolvedImport(n, node.Root)); } } return(base.Walk(node)); }