Home
last modified time | relevance | path

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

/PHP-Parser/grammar/
H A DrebuildParsers.php30 foreach ($parserToDefines as $name => $defines) {
34 $grammarCode = replaceIfBlocks($grammarCode, $defines);
75 function replaceIfBlocks(string $code, array $defines): string { argument
76 …eturn preg_replace_callback('/\n#if\s+(\w+)\n(.*?)\n#endif/s', function ($matches) use ($defines) {
77 $value = $defines[$matches[1]] ?? false;
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown329 All visitors must implement the `PhpParser\NodeVisitor` interface, which defines the following four
/PHP-Parser/
H A DCHANGELOG.md443 * Improved compatibility with other libraries that use forward compatibility defines for PHP tokens.

Completed in 7 milliseconds