pub enum OperatorExpr {
AdjacentExpression(AdjacentExpression),
BinaryExpression(BinaryExpression),
PrefixExpression(PrefixExpression),
PostfixExpression(PostfixExpression),
}Variants§
AdjacentExpression(AdjacentExpression)
BinaryExpression(BinaryExpression)
PrefixExpression(PrefixExpression)
PostfixExpression(PostfixExpression)
Trait Implementations§
Source§impl Debug for OperatorExpr
impl Debug for OperatorExpr
Source§impl From<AdjacentExpression> for OperatorExpr
impl From<AdjacentExpression> for OperatorExpr
Source§fn from(value: AdjacentExpression) -> Self
fn from(value: AdjacentExpression) -> Self
Converts to this type from the input type.
Source§impl From<BinaryExpression> for OperatorExpr
impl From<BinaryExpression> for OperatorExpr
Source§fn from(value: BinaryExpression) -> Self
fn from(value: BinaryExpression) -> Self
Converts to this type from the input type.
Source§impl From<OperatorExpr> for Component
impl From<OperatorExpr> for Component
Source§fn from(value: OperatorExpr) -> Self
fn from(value: OperatorExpr) -> Self
Converts to this type from the input type.
Source§impl From<OperatorExpr> for Expr
impl From<OperatorExpr> for Expr
Source§fn from(value: OperatorExpr) -> Self
fn from(value: OperatorExpr) -> Self
Converts to this type from the input type.
Source§impl From<OperatorExpr> for SequenceElement
impl From<OperatorExpr> for SequenceElement
Source§fn from(value: OperatorExpr) -> Self
fn from(value: OperatorExpr) -> Self
Converts to this type from the input type.
Source§impl From<OperatorExpr> for SyntaxNode
impl From<OperatorExpr> for SyntaxNode
Source§fn from(value: OperatorExpr) -> Self
fn from(value: OperatorExpr) -> Self
Converts to this type from the input type.
Source§impl From<PostfixExpression> for OperatorExpr
impl From<PostfixExpression> for OperatorExpr
Source§fn from(value: PostfixExpression) -> Self
fn from(value: PostfixExpression) -> Self
Converts to this type from the input type.
Source§impl From<PrefixExpression> for OperatorExpr
impl From<PrefixExpression> for OperatorExpr
Source§fn from(value: PrefixExpression) -> Self
fn from(value: PrefixExpression) -> Self
Converts to this type from the input type.
Source§impl PrettyTree for OperatorExpr
impl PrettyTree for OperatorExpr
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Source§impl<N> Reconstruct<N> for OperatorExprwhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for OperatorExprwhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Source§impl ToCells for OperatorExpr
impl ToCells for OperatorExpr
Source§fn to_cells(&self, output: &mut CellStream)
fn to_cells(&self, output: &mut CellStream)
Appends this value’s global cells to
output.Source§fn to_cell_stream(&self, source_id: SourceId) -> CellStream
fn to_cell_stream(&self, source_id: SourceId) -> CellStream
Emits this value into a fresh cell stream with the requested identity.
Source§impl ToTokens for OperatorExpr
impl ToTokens for OperatorExpr
Auto Trait Implementations§
impl Freeze for OperatorExpr
impl RefUnwindSafe for OperatorExpr
impl Send for OperatorExpr
impl Sync for OperatorExpr
impl Unpin for OperatorExpr
impl UnsafeUnpin for OperatorExpr
impl UnwindSafe for OperatorExpr
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