|
| count () |
| Return the number of entries on the stack. More...
|
|
| push ($type, $value, $reference=NULL) |
| Push a new entry onto the stack. More...
|
|
| pop () |
| Pop the last entry from the stack. More...
|
|
| last ($n=1) |
| Return an entry from the stack without removing it. More...
|
|
| clear () |
| Clear the stack. More...
|
|
Definition at line 36 of file Stack.php.
◆ clear()
PHPExcel_Calculation_Token_Stack::clear |
( |
| ) |
|
Clear the stack.
Definition at line 110 of file Stack.php.
References array.
111 $this->_stack =
array();
Create styles array
The data for the language used.
◆ count()
PHPExcel_Calculation_Token_Stack::count |
( |
| ) |
|
Return the number of entries on the stack.
- Returns
- integer
Definition at line 58 of file Stack.php.
References $_count.
◆ last()
PHPExcel_Calculation_Token_Stack::last |
( |
|
$n = 1 | ) |
|
Return an entry from the stack without removing it.
- Parameters
-
integer | $n | number indicating how far back in the stack we want to look |
- Returns
- mixed
Definition at line 100 of file Stack.php.
References $n.
101 if ($this->_count -
$n < 0) {
104 return $this->_stack[$this->_count -
$n];
◆ pop()
PHPExcel_Calculation_Token_Stack::pop |
( |
| ) |
|
Pop the last entry from the stack.
- Returns
- mixed
Definition at line 87 of file Stack.php.
References $_count.
88 if ($this->_count > 0) {
◆ push()
PHPExcel_Calculation_Token_Stack::push |
( |
|
$type, |
|
|
|
$value, |
|
|
|
$reference = NULL |
|
) |
| |
Push a new entry onto the stack.
- Parameters
-
mixed | $type | |
mixed | $value | |
mixed | $reference | |
Definition at line 69 of file Stack.php.
References $type, PHPExcel_Calculation\_localeFunc(), and array.
70 $this->_stack[$this->_count++] =
array(
'type' =>
$type,
72 'reference' => $reference
74 if (
$type ==
'Function') {
76 if ($localeFunction != $value) {
77 $this->_stack[($this->_count - 1)][
'localeValue'] = $localeFunction;
static _localeFunc($function)
Create styles array
The data for the language used.
◆ $_count
PHPExcel_Calculation_Token_Stack::$_count = 0 |
|
private |
◆ $_stack
PHPExcel_Calculation_Token_Stack::$_stack = array() |
|
private |
The documentation for this class was generated from the following file:
- libs/composer/vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Token/Stack.php