// SPDX-License-Identifier: BUSL-1.1
//! Parsing helpers shared by `drop_sequence` and `show`.
/// Parse a DROP target from parts: extracts the name and `IF EXISTS` flag.
///
/// `skip` is the index of the first token after the command keyword
/// (e.g. `skip=2` for `DROP SEQUENCE <name>`).