You are here

function PHPExcel_Writer_Excel5_Parser::_parenthesizedExpression in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Parser.php \PHPExcel_Writer_Excel5_Parser::_parenthesizedExpression()

* This function just introduces a ptgParen element in the tree, so that Excel * doesn't get confused when working with a parenthesized formula afterwards. * * @access private * *

Return value

array The parsed ptg'd tree

See also

_fact()

1 call to PHPExcel_Writer_Excel5_Parser::_parenthesizedExpression()
PHPExcel_Writer_Excel5_Parser::_fact in vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Parser.php
* It parses a factor. It assumes the following rule: * Fact -> ( Expr ) * | CellRef * | CellRange * | Number * | Function * * @access private *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Parser.php, line 1326

Class

PHPExcel_Writer_Excel5_Parser
PHPExcel_Writer_Excel5_Parser

Code

function _parenthesizedExpression() {
  $result = $this
    ->_createTree('ptgParen', $this
    ->_expression(), '');
  return $result;
}