BinaryNode represents a binary operator.
| 128 | |
| 129 | // BinaryNode represents a binary operator. |
| 130 | type 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, |
nothing calls this directly
no outgoing calls
no test coverage detected