final class CombinedSpacingRule
    implements SpacingRule

Intersects applicable constraints without interpreting their dialect-specific conditions.

Methods§

public function __construct(SpacingRule ...$rules)

Combines boundary conditions by intersection in registration order.

Parameters

Calls 1
public function apply(LexemeBoundary $boundary, LexemeInput $input): SpacingConstraint

Intersects all applicable constraints without allowing later rules to overwrite earlier restrictions.

Parameters

Test cases 2
Calls 1

Private surface 1§

Implementation details, listed for orientation only.

private list<SpacingRule> $rules

Test cases 65§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1
Other tests reaching this symbol 64

Relations§

Instantiated in 3