MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / BinaryExpr

Struct BinaryExpr

pkg/sql/sem/tree/expr.go:1114–1120  ·  view source on GitHub ↗

BinaryExpr represents a binary value expression.

Source from the content-addressed store, hash-verified

1112
1113// BinaryExpr represents a binary value expression.
1114type BinaryExpr struct {
1115 Operator BinaryOperator
1116 Left, Right Expr
1117
1118 typeAnnotation
1119 fn *BinOp
1120}
1121
1122// TypedLeft returns the BinaryExpr's left expression as a TypedExpr.
1123func (node *BinaryExpr) TypedLeft() TypedExpr {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected