Home
last modified time | relevance | path

Searched refs:quote (Results 1 – 3 of 3) sorted by relevance

/PHP-Parser/lib/PhpParser/Node/Scalar/
H A DString_.php96 * @param null|string $quote Quote type
101 …public static function parseEscapeSequences(string $str, ?string $quote, bool $parseUnicodeEscape … argument
102 if (null !== $quote) {
103 $str = str_replace('\\' . $quote, $quote, $str);
/PHP-Parser/test/PhpParser/Node/Scalar/
H A DStringTest.php28 public function testParseEscapeSequences($expected, $string, $quote): void { argument
31 String_::parseEscapeSequences($string, $quote)
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php1051 protected function pEncapsList(array $encapsList, ?string $quote): string { argument
1055 $return .= $this->escapeString($element->value, $quote);
1073 protected function escapeString(string $string, ?string $quote): string { argument
1074 if (null === $quote) {
1084 $escaped = addcslashes($string, "\n\r\t\f\v$" . $quote . "\\");

Completed in 9 milliseconds