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