Searched refs:defines (Results 1 – 3 of 3) sorted by relevance
30 foreach ($parserToDefines as $name => $defines) {34 $grammarCode = replaceIfBlocks($grammarCode, $defines);75 function replaceIfBlocks(string $code, array $defines): string { argument76 …eturn preg_replace_callback('/\n#if\s+(\w+)\n(.*?)\n#endif/s', function ($matches) use ($defines) {77 $value = $defines[$matches[1]] ?? false;
329 All visitors must implement the `PhpParser\NodeVisitor` interface, which defines the following four
443 * Improved compatibility with other libraries that use forward compatibility defines for PHP tokens.
Completed in 12 milliseconds