Example #1
0
 /**
  * This method parses a logical <b>or</b>-expression.
  *
  * @return PHP_Depend_Code_ASTLogicalOrExpression
  * @since 0.9.8
  */
 private function parseLogicalOrExpression()
 {
     $token = $this->consumeToken(self::T_LOGICAL_OR);
     $expr = $this->builder->buildAstLogicalOrExpression();
     $expr->configureLinesAndColumns($token->startLine, $token->endLine, $token->startColumn, $token->endColumn);
     return $expr;
 }