private function dimOffset(ArrayLookupNode $node) {
    $this->mustMatch('[', $node);
    if ($this->currentType !== ']') {
      $node->addChild($this->expr(), 'key');
    }
    $this->mustMatch(']', $node, NULL, TRUE);
  }
private function dimOffset(ArrayLookupNode $node) {
    $this->mustMatch('[', $node);
    if ($this->currentType !== ']') {
      $node->addChild($this->expr(), 'key');
    }
    $this->mustMatch(']', $node, NULL, TRUE);
  }
private function dimOffset ( ArrayLookupNode $ node ) { $ this -> mustMatch ( '[' , $ node ) ; if ( $ this -> currentType !== ']' ) { $ node -> addChild ( $ this -> expr ( ) , 'key' ) ; } $ this -> mustMatch ( ']' , $ node , NULL , TRUE ) ; }
Parse dimensional offset.
@param ArrayLookupNode $node Node to append to
Parse dimensional offset .