\PHPExcel_Calculation_Token_Stack

PHPExcel_Calculation_Token_Stack

Summary

Methods
Properties
Constants
count()
push()
pop()
last()
clear()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_stack
$_count
N/A

Properties

$_stack

$_stack : 

The parser stack for formulae

@var mixed[]

Type

$_count

$_count : 

Count of entries in the parser stack

@var integer

Type

Methods

count()

count() : integer

Return the number of entries on the stack

Returns

integer

push()

push(mixed  $type, mixed  $value, mixed  $reference = NULL) 

Push a new entry onto the stack

Parameters

mixed $type
mixed $value
mixed $reference

pop()

pop() : mixed

Pop the last entry from the stack

Returns

mixed

last()

last(integer  $n = 1) : mixed

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

clear()

clear() 

Clear the stack