Home
last modified time | relevance | path

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

/PHP-Parser/lib/PhpParser/
H A DParserAbstract.php808 string $startToken, $contents, string $endToken, argument
842 if (\is_string($contents)) {
843 if ($contents === '') {
844 $attributes['rawValue'] = $contents;
848 $contents = $this->stripIndentation(
851 $contents = preg_replace('~(\r\n|\n|\r)\z~', '', $contents);
852 $attributes['rawValue'] = $contents;
855 $contents = String_::parseEscapeSequences($contents, null, $parseUnicodeEscape);
858 return new String_($contents, $attributes);
860 assert(count($contents) > 0);
[all …]

Completed in 7 milliseconds