public function offsetGet($offset)
    {
        $item = $this->nodes[$offset];

        if (is_array($item) && isset($item['kind'])) {
            $this->nodes[$offset] = $item = AST::fromArray($item);
        }

        return $item;
    }
public function offsetGet($offset)
    {
        $item = $this->nodes[$offset];

        if (is_array($item) && isset($item['kind'])) {
            $this->nodes[$offset] = $item = AST::fromArray($item);
        }

        return $item;
    }
public function offsetGet ( $ offset ) { $ item = $ this -> nodes [ $ offset ] ; if ( is_array ( $ item ) && isset ( $ item [ 'kind' ] ) ) { $ this -> nodes [ $ offset ] = $ item = AST :: fromArray ( $ item ) ; } return $ item ; }
@param mixed $offset

@return mixed
@param mixed $offset