ConstantNode represents a constant. Constants are predefined values like nil, true, false, array, map, etc. The parser.Parse will never generate ConstantNode, it is only generated by the optimizer.
| 115 | // The parser.Parse will never generate ConstantNode, it is only generated |
| 116 | // by the optimizer. |
| 117 | type ConstantNode struct { |
| 118 | base |
| 119 | Value any // Value of the constant. |
| 120 | } |
| 121 | |
| 122 | // UnaryNode represents a unary operator. |
| 123 | type UnaryNode struct { |
nothing calls this directly
no outgoing calls
no test coverage detected