Lines Matching refs:stack
64 $stack = [];
73 $stack[] = new PageSet($this->terms[$word]->getEntityFrequencies());
83 $candidates = end($stack) ?: new PageSet();
84 $stack[] = $this->matchPhrase($phrase, $this->materialize($candidates));
90 $stack[] = new NamespacePredicate($ns);
94 $right = array_pop($stack);
95 $left = array_pop($stack);
96 $stack[] = $this->opAnd($left, $right);
100 $right = array_pop($stack);
101 $left = array_pop($stack);
102 $stack[] = $this->opOr($left, $right);
106 $operand = array_pop($stack);
107 $stack[] = new NegatedEntry($operand);
112 $result = array_pop($stack) ?? new PageSet();