Lines Matching refs:parents
20 public $parents;
31 * @param array<PredictionContext|null> $parents
34 public function __construct(array $parents, array $returnStates)
38 $this->parents = $parents;
48 * @param array<PredictionContext|null> $parents
50 public function withParents(array $parents) : self
53 $clone->parents = $parents;
71 return $this->parents[$index];
93 return Equality::equals($this->parents, $other->parents);
115 if ($this->parents[$i] !== null) {
116 $string .= ' ' . $this->parents[$i];
127 return Hasher::hash($this->parents, $this->returnStates);