Create a Tri node @arg1 [NOT] BETWEEN @arg2 AND @arg3
(operator lex.Token, arg1, arg2, arg3 Node)
| 1552 | // @arg1 [NOT] BETWEEN @arg2 AND @arg3 |
| 1553 | // |
| 1554 | func NewTriNode(operator lex.Token, arg1, arg2, arg3 Node) *TriNode { |
| 1555 | return &TriNode{Args: []Node{arg1, arg2, arg3}, Operator: operator} |
| 1556 | } |
| 1557 | func (m *TriNode) NodeType() string { return "Ternary" } |
| 1558 | func (m *TriNode) ReverseNegation() bool { |
| 1559 | m.negated = !m.negated |