Lines Matching refs:stackPos
238 $stackPos = 0;
284 ++$stackPos;
285 $stateStack[$stackPos] = $state = $action;
286 $this->semStack[$stackPos] = $tokenValue;
287 $this->tokenStartStack[$stackPos] = $this->tokenPos;
288 $this->tokenEndStack[$stackPos] = $this->tokenPos;
323 $callback($this, $stackPos);
325 $this->semValue = $this->semStack[$stackPos - $ruleLength + 1];
338 $lastTokenEnd = $this->tokenEndStack[$stackPos];
339 $stackPos -= $ruleLength;
341 $idx = $this->gotoBase[$nonTerminal] + $stateStack[$stackPos];
348 ++$stackPos;
349 $stateStack[$stackPos] = $state;
350 $this->semStack[$stackPos] = $this->semValue;
351 $this->tokenEndStack[$stackPos] = $lastTokenEnd;
354 $this->tokenStartStack[$stackPos] = $this->tokenPos;
376 if ($stackPos <= 0) {
380 $state = $stateStack[--$stackPos];
385 ++$stackPos;
386 $stateStack[$stackPos] = $state = $action;
390 $this->tokenStartStack[$stackPos] = $this->tokenPos;
391 $this->tokenEndStack[$stackPos] = $this->tokenEndStack[$stackPos - 1];
716 * @param int $stackPos Stack location
720 protected function getAttributesAt(int $stackPos): array { argument
721 … return $this->getAttributes($this->tokenStartStack[$stackPos], $this->tokenEndStack[$stackPos]);
956 protected function inlineHtmlHasLeadingNewline(int $stackPos): bool { argument
957 $tokenPos = $this->tokenStartStack[$stackPos];