private function parseStatementBody(\PDepend\Source\AST\ASTStatement $stmt) { $this->consumeComments(); $tokenType = $this->tokenizer->peek(); if ($tokenType === Tokens::T_CURLY_BRACE_OPEN) { $stmt->addChild($this->parseRegularScope()); } elseif ($tokenType === Tokens::T_COLON) { $stmt->addChild($this->parseAlternativeScope()); } else { $stmt->addChild($this->parseStatement()); } return $stmt; }