public function toString() {
		$result = "";
		$result .= "line : " . $this->line;
		$result .= ", pos : " . $this->position;
		$result .= ", id : " . $this->getName($this->id);

		// Rename some special chars
		$text = str_replace("\r\n", "\\r\\n", $this->text);
		$text = str_replace("\r", "\\r", $text);
		$text = str_replace("\n", "\\n", $text);

		$result .= ", text : " . $text;
		return $result;
	}
public function toString() {
		$result = "";
		$result .= "line : " . $this->line;
		$result .= ", pos : " . $this->position;
		$result .= ", id : " . $this->getName($this->id);

		// Rename some special chars
		$text = str_replace("\r\n", "\\r\\n", $this->text);
		$text = str_replace("\r", "\\r", $text);
		$text = str_replace("\n", "\\n", $text);

		$result .= ", text : " . $text;
		return $result;
	}
public function toString ( ) { $ result = "" ; $ result .= "line : " . $ this -> line ; $ result .= ", pos : " . $ this -> position ; $ result .= ", id : " . $ this -> getName ( $ this -> id ) ; // Rename some special chars
 $ text = str_replace ( "\r\n" , "\\r\\n" , $ this -> text ) ; $ text = str_replace ( "\r" , "\\r" , $ text ) ; $ text = str_replace ( "\n" , "\\n" , $ text ) ; $ result .= ", text : " . $ text ; return $ result ; }
Return a string representation of the token.

@return String
Return a string representation of the token .