Home
last modified time | relevance | path

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

/PHP-Parser/grammar/
H A DrebuildParsers.php22 $options = array_flip($argv); variable
23 $optionDebug = isset($options['--debug']);
24 $optionKeepTmpGrammar = isset($options['--keep-tmp-grammar']);
H A DREADME.md21 Run `php grammar/rebuildParsers.php` to rebuild the parsers. Additional options:
/PHP-Parser/test_old/
H A Drun.php29 $options = array(); variable
38 $options[$parts[0]] = $parts[1] ?? true;
48 $showProgress = !isset($options['--no-progress']);
49 $verbose = isset($options['--verbose']);
50 $phpVersion = $options['--php-version'] ?? '8.0';
/PHP-Parser/lib/PhpParser/
H A DNodeDumper.php42 * @param array $options Options (see description)
44 public function __construct(array $options = []) { argument
45 $this->dumpComments = !empty($options['dumpComments']);
46 $this->dumpPositions = !empty($options['dumpPositions']);
47 $this->dumpOtherAttributes = !empty($options['dumpOtherAttributes']);
H A DPrettyPrinterAbstract.php180 public function __construct(array $options = []) { argument
181 $this->phpVersion = $options['phpVersion'] ?? PhpVersion::fromComponents(7, 4);
183 $this->newline = $options['newline'] ?? "\n";
189 $options['shortArraySyntax'] ?? $this->phpVersion->supportsShortArraySyntax();
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DNameResolver.php37 public function __construct(?ErrorHandler $errorHandler = null, array $options = []) { argument
39 $this->preserveOriginalNames = $options['preserveOriginalNames'] ?? false;
40 $this->replaceNodes = $options['replaceNodes'] ?? true;
/PHP-Parser/test/PhpParser/
H A DPrettyPrinterTest.php21 $options = $this->parseModeLine($modeLine);
22 $version = isset($options['version']) ? PhpVersion::fromString($options['version']) : null;
/PHP-Parser/doc/
H A DREADME.md21 * Name resolver options
H A D2_Usage_of_basic_components.markdown49 The `createXYZ()` methods optionally accept an array of lexer options. Some use cases that require
50 customized lexer options are discussed in the [lexer documentation](component/Lexer.markdown).
/PHP-Parser/
H A DUPGRADE-3.0.md130 ### Removed methods, arguments, options
132 The following methods, arguments or options have been removed:
H A DREADME.md205 * Name resolver options
H A Dphpstan-baseline.neon94 …message: "#^Method PhpParser\\\\NodeDumper\\:\\:__construct\\(\\) has parameter \\$options with no…
H A DUPGRADE-5.0.md30 * The `PhpParser\ParserFactory::ONLY_PHP5` and `PREFER_PHP5` options have been removed.
495 … been moved from the lexer to the parser. The lexer no longer accepts an options array. The `usedA…
H A DCHANGELOG.md94 * The `Lexer` no longer accepts options. `Lexer\Emulative` only accepts a `PhpVersion`. The
1089 * Added `-h` and `--help` options to `php-parse` script.
/PHP-Parser/doc/component/
H A DPretty_printing.markdown35 integer should be printed as decimal, hexadecimal, etc). Additionally, it supports three options:

Completed in 61 milliseconds