Lines Matching refs:ParserFactory
31 use PhpParser\ParserFactory;
35 $parser = (new ParserFactory())->createForHostVersion();
38 $parser = (new ParserFactory())->createForNewestSupportedVersion();
41 $parser = (new ParserFactory())->createForVersion(PhpVersion::fromString('8.1'));
59 use PhpParser\ParserFactory;
69 $parser = (new ParserFactory())->createForHostVersion();
225 use PhpParser\ParserFactory;
230 $parser = (new ParserFactory())->createForHostVersion();
284 use PhpParser\ParserFactory;
287 $parser = (new ParserFactory())->createForHostVersion();
406 use PhpParser\ParserFactory;
414 $parser = (new ParserFactory())->createForNewestSupportedVersion();