Searched refs:concat (Results 1 – 10 of 10) sorted by relevance
/PHP-Parser/test/PhpParser/Node/ |
H A D | NameTest.php | 84 $this->assertEquals(new Name('foo\bar\baz'), Name::concat('foo', 'bar\baz')); 87 Name\FullyQualified::concat(['foo'], new Name('bar')) 93 Name\Relative::concat(new Name\FullyQualified('foo\bar'), 'baz', $attributes) 96 $this->assertEquals(new Name('foo'), Name::concat(null, 'foo')); 97 $this->assertEquals(new Name('foo'), Name::concat('foo', null)); 98 $this->assertNull(Name::concat(null, null)); 134 Name::concat('foo', new \stdClass());
|
/PHP-Parser/test/PhpParser/ |
H A D | BuilderFactoryTest.php | 74 $factory->concat($varA, $varB) 78 $factory->concat($varA, $varB, $varC) 82 $factory->concat("a", $varB, "c") 89 (new BuilderFactory())->concat("a"); 95 (new BuilderFactory())->concat("a", 42);
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | NameResolver.php | 173 $name = $prefix ? Name::concat($prefix, $use->name) : $use->name; 227 $name->setAttribute('namespacedName', FullyQualified::concat( 247 $name->setAttribute('namespacedName', FullyQualified::concat( 257 $node->namespacedName = Name::concat(
|
/PHP-Parser/lib/PhpParser/ |
H A D | NameContext.php | 134 return FullyQualified::concat($this->namespace, $name, $name->getAttributes()); 237 return FullyQualified::concat($alias, $name->slice(1), $name->getAttributes());
|
H A D | BuilderFactory.php | 348 public function concat(...$exprs): Concat { function in PhpParser\\BuilderFactory
|
/PHP-Parser/lib/PhpParser/Node/ |
H A D | Name.php | 226 public static function concat($name1, $name2, array $attributes = []) { function in PhpParser\\Node\\Name
|
/PHP-Parser/ |
H A D | UPGRADE-2.0.md | 62 deprecated. Instead `Name::concat()` and `Name->slice()` should be used.
|
H A D | UPGRADE-3.0.md | 136 Use `Name::concat()` in combination with `Name::slice()` instead. 160 used. `Name::concat()` now also supports concatenation with `null`.
|
H A D | CHANGELOG.md | 776 * Added `BuilderFactory` methods: `val()` method for creating an AST for a simple value, `concat()` 1010 used. `Name::concat()` now also supports concatenation with `null`. 1015 the immutable `Name::concat()`. 1223 * Added `Name::concat()` which concatenates two names. 1232 deprecated in favor of `Name::concat()` and `Name->slice()`.
|
/PHP-Parser/doc/component/ |
H A D | AST_builders.markdown | 136 * `concat(...$exprs)`: Create a tree of `BinaryOp\Concat` nodes for the given expressions.
|
Completed in 27 milliseconds