MCPcopy Create free account
hub / github.com/PRQL/prql / associativity

Method associativity

prqlc/prqlc/src/sql/gen_expr.rs:1085–1091  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1083 }
1084 }
1085 fn associativity(&self) -> Associativity {
1086 match self {
1087 sql_ast::Expr::BinaryOp { op, .. } => op.associativity(),
1088 sql_ast::Expr::UnaryOp { op, .. } => op.associativity(),
1089 _ => Associativity::Both,
1090 }
1091 }
1092}
1093
1094impl SQLExpression for BinaryOperator {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected