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