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