PDepend\Source\Language\PHP\AbstractPHPParser::parseOptionalAlternativeScopeTermination PHP Метод

parseOptionalAlternativeScopeTermination() приватный Метод

Parses the termination of a scope statement that uses PHP's laternative syntax format.
С версии: 0.10.0
private parseOptionalAlternativeScopeTermination ( ) : void
Результат void
    private function parseOptionalAlternativeScopeTermination()
    {
        $tokenType = $this->tokenizer->peek();
        if ($this->isAlternativeScopeTermination($tokenType)) {
            $this->parseAlternativeScopeTermination($tokenType);
        }
    }
AbstractPHPParser