Searched refs:options (Results 1 – 15 of 15) sorted by relevance
22 $options = array_flip($argv); variable23 $optionDebug = isset($options['--debug']);24 $optionKeepTmpGrammar = isset($options['--keep-tmp-grammar']);
21 Run `php grammar/rebuildParsers.php` to rebuild the parsers. Additional options:
29 $options = array(); variable38 $options[$parts[0]] = $parts[1] ?? true;48 $showProgress = !isset($options['--no-progress']);49 $verbose = isset($options['--verbose']);50 $phpVersion = $options['--php-version'] ?? '8.0';
42 * @param array $options Options (see description)44 public function __construct(array $options = []) { argument45 $this->dumpComments = !empty($options['dumpComments']);46 $this->dumpPositions = !empty($options['dumpPositions']);47 $this->dumpOtherAttributes = !empty($options['dumpOtherAttributes']);
180 public function __construct(array $options = []) { argument181 $this->phpVersion = $options['phpVersion'] ?? PhpVersion::fromComponents(7, 4);183 $this->newline = $options['newline'] ?? "\n";189 $options['shortArraySyntax'] ?? $this->phpVersion->supportsShortArraySyntax();
37 public function __construct(?ErrorHandler $errorHandler = null, array $options = []) { argument39 $this->preserveOriginalNames = $options['preserveOriginalNames'] ?? false;40 $this->replaceNodes = $options['replaceNodes'] ?? true;
21 $options = $this->parseModeLine($modeLine);22 $version = isset($options['version']) ? PhpVersion::fromString($options['version']) : null;
21 * Name resolver options
49 The `createXYZ()` methods optionally accept an array of lexer options. Some use cases that require50 customized lexer options are discussed in the [lexer documentation](component/Lexer.markdown).
130 ### Removed methods, arguments, options132 The following methods, arguments or options have been removed:
205 * Name resolver options
94 …message: "#^Method PhpParser\\\\NodeDumper\\:\\:__construct\\(\\) has parameter \\$options with no…
30 * 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…
94 * The `Lexer` no longer accepts options. `Lexer\Emulative` only accepts a `PhpVersion`. The1089 * Added `-h` and `--help` options to `php-parse` script.
35 integer should be printed as decimal, hexadecimal, etc). Additionally, it supports three options:
Completed in 61 milliseconds