Searched refs:createForHostVersion (Results 1 – 10 of 10) sorted by relevance
15 $this->assertInstanceOf(Parser::class, $factory->createForHostVersion());
61 $parser = (new ParserFactory())->createForHostVersion();
39 public function createForHostVersion(): Parser { function in PhpParser\\ParserFactory
21 $parser = (new ParserFactory())->createForHostVersion();43 $parser = (new ParserFactory())->createForHostVersion();
21 $parser = (new ParserFactory())->createForHostVersion();
42 $parser = (new PhpParser\ParserFactory())->createForHostVersion();
82 $parser = (new ParserFactory())->createForHostVersion();
114 $parser = (new PhpParser\ParserFactory())->createForHostVersion($lexerOptions);
35 $parser = (new ParserFactory())->createForHostVersion();69 $parser = (new ParserFactory())->createForHostVersion();230 $parser = (new ParserFactory())->createForHostVersion();287 $parser = (new ParserFactory())->createForHostVersion();
37 * `createForHostVersion()`: Use this if you're parsing code for the PHP version you're running on.58 $parser = $factory->createForHostVersion();
Completed in 10 milliseconds