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