MCPcopy
hub / github.com/rgburke/grv / BinaryExpression

Struct BinaryExpression

cmd/grv/query_parse.go:60–64  ·  view source on GitHub ↗

BinaryExpression groups an operator and two operands

Source from the content-addressed store, hash-verified

58
59// BinaryExpression groups an operator and two operands
60type BinaryExpression struct {
61 operator *Operator
62 lhs Expression
63 rhs Expression
64}
65
66// Equal returns true if this expression is equal to the provided expression
67func (operator *Operator) Equal(expression Expression) bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected