常用方法
常用方法
常用方法
常用方法
/** * This method parses a simple PHP variable. * * @return \PDepend\Source\AST\ASTVariable * @throws UnexpectedTokenException * @since 0.9.6 */ private function parseVariable() { $token = $this->consumeToken(Tokens::T_VARIABLE); $variable = $this->builder->buildAstVariable($token->image); $variable->configureLinesAndColumns($token->startLine, $token->endLine, $token->startColumn, $token->endColumn); return $variable; }