@@ 2587-2587 (lines=1) @@ | ||
2584 | } |
|
2585 | ||
2586 | protected function reduceRule405() { |
|
2587 | foreach ($this->semStack[$this->stackPos-(1-1)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '`', false); } }; $this->semValue = $this->semStack[$this->stackPos-(1-1)]; |
|
2588 | } |
|
2589 | ||
2590 | protected function reduceRule406() { |
|
@@ 2823-2823 (lines=1) @@ | ||
2820 | } |
|
2821 | ||
2822 | protected function reduceRule464() { |
|
2823 | foreach ($this->semStack[$this->stackPos-(3-2)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '"', false); } }; $this->semValue = new Scalar\Encapsed($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); |
|
2824 | } |
|
2825 | ||
2826 | protected function reduceRule465() { |
|
@@ 2827-2827 (lines=1) @@ | ||
2824 | } |
|
2825 | ||
2826 | protected function reduceRule465() { |
|
2827 | foreach ($this->semStack[$this->stackPos-(3-2)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, null, false); } } $s->value = preg_replace('~(\r\n|\n|\r)\z~', '', $s->value); if ('' === $s->value) array_pop($this->semStack[$this->stackPos-(3-2)]);; $this->semValue = new Scalar\Encapsed($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); |
|
2828 | } |
|
2829 | ||
2830 | protected function reduceRule466() { |
@@ 2327-2327 (lines=1) @@ | ||
2324 | } |
|
2325 | ||
2326 | protected function reduceRule377() { |
|
2327 | foreach ($this->semStack[$this->stackPos-(1-1)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '`', true); } }; $this->semValue = $this->semStack[$this->stackPos-(1-1)]; |
|
2328 | } |
|
2329 | ||
2330 | protected function reduceRule378() { |
|
@@ 2415-2415 (lines=1) @@ | ||
2412 | } |
|
2413 | ||
2414 | protected function reduceRule399() { |
|
2415 | foreach ($this->semStack[$this->stackPos-(3-2)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, '"', true); } }; $this->semValue = new Scalar\Encapsed($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); |
|
2416 | } |
|
2417 | ||
2418 | protected function reduceRule400() { |
|
@@ 2419-2419 (lines=1) @@ | ||
2416 | } |
|
2417 | ||
2418 | protected function reduceRule400() { |
|
2419 | foreach ($this->semStack[$this->stackPos-(3-2)] as $s) { if ($s instanceof Node\Scalar\EncapsedStringPart) { $s->value = Node\Scalar\String_::parseEscapeSequences($s->value, null, true); } } $s->value = preg_replace('~(\r\n|\n|\r)\z~', '', $s->value); if ('' === $s->value) array_pop($this->semStack[$this->stackPos-(3-2)]);; $this->semValue = new Scalar\Encapsed($this->semStack[$this->stackPos-(3-2)], $this->startAttributeStack[$this->stackPos-(3-1)] + $this->endAttributes); |
|
2420 | } |
|
2421 | ||
2422 | protected function reduceRule401() { |