Extracts the phrase literal(s) that may occupy the leading phrase position
of an assertion — the first argument immediately after the subject in an
expect()/expectAsync() call.
The leading phrase is Parts[0] for phrase-first assertions (both single
literals and choices) and
Parts[1] for subject-first assertions, where Parts[0] is the subject
schema. The readonly string[] branch is what lets const-captured choice
tuples be recognized as phrases (they are not assignable to the mutable
PhraseLiteralChoice). Non-phrase parts resolve to never.
Extracts the phrase literal(s) that may occupy the leading phrase position of an assertion — the first argument immediately after the subject in an
expect()/expectAsync()call.The leading phrase is
Parts[0]for phrase-first assertions (both single literals and choices) andParts[1]for subject-first assertions, whereParts[0]is the subject schema. Thereadonly string[]branch is what letsconst-captured choice tuples be recognized as phrases (they are not assignable to the mutable PhraseLiteralChoice). Non-phrase parts resolve tonever.