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