private function newNode( $pStart, $pEnd ) {
        $this->nodes[++$this->currentNode] = new Node( $pStart, $pEnd, $this->currentNode );
        
        return $this->currentNode;
    }
private function newNode( $pStart, $pEnd ) {
        $this->nodes[++$this->currentNode] = new Node( $pStart, $pEnd, $this->currentNode );
        
        return $this->currentNode;
    }
private function newNode ( $ pStart , $ pEnd ) { $ this -> nodes [ ++ $ this -> currentNode ] = new Node ( $ pStart , $ pEnd , $ this -> currentNode ) ; return $ this -> currentNode ; }
Creates as new node with given start and end indexes. Increases
the current node by one.
@param  integer $pStart Start index of node in string represented
by this tree
@param  integer $pEnd   End index of node in string represented
by this tree
@return integer         Index of the current node
Creates as new node with given start and end indexes . Increases the current node by one .