private function setSource(string $newSource): void
    {
        $rawTokens = token_get_all($newSource);
        foreach ($rawTokens as $index => $rawToken) {
            $this->tokenStream[$index] = is_array($rawToken) ? $rawToken : [T_STRING, $rawToken];
        }
    }
private function setSource(string $newSource): void
    {
        $rawTokens = token_get_all($newSource);
        foreach ($rawTokens as $index => $rawToken) {
            $this->tokenStream[$index] = is_array($rawToken) ? $rawToken : [T_STRING, $rawToken];
        }
    }
private function setSource ( string $ newSource ) : void { $ rawTokens = token_get_all ( $ newSource ) ; foreach ( $ rawTokens as $ index => $ rawToken ) { $ this -> tokenStream [ $ index ] = is_array ( $ rawToken ) ? $ rawToken : [ T_STRING , $ rawToken ] ; } }
Sets the new source for this file

@TODO: Unfortunately, AST won't be changed, so please be accurate during transformation

@param string $newSource
Sets the new source for this file