Lines Matching defs:BitSet
13 use Antlr\Antlr4\Runtime\Utils\BitSet;
363 * @param array<BitSet> $altsets
374 * @param array<BitSet> $altsets a collection of alternative subsets
376 * @return bool If every >BitSet in `altsets` {@see BitSet::length()} > 1,
388 * @param array<BitSet> $altsets a collection of alternative subsets
390 * @return bool `true` if `altsets` contains a {@see BitSet} with
391 * {@see BitSet::length()} 1, otherwise `false`.
408 * @param array<BitSet> $altsets a collection of alternative subsets
410 * @return bool `true` if `altsets` contains a {@see BitSet} with
411 * {@see BitSet::length()} > 1, otherwise `false`.
427 * @param array<BitSet> $altsets a collection of alternative subsets
452 * @param array<BitSet> $altsets a collection of alternative subsets
467 * alternative subsets. This method returns the union of each {@see BitSet}
470 * @param array<BitSet> $altsets a collection of alternative subsets.
472 * @return BitSet the set of represented alternatives in `altsets`.
474 public static function getAlts(array $altsets) : BitSet
476 $all = new BitSet();
492 * @return array<BitSet>
524 $alts = new BitSet();
548 $alts = new BitSet();
561 if ($value instanceof BitSet && $value->length() === 1) {
570 * @param array<BitSet> $altsets