Lines Matching refs:pattern
214 $pattern = $this->components($nodes);
218 … return $this->legacyNameAlgorithm(implode('', $pattern), $nodes[0], $nodes[count($nodes) - 1]);
222 $relationships = $this->matchRelationships($nodes, $pattern, $relationships);
259 $pattern = [];
274 $pattern[] = self::COMPONENTS[$rel1][$rel2][$next->sex()] ?? 'xxx';
277 return $pattern;
287 protected function matchRelationships(array $nodes, array $pattern, array $relationships): array argument
289 $count = count($pattern);
296 $pattern_slice = array_slice($pattern, $start, $length);
301 $pattern_before = array_slice($pattern, 0, $start);
305 $pattern_after = array_slice($pattern, $start + $length);