You are here

function PHPExcel_Writer_Excel5_Parser::parse 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::parse()

* The parsing method. It parses a formula. * * @access public *

Parameters

string $formula The formula to parse, without the initial equal: * sign (=). * @return mixed true on success

File

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

Class

PHPExcel_Writer_Excel5_Parser
PHPExcel_Writer_Excel5_Parser

Code

function parse($formula) {
  $this->_current_char = 0;
  $this->_formula = $formula;
  $this->_lookahead = isset($formula[1]) ? $formula[1] : '';
  $this
    ->_advance();
  $this->_parse_tree = $this
    ->_condition();
  return true;
}