func (stmt *SetZoneConfig) walkStmt(v Visitor) Statement {
	ret := stmt
	if stmt.YAMLConfig != nil {
		e, changed := WalkExpr(v, stmt.YAMLConfig)
		if changed {
			newStmt := *stmt
			ret = &newStmt
			ret.YAMLConfig = e
		}
	}
	if stmt.Options != nil {
		newOpts, changed := walkKVOptions(v, stmt.Options)
		if changed {
			if ret == stmt {
				newStmt := *stmt
				ret = &newStmt
			}
			ret.Options = newOpts
		}
	}
	return ret
}
// walkStmt is part of the walkableStmt interface.
walkStmt is part of the walkableStmt interface.
// walkStmt is part of the walkableStmt interface .
func (stmt *SetZoneConfig) walkStmt(v Visitor) Statement {
	ret := stmt
	if stmt.YAMLConfig != nil {
		e, changed := WalkExpr(v, stmt.YAMLConfig)
		if changed {
			newStmt := *stmt
			ret = &newStmt
			ret.YAMLConfig = e
		}
	}
	if stmt.Options != nil {
		newOpts, changed := walkKVOptions(v, stmt.Options)
		if changed {
			if ret == stmt {
				newStmt := *stmt
				ret = &newStmt
			}
			ret.Options = newOpts
		}
	}
	return ret
}
func ( stmt * SetZoneConfig ) walkStmt ( v Visitor ) Statement { ret := stmt if stmt . YAMLConfig != nil { e , changed := WalkExpr ( v , stmt . YAMLConfig ) if changed { newStmt := * stmt ret = & newStmt ret . YAMLConfig = e } } if stmt . Options != nil { newOpts , changed := walkKVOptions ( v , stmt . Options ) if changed { if ret == stmt { newStmt := * stmt ret = & newStmt } ret . Options = newOpts } } return ret }
walkStmt is part of the walkableStmt interface.
walkStmt is part of the walkableStmt interface .