private function parseAlternativeScopeTermination($tokenType) { $this->consumeToken($tokenType); $this->consumeComments(); if ($this->tokenizer->peek() === Tokens::T_SEMICOLON) { $this->consumeToken(Tokens::T_SEMICOLON); } else { $this->parseNonePhpCode(); } }