Home
last modified time | relevance | path

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

/PHP-Parser/lib/PhpParser/
H A DParserFactory.php14 public function createForVersion(PhpVersion $version): Parser { function in PhpParser\\ParserFactory
32 return $this->createForVersion(PhpVersion::getNewestSupported());
40 return $this->createForVersion(PhpVersion::getHostVersion());
/PHP-Parser/test/PhpParser/
H A DCodeParsingTest.php25 return $factory->createForVersion($version);
/PHP-Parser/bin/
H A Dphp-parse29 $parser = (new PhpParser\ParserFactory())->createForVersion($attributes['version']);
/PHP-Parser/
H A DUPGRADE-5.0.md38 * `createForVersion()`: Use this if you know the PHP version of the code you want to parse.
63 $parser = $factory->createForVersion(PhpVersion::fromString("5.6"));
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown41 $parser = (new ParserFactory())->createForVersion(PhpVersion::fromString('8.1'));

Completed in 13 milliseconds