MCPcopy Create free account
hub / github.com/expr-lang/expr / BinaryNode

Struct BinaryNode

ast/node.go:130–135  ·  view source on GitHub ↗

BinaryNode represents a binary operator.

Source from the content-addressed store, hash-verified

128
129// BinaryNode represents a binary operator.
130type BinaryNode struct {
131 base
132 Operator string // Operator of the binary operator. Like "+" in "foo + bar" or "matches" in "foo matches bar".
133 Left Node // Left node of the binary operator.
134 Right Node // Right node of the binary operator.
135}
136
137// ChainNode represents an optional chaining group.
138// A few MemberNode nodes can be chained together,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected