operator < method

bool operator <(
  1. PatternPrecedence other
)

Returns true if this precedence represents a looser binding than other; that is, parsing ambiguities will be resolved in favor of nesting the pattern having precedence other within the pattern having precedence this.

Implementation

bool operator <(PatternPrecedence other) => _index < other._index;