@@ 2583-2583 (lines=1) @@ | ||
2580 | } |
|
2581 | ||
2582 | protected function reduceRule403() { |
|
2583 | 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)]; |
|
2584 | } |
|
2585 | ||
2586 | protected function reduceRule404() { |
|
@@ 2819-2819 (lines=1) @@ | ||
2816 | } |
|
2817 | ||
2818 | protected function reduceRule462() { |
|
2819 | 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); |
|
2820 | } |
|
2821 | ||
2822 | protected function reduceRule463() { |
|
@@ 2823-2823 (lines=1) @@ | ||
2820 | } |
|
2821 | ||
2822 | protected function reduceRule463() { |
|
2823 | 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); |
|
2824 | } |
|
2825 | ||
2826 | protected function reduceRule464() { |
@@ 2319-2319 (lines=1) @@ | ||
2316 | } |
|
2317 | ||
2318 | protected function reduceRule375() { |
|
2319 | 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)]; |
|
2320 | } |
|
2321 | ||
2322 | protected function reduceRule376() { |
|
@@ 2407-2407 (lines=1) @@ | ||
2404 | } |
|
2405 | ||
2406 | protected function reduceRule397() { |
|
2407 | 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); |
|
2408 | } |
|
2409 | ||
2410 | protected function reduceRule398() { |
|
@@ 2411-2411 (lines=1) @@ | ||
2408 | } |
|
2409 | ||
2410 | protected function reduceRule398() { |
|
2411 | 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); |
|
2412 | } |
|
2413 | ||
2414 | protected function reduceRule399() { |