Defined in header <cparse/Generator.hh>

virtual void closeNamespaceScope() noexcept = 0;

Emit the language-specific scope-closer text and pop the top of namespaceNameContainer. Typically the closer names the scope (} // namespace X) using the value about to be popped.

Parameters

None.

Return value

(none)

Exceptions

noexcept. Implementations should not throw.

Notes

The subclass is responsible for pairing openNamespaceScope and closeNamespaceScope calls symmetrically. The base class does not enforce pairing — an unbalanced sequence will emit malformed output without warning.

See also