| Conditions | 3 |
| Paths | 4 |
| Total Lines | 14 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function needsSpecialProcess(Node &$previous, array &$emptyLines):bool |
||
| 14 | { |
||
| 15 | $deepest = $previous->getDeepestNode(); |
||
| 16 | //what first character to determine if escaped sequence are allowed |
||
| 17 | //if this is empty $separator depends on previous last character (escape slash) |
||
| 18 | $separator = ' '; |
||
|
|
|||
| 19 | // if ($deepest->value[-1] !== "\\") { |
||
| 20 | // $deepest->parse(($deepest->value)."\n"); |
||
| 21 | // } else { |
||
| 22 | // $this->specialProcess($previous, $emptyLines); |
||
| 23 | // } |
||
| 24 | if ($previous instanceof NodeScalar) $emptyLines[] = $this->setParent($previous->getParent()); |
||
| 25 | if ($deepest instanceof NodeLiterals) $emptyLines[] = $this->setParent($deepest); |
||
| 26 | return true; |
||
| 27 | } |
||
| 34 | } |