Rename serialized name from "alternative" to "alternate"
@@ -89,7 +89,7 @@ type IfStatement struct {
StatementNode
Condition Expression `json:"condition"` // a `bool` conditional expression.
Consequent Statement `json:"consequent"` // the statement to execute if `true`.
- Alternate *Statement `json:"alternative,omitempty"` // the optional statement to execute if `false`.
+ Alternate *Statement `json:"alternate,omitempty"` // the optional statement to execute if `false`.
}
var _ Node = (*IfStatement)(nil)
