コード例 #1
0
 /**
  * Parses a pre increment-expression and adds the given child to that node.
  *
  * @return \PDepend\Source\AST\ASTPreIncrementExpression
  * @since  0.10.0
  */
 private function parsePreIncrementExpression()
 {
     $token = $this->consumeToken(Tokens::T_INC);
     $expr = $this->builder->buildAstPreIncrementExpression();
     $expr->configureLinesAndColumns($token->startLine, $token->endLine, $token->startColumn, $token->endColumn);
     return $expr;
 }