classes/phing/types/CommandlineMarker.php
public function getPosition()
    {
        if ($this->realPos === -1) {
            $this->realPos = ($this->outer->executable === null ? 0 : 1);
            for ($i = 0; $i < $this->position; $i++) {
                $arg = $this->outer->arguments[$i];
                $this->realPos += count($arg->getParts());
            }
        }

        return $this->realPos;
    }
public function getPosition()
    {
        if ($this->realPos === -1) {
            $this->realPos = ($this->outer->executable === null ? 0 : 1);
            for ($i = 0; $i < $this->position; $i++) {
                $arg = $this->outer->arguments[$i];
                $this->realPos += count($arg->getParts());
            }
        }

        return $this->realPos;
    }
public function getPosition ( ) { if ( $ this -> realPos === - 1 ) { $ this -> realPos = ( $ this -> outer -> executable === null ? 0 : 1 ) ; for ( $ i = 0 ; $ i < $ this -> position ; $ i ++ ) { $ arg = $ this -> outer -> arguments [ $ i ] ; $ this -> realPos += count ( $ arg -> getParts ( ) ) ; } } return $ this -> realPos ; }
Return the number of arguments that preceded this marker.

<p>The name of the executable - if set - is counted as the
very first argument.</p>
Return the number of arguments that preceded this marker .