Home
last modified time | relevance | path

Searched refs:identifier (Results 1 – 4 of 4) sorted by relevance

/PHP-Parser/test/PhpParser/Node/
H A DIdentifierTest.php12 $identifier = new Identifier('Foo');
14 $this->assertSame('Foo', (string) $identifier);
15 $this->assertSame('Foo', $identifier->toString());
16 $this->assertSame('foo', $identifier->toLowerString());
20 public function testIsSpecialClassName($identifier, $expected): void { argument
21 $identifier = new Identifier($identifier);
22 $this->assertSame($expected, $identifier->isSpecialClassName());
/PHP-Parser/test/code/parser/stmt/class/
H A DshortEchoAsIdentifier.test1 Short echo syntax cannot be used as an identifier
10 Cannot use "<?=" as an identifier from 4:17 to 4:19
/PHP-Parser/test/code/formatPreservation/
H A DdelAfterIdentifier.test1 DEL after identifier
/PHP-Parser/test/PhpParser/
H A DBuilderHelpersTest.php46 $identifier = new Node\Identifier('fn');
47 $this->assertSame($identifier, BuilderHelpers::normalizeIdentifier($identifier));
48 $this->assertEquals($identifier, BuilderHelpers::normalizeIdentifier('fn'));
56 $identifier = new Node\Identifier('fn');
57 $this->assertSame($identifier, BuilderHelpers::normalizeIdentifierOrExpr($identifier));
61 $this->assertEquals($identifier, BuilderHelpers::normalizeIdentifierOrExpr('fn'));

Completed in 17 milliseconds