pub enum ExprEdge<'a> {
Expr(&'a Expr),
Pattern(&'a PatternPath),
Subquery(&'a Statement),
Label(&'a LabelExpr),
}Expand description
One direct child of an Expr node, in the table’s visit order.
The visit order is part of the contract: a pattern or subquery edge comes before the node’s expression children and a label edge after them, so a walker that visits edges as they arrive reproduces the documented order without a second pass.
Variants§
Expr(&'a Expr)
An expression child: operand, argument, list/map item, CASE arm, comprehension or reduce body, subscript part, interpolation embed.
Pattern(&'a PatternPath)
The pattern of a pattern comprehension, pattern predicate or
shortestPath().
Subquery(&'a Statement)
The nested statement of an EXISTS/COUNT/COLLECT subquery.
Label(&'a LabelExpr)
The label expression of a HasLabel.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for ExprEdge<'a>
impl<'a> Freeze for ExprEdge<'a>
impl<'a> Move for ExprEdge<'a>
impl<'a> RefUnwindSafe for ExprEdge<'a>
impl<'a> Send for ExprEdge<'a>
impl<'a> Sync for ExprEdge<'a>where
RawVecInner: Sync,
Arc<str>: Sync,
BoxRaw<Expr>: Sync,
BoxRaw<PropertyAccess>: Sync,
BoxRaw<BinaryExpr>: Sync,
BoxRaw<UnaryExpr>: Sync,
BoxRaw<ComparisonExpr>: Sync,
BoxRaw<InExpr>: Sync,
BoxRaw<IsNullExpr>: Sync,
BoxRaw<IsTypeExpr>: Sync,
BoxRaw<IsNormalizedExpr>: Sync,
BoxRaw<ChronologicalCompareExpr>: Sync,
BoxRaw<StringMatchExpr>: Sync,
BoxRaw<CaseExpr>: Sync,
BoxRaw<ExistsSubqueryExpr>: Sync,
BoxRaw<CountSubqueryExpr>: Sync,
BoxRaw<CollectSubqueryExpr>: Sync,
BoxRaw<ListComprehensionExpr>: Sync,
BoxRaw<MapComprehensionExpr>: Sync,
BoxRaw<PatternComprehensionExpr>: Sync,
BoxRaw<ReduceExpr>: Sync,
BoxRaw<AllReduceExpr>: Sync,
BoxRaw<ShortestPathExpr>: Sync,
BoxRaw<SubscriptExpr>: Sync,
BoxRaw<QuantifierExpr>: Sync,
BoxRaw<HasLabelExpr>: Sync,
BoxRaw<PatternPredicateExpr>: Sync,
BoxRaw<MapProjectionExpr>: Sync,
BoxRaw<LabelExpr>: Sync,
BoxRaw<TypeExpr>: Sync,
BoxRaw<UnionPart>: Sync,
BoxRaw<Statement>: Sync,
impl<'a> Unpin for ExprEdge<'a>
impl<'a> UnsafeUnpin for ExprEdge<'a>where
&'a Expr: UnsafeUnpin,
&'a PatternPath: UnsafeUnpin,
&'a Statement: UnsafeUnpin,
&'a LabelExpr: UnsafeUnpin,
impl<'a> UnwindSafe for ExprEdge<'a>where
&'a Expr: UnwindSafe,
&'a PatternPath: UnwindSafe,
&'a Statement: UnwindSafe,
&'a LabelExpr: UnwindSafe,
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