Member predicate Module::getNestedModule
Gets a module named name
declared inside this one (not aliased), provided
that such a module is defined or reopened in the current codebase.
For example, for A::B
the nested module named C
would be A::B::C
.
Note that this is not the same as constant lookup. If A::B::C
would resolve to a
module whose qualified name is not A::B::C
, then it will not be found by
this predicate.
Module getNestedModule(string name)