Home
last modified time | relevance | path

Searched refs:adaptation (Results 1 – 2 of 2) sorted by relevance

/PHP-Parser/lib/PhpParser/Builder/
H A DTraitUse.php46 public function with($adaptation) { argument
47 $adaptation = BuilderHelpers::normalizeNode($adaptation);
49 if (!$adaptation instanceof Stmt\TraitUseAdaptation) {
53 $this->adaptations[] = $adaptation;
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DNameResolver.php154 foreach ($node->adaptations as $adaptation) {
155 if (null !== $adaptation->trait) {
156 $adaptation->trait = $this->resolveClassName($adaptation->trait);
159 if ($adaptation instanceof Stmt\TraitUseAdaptation\Precedence) {
160 foreach ($adaptation->insteadof as &$insteadof) {

Completed in 11 milliseconds