#[repr(C)]pub struct ContinueStatement<'gc> {
pub metadata: NodeMetadata<'gc>,
pub label: Option<&'gc Node<'gc>>,
pub label_index: Cell<u32>,
}Expand description
The ContinueStatement AST node.
Fields§
§metadata: NodeMetadata<'gc>Source range, debug location, paren count, and node id.
label: Option<&'gc Node<'gc>>ESTree label property.
label_index: Cell<u32>Sema: label index; INVALID_LABEL until set.
Implementations§
Source§impl<'gc> ContinueStatement<'gc>
impl<'gc> ContinueStatement<'gc>
Sourcepub fn new(metadata: NodeMetadata<'gc>, label: Option<&'gc Node<'gc>>) -> Self
pub fn new(metadata: NodeMetadata<'gc>, label: Option<&'gc Node<'gc>>) -> Self
Build ContinueStatement from its metadata and ESTree.def fields.
Decoration fields start at their defaults.
Trait Implementations§
Auto Trait Implementations§
impl<'gc> !Freeze for ContinueStatement<'gc>
impl<'gc> !RefUnwindSafe for ContinueStatement<'gc>
impl<'gc> !Send for ContinueStatement<'gc>
impl<'gc> !Sync for ContinueStatement<'gc>
impl<'gc> !UnwindSafe for ContinueStatement<'gc>
impl<'gc> Unpin for ContinueStatement<'gc>
impl<'gc> UnsafeUnpin for ContinueStatement<'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