qualifiedName property
String
get
qualifiedName
Returns the name of this node prefixed by the qualifiedName of its parent.
Implementation
String get qualifiedName {
var prefix = '';
// Do not include root name or package name (library uri already contains
// package name).
final p = parent;
if (p != null && p.parent != null && p.type != NodeType.packageNode) {
prefix = p.qualifiedName;
if (p.type != NodeType.libraryNode) {
prefix += '.';
} else {
prefix += '::';
}
}
return '$prefix$name';
}