Adds a newline to end of a token's content.
int $stackPtr The position of the token in the token stack.:
bool If the change was accepted.
public function addNewline($stackPtr) { $current = $this->getTokenContent($stackPtr); return $this->replaceToken($stackPtr, $current . $this->currentFile->eolChar); }