Home
last modified time | relevance | path

Searched refs:Interface_ (Results 1 – 18 of 18) sorted by relevance

/PHP-Parser/test/PhpParser/Builder/
H A DInterfaceTest.php18 return new Interface_('Contract');
28 $this->assertInstanceOf(Stmt\Interface_::class, $contract);
36 new Stmt\Interface_('Contract', [
79 $this->assertEquals(new Stmt\Interface_('Contract', [], [
95 $this->assertEquals(new Stmt\Interface_('Contract', [
H A DNamespaceTest.php16 $stmt2 = new Stmt\Interface_('SomeInterface');
/PHP-Parser/test/PhpParser/Node/Stmt/
H A DInterfaceTest.php14 $interface = new Interface_('Foo', [
32 $class = new Interface_('Foo', [
/PHP-Parser/lib/PhpParser/Builder/
H A DInterface_.php11 class Interface_ extends Declaration { class
88 return new Stmt\Interface_($this->name, [
/PHP-Parser/lib/PhpParser/Node/Stmt/
H A DInterface_.php7 class Interface_ extends ClassLike { class
/PHP-Parser/lib/PhpParser/
H A DBuilderFactory.php56 public function interface(string $name): Builder\Interface_ {
57 return new Builder\Interface_($name);
H A DPrettyPrinterAbstract.php1541 Stmt\Interface_::class . '->extends' => ', ',
1560 Stmt\Interface_::class . '->stmts' => "\n",
1579 Stmt\Interface_::class . '->attrGroups' => "\n",
1626 Stmt\Interface_::class . '->extends' => [null, ' extends ', ''],
1628 Stmt\Interface_::class . '->attrGroups' => [null, '', "\n"],
H A DParserAbstract.php29 use PhpParser\Node\Stmt\Interface_; alias
1103 protected function checkInterface(Interface_ $node, int $namePos): void {
/PHP-Parser/
H A DUPGRADE-4.0.md35 * `Stmt\Interface_::$name`
H A DCHANGELOG.md435 support attributes, i.e. `Stmt\Class_`, `Stmt\Trait_`, `Stmt\Interface_`, `Stmt\Function_`,
/PHP-Parser/test/PhpParser/NodeVisitor/
H A DNameResolverTest.php367 new Stmt\Interface_('B'),
/PHP-Parser/test/PhpParser/
H A DBuilderFactoryTest.php27 ['interface', Builder\Interface_::class],
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DNameResolver.php81 } elseif ($node instanceof Stmt\Interface_) {
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown486 || $node instanceof Stmt\Interface_
513 || $node instanceof Stmt\Interface_
/PHP-Parser/grammar/
H A Dphp.y488 { $$ = Stmt\Interface_[$3, ['extends' => $4, 'stmts' => $6, 'attrGroups' => $1]];
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php779 protected function pStmt_Interface(Stmt\Interface_ $node): string {
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php1623 …$self->semValue = new Stmt\Interface_($self->semStack[$stackPos-(7-3)], ['extends' => $self->semSt…
H A DPhp8.php1618 …$self->semValue = new Stmt\Interface_($self->semStack[$stackPos-(7-3)], ['extends' => $self->semSt…

Completed in 68 milliseconds