protected function readSlash() {
        if ($this->currentPosition + 1 < $this->codeLength) {
            $nextChar = $this->code{$this->currentPosition + 1};
            if ($nextChar === '/') {
                $this->skipUntil("\n");
            } elseif ($nextChar === '*') {
                $this->skipUntil('*/');
            }
        }
    }
protected function readSlash() {
        if ($this->currentPosition + 1 < $this->codeLength) {
            $nextChar = $this->code{$this->currentPosition + 1};
            if ($nextChar === '/') {
                $this->skipUntil("\n");
            } elseif ($nextChar === '*') {
                $this->skipUntil('*/');
            }
        }
    }
protected function readSlash ( ) { if ( $ this -> currentPosition + 1 < $ this -> codeLength ) { $ nextChar = $ this -> code { $ this -> currentPosition + 1 } ; if ( $ nextChar === '/' ) { $ this -> skipUntil ( "\n" ) ; } elseif ( $ nextChar === '*' ) { $ this -> skipUntil ( '*/' ) ; } } }
Reads and handles a slash in the code.
Reads and handles a slash in the code .