HTDeclarationNamespace<T> constructor
HTDeclarationNamespace<T> ({
- String? id,
- String? classId,
- HTDeclarationNamespace? closure,
- HTSource? source,
- required HTLexicon lexicon,
Implementation
HTDeclarationNamespace({
super.id,
super.classId,
super.closure,
super.source,
required this.lexicon,
}) {
// calculate the full name of this namespace
_fullName = displayName;
var curSpace = closure;
while (curSpace != null) {
_fullName = '${curSpace.displayName}.$fullName';
curSpace = curSpace.closure;
}
}