#[repr(C)]pub struct ExportSpecifier<'gc> {
pub metadata: NodeMetadata<'gc>,
pub exported: &'gc Node<'gc>,
pub local: &'gc Node<'gc>,
}Expand description
The ExportSpecifier AST node.
Fields§
§metadata: NodeMetadata<'gc>Source range, debug location, paren count, and node id.
exported: &'gc Node<'gc>ESTree exported property.
local: &'gc Node<'gc>ESTree local property.
Implementations§
Source§impl<'gc> ExportSpecifier<'gc>
impl<'gc> ExportSpecifier<'gc>
Sourcepub fn new(
metadata: NodeMetadata<'gc>,
exported: &'gc Node<'gc>,
local: &'gc Node<'gc>,
) -> Self
pub fn new( metadata: NodeMetadata<'gc>, exported: &'gc Node<'gc>, local: &'gc Node<'gc>, ) -> Self
Build ExportSpecifier from its metadata and ESTree.def fields.
Trait Implementations§
Auto Trait Implementations§
impl<'gc> !Freeze for ExportSpecifier<'gc>
impl<'gc> !RefUnwindSafe for ExportSpecifier<'gc>
impl<'gc> !Send for ExportSpecifier<'gc>
impl<'gc> !Sync for ExportSpecifier<'gc>
impl<'gc> !UnwindSafe for ExportSpecifier<'gc>
impl<'gc> Unpin for ExportSpecifier<'gc>
impl<'gc> UnsafeUnpin for ExportSpecifier<'gc>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more