public ImportSymbolAlias(ImportStatement impStmt, ImportStatement.ImportBinding imp, IBlockNode parentNode) : base(impStmt, parentNode) { ImportBinding = imp; var sym = imp.Symbol; Name = (imp.Alias ?? sym).Id; NameLocation = (imp.Alias ?? sym).Location; Location = imp.Symbol.Location; Type = new IdentifierDeclaration(sym.Id) { Location = sym.Location, EndLocation = sym.EndLocation, InnerDeclaration = impStmt.ImportBindList.Module.ModuleIdentifier }; }
public virtual void Visit(IdentifierDeclaration td) { VisitInner(td); }
public ImportBinding(IdentifierDeclaration symbol, IdentifierDeclaration alias = null) { Symbol = symbol; Alias = alias; }