자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
/** * This method parses a goto-statement. * * @return PHP_Depend_Code_ASTGotoStatement * @since 0.9.12 */ private function parseGotoStatement() { $this->tokenStack->push(); $this->consumeToken(self::T_GOTO); $this->consumeComments(); $token = $this->consumeToken(self::T_STRING); $this->parseStatementTermination(); $stmt = $this->builder->buildAstGotoStatement($token->image); return $this->setNodePositionsAndReturn($stmt); }