Home
last modified time | relevance | path

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

/PHP-Parser/lib/PhpParser/
H A DParserAbstract.php810 string $startToken, $contents, string $endToken, argument
844 if (\is_string($contents)) {
845 if ($contents === '') {
846 $attributes['rawValue'] = $contents;
850 $contents = $this->stripIndentation(
853 $contents = preg_replace('~(\r\n|\n|\r)\z~', '', $contents);
854 $attributes['rawValue'] = $contents;
857 $contents = String_::parseEscapeSequences($contents, null, $parseUnicodeEscape);
860 return new String_($contents, $attributes);
862 assert(count($contents) > 0);
[all …]

Completed in 8 milliseconds