protected function processOneLineComments($startIndex)
	{
		$thirdCommentString = substr($this->input, $this->index, 1);

		// kill rest of line
		$this->getNext("\n");

		if ($thirdCommentString === '@')
		{
			$endPoint = $this->index - $startIndex;
			unset($this->c);
			$char = "\n" . substr($this->input, $startIndex, $endPoint);
		}
		else
		{
			// first one is contents of $this->c
			$this->getChar();
			$char = $this->getChar();
		}

		return $char;
	}
protected function processOneLineComments($startIndex)
	{
		$thirdCommentString = substr($this->input, $this->index, 1);

		// kill rest of line
		$this->getNext("\n");

		if ($thirdCommentString === '@')
		{
			$endPoint = $this->index - $startIndex;
			unset($this->c);
			$char = "\n" . substr($this->input, $startIndex, $endPoint);
		}
		else
		{
			// first one is contents of $this->c
			$this->getChar();
			$char = $this->getChar();
		}

		return $char;
	}
protected function processOneLineComments ( $ startIndex ) { $ thirdCommentString = substr ( $ this -> input , $ this -> index , 1 ) ; // kill rest of line $ this -> getNext ( "\n" ) ; if ( $ thirdCommentString === '@' ) { $ endPoint = $ this -> index - $ startIndex ; unset ( $ this -> c ) ; $ char = "\n" . substr ( $ this -> input , $ startIndex , $ endPoint ) ; } else { // first one is contents of $this->c $ this -> getChar ( ) ; $ char = $ this -> getChar ( ) ; } return $ char ; }
Removed one line comments, with the exception of some very specific types of
conditional comments.

@param  int $startIndex The index point where "getReal" function started

@return string
Removed one line comments with the exception of some very specific types of conditional comments .