Skip to content

Commit

Permalink
add span for InExpr
Browse files Browse the repository at this point in the history
  • Loading branch information
ayman-sigma committed Dec 2, 2024
1 parent f85f242 commit e0b7e7e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ast/spans.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1259,6 +1259,11 @@ impl Spanned for Expr {
array_expr,
negated: _,
} => expr.span().union(&array_expr.span()),
Expr::InExpr {
expr,
in_expr,
negated: _,
} => expr.span().union(&in_expr.span()),
Expr::Between {
expr,
negated: _,
Expand Down

0 comments on commit e0b7e7e

Please sign in to comment.