ILIAS  eassessment Revision 61809
 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 ($type, $value, $reference=null)
 pop ()
 last ($n=1)
 __construct ()

Private Attributes

 $_stack = array()
 $_count = 0

Detailed Description

Definition at line 3783 of file Calculation.php.

Constructor & Destructor Documentation

PHPExcel_Token_Stack::__construct ( )

Definition at line 3824 of file Calculation.php.

{
}

Member Function Documentation

PHPExcel_Token_Stack::count ( )

Definition at line 3789 of file Calculation.php.

References $_count.

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

Definition at line 3816 of file Calculation.php.

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

Definition at line 3808 of file Calculation.php.

References $_count.

{
if ($this->_count > 0) {
return $this->_stack[--$this->_count];
}
return null;
} // function pop()
PHPExcel_Token_Stack::push (   $type,
  $value,
  $reference = null 
)

Definition at line 3794 of file Calculation.php.

References $type, and PHPExcel_Calculation\_localeFunc().

{
$this->_stack[$this->_count++] = array('type' => $type,
'value' => $value,
'reference' => $reference
);
if ($type == 'Function') {
$localeFunction = PHPExcel_Calculation::_localeFunc($value);
if ($localeFunction != $value) {
$this->_stack[($this->_count - 1)]['localeValue'] = $localeFunction;
}
}
} // function push()

+ Here is the call graph for this function:

Field Documentation

PHPExcel_Token_Stack::$_count = 0
private

Definition at line 3786 of file Calculation.php.

Referenced by count(), and pop().

PHPExcel_Token_Stack::$_stack = array()
private

Definition at line 3785 of file Calculation.php.


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