#[repr(C)]pub struct ExportAllDeclaration<'gc> {
pub metadata: NodeMetadata<'gc>,
pub source: &'gc Node<'gc>,
pub export_kind: Cell<NodeLabel>,
}Expand description
The ExportAllDeclaration AST node.
Fields§
§metadata: NodeMetadata<'gc>Source range, debug location, paren count, and node id.
source: &'gc Node<'gc>ESTree source property.
export_kind: Cell<NodeLabel>ESTree exportKind property.
Implementations§
Source§impl<'gc> ExportAllDeclaration<'gc>
impl<'gc> ExportAllDeclaration<'gc>
Sourcepub fn new(
metadata: NodeMetadata<'gc>,
source: &'gc Node<'gc>,
export_kind: NodeLabel,
) -> Self
pub fn new( metadata: NodeMetadata<'gc>, source: &'gc Node<'gc>, export_kind: NodeLabel, ) -> Self
Build ExportAllDeclaration from its metadata and ESTree.def fields.
Trait Implementations§
Auto Trait Implementations§
impl<'gc> !Freeze for ExportAllDeclaration<'gc>
impl<'gc> !RefUnwindSafe for ExportAllDeclaration<'gc>
impl<'gc> !Send for ExportAllDeclaration<'gc>
impl<'gc> !Sync for ExportAllDeclaration<'gc>
impl<'gc> !UnwindSafe for ExportAllDeclaration<'gc>
impl<'gc> Unpin for ExportAllDeclaration<'gc>
impl<'gc> UnsafeUnpin for ExportAllDeclaration<'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