protected function expectEnd(array $relatedToken = null)
    {

        foreach ($this->lookUpNext(['newLine']) as $token) {

            $this->handleToken($token);

            return;
        }

        if (!$this->expectNext(['newLine'])) {

            $this->throwException(
                "Nothing should be following this statement, the end of line is expected.",
                $relatedToken
            );
        } else
            $this->handleToken();
    }