alias

var alias: Name?

Some languages support the use of aliases in importing symbols, for example to avoid conflicts with already named symbols.

In case this is used, the name is also set to the value of alias, so in theory this property would be not needed, instead we could check whether name and import point to different names. However, in practice, it is easier to have this as an extra property to quickly identify imports with aliases.