Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AssignmentPattern.php

function AssignmentPattern::setRight

Sets the right node of the assignment

Parameters

Expression $right Right node:

Return value

$this

File

vendor/mck89/peast/lib/Peast/Syntax/Node/AssignmentPattern.php, line 84

Class

AssignmentPattern
A node that represents an assignment in a binding context. For example "a = b" in: var {a = b} = c

Namespace

Peast\Syntax\Node

Code

public function setRight(Expression $right) {
    $this->right = $right;
    return $this;
}
RSS feed
Powered by Drupal