#[repr(C)]pub struct ExportNamedDeclaration<'gc> {
pub metadata: NodeMetadata<'gc>,
pub declaration: Option<&'gc Node<'gc>>,
pub specifiers: NodeList<'gc>,
pub source: Option<&'gc Node<'gc>>,
pub export_kind: Cell<NodeLabel>,
}Expand description
The ExportNamedDeclaration 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.
export_kind: Cell<NodeLabel>ESTree exportKind property.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'gc> !Freeze for ExportNamedDeclaration<'gc>
impl<'gc> !RefUnwindSafe for ExportNamedDeclaration<'gc>
impl<'gc> !Send for ExportNamedDeclaration<'gc>
impl<'gc> !Sync for ExportNamedDeclaration<'gc>
impl<'gc> !UnwindSafe for ExportNamedDeclaration<'gc>
impl<'gc> Unpin for ExportNamedDeclaration<'gc>
impl<'gc> UnsafeUnpin for ExportNamedDeclaration<'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