Home
last modified time | relevance | path

Searched refs:concat (Results 1 – 10 of 10) sorted by relevance

/PHP-Parser/test/PhpParser/Node/
H A DNameTest.php84 $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 DBuilderFactoryTest.php74 $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 DNameResolver.php173 $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 DNameContext.php134 return FullyQualified::concat($this->namespace, $name, $name->getAttributes());
237 return FullyQualified::concat($alias, $name->slice(1), $name->getAttributes());
H A DBuilderFactory.php348 public function concat(...$exprs): Concat { function in PhpParser\\BuilderFactory
/PHP-Parser/lib/PhpParser/Node/
H A DName.php226 public static function concat($name1, $name2, array $attributes = []) { function in PhpParser\\Node\\Name
/PHP-Parser/
H A DUPGRADE-2.0.md62 deprecated. Instead `Name::concat()` and `Name->slice()` should be used.
H A DUPGRADE-3.0.md136 Use `Name::concat()` in combination with `Name::slice()` instead.
160 used. `Name::concat()` now also supports concatenation with `null`.
H A DCHANGELOG.md776 * 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 DAST_builders.markdown136 * `concat(...$exprs)`: Create a tree of `BinaryOp\Concat` nodes for the given expressions.

Completed in 18 milliseconds