#[repr(C)]pub struct DeclareExportDeclaration<'gc> {
pub metadata: NodeMetadata<'gc>,
pub declaration: Option<&'gc Node<'gc>>,
pub specifiers: NodeList<'gc>,
pub source: Option<&'gc Node<'gc>>,
pub default: Cell<bool>,
}Expand description
The DeclareExportDeclaration AST node.
Fields§
§metadata: NodeMetadata<'gc>Source range, debug location, paren count, and node id.
declaration: Option<&'gc Node<'gc>>ESTree declaration property.
specifiers: NodeList<'gc>ESTree specifiers property.
source: Option<&'gc Node<'gc>>ESTree source property.
default: Cell<bool>ESTree default property.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'gc> !Freeze for DeclareExportDeclaration<'gc>
impl<'gc> !RefUnwindSafe for DeclareExportDeclaration<'gc>
impl<'gc> !Send for DeclareExportDeclaration<'gc>
impl<'gc> !Sync for DeclareExportDeclaration<'gc>
impl<'gc> !UnwindSafe for DeclareExportDeclaration<'gc>
impl<'gc> Unpin for DeclareExportDeclaration<'gc>
impl<'gc> UnsafeUnpin for DeclareExportDeclaration<'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