Lines Matching defs:lexerActions
28 private $lexerActions;
40 * @param array<LexerAction> $lexerActions
42 public function __construct(array $lexerActions)
44 $this->lexerActions = $lexerActions;
76 $lexerActions = \array_merge($lexerActionExecutor->lexerActions, [$lexerAction]);
78 return new LexerActionExecutor($lexerActions);
114 for ($i = 0, $count = \count($this->lexerActions); $i < $count; $i++) {
115 if ($this->lexerActions[$i]->isPositionDependent()
116 && !$this->lexerActions[$i] instanceof LexerIndexedCustomAction) {
118 $updatedLexerActions = \array_merge($this->lexerActions, []);
121 $updatedLexerActions[$i] = new LexerIndexedCustomAction($offset, $this->lexerActions[$i]);
139 return $this->lexerActions;
170 foreach ($this->lexerActions as $lexerAction) {
193 $this->cachedHashCode = Hasher::hash($this->lexerActions);
207 && Equality::equals($this->lexerActions, $other->lexerActions);
212 return \sprintf('LexerActionExecutor[%s]', \implode(', ', $this->lexerActions));