ConditionalNode represents a ternary operator or if/else operator.
| 209 | |
| 210 | // ConditionalNode represents a ternary operator or if/else operator. |
| 211 | type ConditionalNode struct { |
| 212 | base |
| 213 | Ternary bool // Is it ternary or if/else operator? |
| 214 | Cond Node // Condition |
| 215 | Exp1 Node // Expression 1 |
| 216 | Exp2 Node // Expression 2 |
| 217 | } |
| 218 | |
| 219 | // VariableDeclaratorNode represents a variable declaration. |
| 220 | type VariableDeclaratorNode struct { |
nothing calls this directly
no outgoing calls
no test coverage detected