operator < method

bool operator <(
  1. Precedence other
)

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

Implementation

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