ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
PHPExcel_Token_Stack Class Reference
+ Collaboration diagram for PHPExcel_Token_Stack:

Public Member Functions

 count ()
 push ($value)
 pop ()
 last ($n=1)
 __construct ()

Private Attributes

 $_stack = array()
 $_count = 0

Detailed Description

Definition at line 3045 of file Calculation.php.

Constructor & Destructor Documentation

PHPExcel_Token_Stack::__construct ( )

Definition at line 3072 of file Calculation.php.

{
}

Member Function Documentation

PHPExcel_Token_Stack::count ( )

Definition at line 3050 of file Calculation.php.

References $_count.

{
return $this->_count;
}
PHPExcel_Token_Stack::last (   $n = 1)

Definition at line 3065 of file Calculation.php.

References $n.

{
if ($this->_count-$n < 0) {
return null;
}
return $this->_stack[$this->_count-$n];
}
PHPExcel_Token_Stack::pop ( )

Definition at line 3058 of file Calculation.php.

References $_count.

{
if ($this->_count > 0) {
return $this->_stack[--$this->_count];
}
return null;
}
PHPExcel_Token_Stack::push (   $value)

Definition at line 3054 of file Calculation.php.

{
$this->_stack[$this->_count++] = $value;
}

Field Documentation

PHPExcel_Token_Stack::$_count = 0
private

Definition at line 3048 of file Calculation.php.

Referenced by count(), and pop().

PHPExcel_Token_Stack::$_stack = array()
private

Definition at line 3047 of file Calculation.php.


The documentation for this class was generated from the following file: