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