pub fn classify_rule_framing_shape_with<FCloser, FUnary>(
target: &CharTarget,
rule: Option<&DcSyntaxRule>,
closer: Option<u128>,
has_trailing_after_closer: bool,
closing_opener: Option<CharTarget>,
closer_for_opener: FCloser,
is_unary_prefix_target: FUnary,
) -> Option<FramingShape>Expand description
Classifies the physical framing shape of a Document Character or Format rule,
using closer_for_opener and is_unary_prefix_target to identify inline subframes.
Returns None if rule does not conform to any recognized framing shape.