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