private function arrayDeference(Node $node) {
    while ($this->currentType === '[') {
      $n = $node;
      $node = new ArrayLookupNode();
      $node->addChild($n, 'array');
      $this->dimOffset($node);
    }
    return $node;
  }
private function arrayDeference(Node $node) {
    while ($this->currentType === '[') {
      $n = $node;
      $node = new ArrayLookupNode();
      $node->addChild($n, 'array');
      $this->dimOffset($node);
    }
    return $node;
  }
private function arrayDeference ( Node $ node ) { while ( $ this -> currentType === '[' ) { $ n = $ node ; $ node = new ArrayLookupNode ( ) ; $ node -> addChild ( $ n , 'array' ) ; $ this -> dimOffset ( $ node ) ; } return $ node ; }
Apply any array deference to operand.
@param Node $node
@return Node
Apply any array deference to operand .