pub trait SymbolIdExt {
// Required method
fn is_module_namespace(&self) -> bool;
}Required Methods§
Sourcefn is_module_namespace(&self) -> bool
fn is_module_namespace(&self) -> bool
Returns the symbol id as a string.
Implementations on Foreign Types§
Source§impl SymbolIdExt for SymbolId
impl SymbolIdExt for SymbolId
Source§fn is_module_namespace(&self) -> bool
fn is_module_namespace(&self) -> bool
Returns true if the symbol id is the special module namespace symbol.
namespace_object_ref is always created in second times with create_facade_root_symbol_ref,
see: https://github.com/rolldown/rolldown/blob/8bc7dca5a09047b6b494e3fa7b6b7564aa465372/crates/rolldown/src/ast_scanner/mod.rs?plain=1#L156-L160