/PHP-Parser/test/PhpParser/ |
H A D | ModifiersTest.php | 10 $this->assertSame('public', Modifiers::toString(Modifiers::PUBLIC)); 16 Modifiers::toString(Modifiers::PUBLIC | Modifiers::PROTECTED);
|
/PHP-Parser/lib/PhpParser/ |
H A D | Modifiers.php | 38 public static function toString(int $modifier): string { function in PhpParser\\Modifiers 57 'Multiple ' . self::toString($b) . ' modifiers are not allowed'); 78 'Multiple ' . self::toString($b) . ' modifiers are not allowed');
|
H A D | NameContext.php | 106 sprintf("'\\%s' is an invalid class name", $name->toString()), 189 $normalizedOrig = $this->normalizeConstName($orig->toString());
|
H A D | ParserAbstract.php | 1143 "Cannot use '" . Modifiers::toString($modifier) . "' as constant modifier", 1192 'Cannot use the ' . Modifiers::toString($b) . ' modifier on a property hook',
|
/PHP-Parser/lib/PhpParser/Node/Name/ |
H A D | FullyQualified.php | 43 return '\\' . $this->toString();
|
H A D | Relative.php | 43 return 'namespace\\' . $this->toString();
|
/PHP-Parser/test/PhpParser/NodeVisitor/ |
H A D | ParentConnectingVisitorTest.php | 24 $this->assertSame('C', $node->getAttribute('parent')->name->toString());
|
/PHP-Parser/test/PhpParser/Node/ |
H A D | IdentifierTest.php | 15 $this->assertSame('Foo', $identifier->toString());
|
H A D | NameTest.php | 33 $this->assertSame('Foo\Bar', $name->toString());
|
/PHP-Parser/lib/PhpParser/Node/ |
H A D | Identifier.php | 49 public function toString(): string { function in PhpParser\\Node\\Identifier
|
H A D | Name.php | 113 public function toString(): string { function in PhpParser\\Node\\Name 125 return $this->toString();
|
/PHP-Parser/lib/PhpParser/Node/Stmt/ |
H A D | ClassLike.php | 69 if ($prop instanceof PropertyItem && $name === $prop->name->toString()) {
|
/PHP-Parser/doc/ |
H A D | 2_Usage_of_basic_components.markdown | 460 return new Node\Name(str_replace('\\', '_', $node->toString())); 468 by underscores instead of backslashes. This is what `str_replace('\\', '_', $node->toString())` doe… 469 create a name with backslashes either write `$node->toString()` or `(string) $node`.) Then we create 484 return new Node\Name(str_replace('\\', '_', $node->toString())); 488 $node->name = str_replace('\\', '_', $node->namespacedName->toString()); 491 $const->name = str_replace('\\', '_', $const->namespacedName->toString()); 511 return new Node\Name(str_replace('\\', '_', $node->toString())); 515 $node->name = str_replace('\\', '_', $node->namespacedName->toString(); 518 $const->name = str_replace('\\', '_', $const->namespacedName->toString());
|
/PHP-Parser/doc/component/ |
H A D | Walking_the_AST.markdown | 167 && $node->expr->name->toString() === 'var_dump' 242 $node->namespacedName->toString() === 'Foo\Bar\Baz' 347 && $node->resolvedName->toString() === $name;
|
/PHP-Parser/ |
H A D | UPGRADE-3.0.md | 140 * `$separator` argument of `Name::toString()`. Use `strtr()` instead, if you really need it.
|
H A D | CHANGELOG.md | 1019 * Removed `$separator` argument from `Name::toString()`.
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 31 return ($node->name ? $node->name->toString() . ': ' : '')
|