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