//! Leading-call-head extraction — the field pair that keeps the Harn walk off
//! the regex path.
use ident_length;
use CallHead;
/// The leading call head of `text`: an identifier immediately followed, modulo
/// inline whitespace, by `(` or `{`.
///
/// `None` when `text` does not open that way — including when it opens with an
/// identifier that no separator follows, because a bare word is narration, not
/// a call head. Whether `name` is a registered tool is deliberately not
/// answered here; that is policy, and policy lives in Harn.
pub