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