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

Public Member Functions

 __construct ($pValue, $pTokenType=PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_UNKNOWN, $pTokenSubType=PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_NOTHING)
 Create a new PHPExcel_Calculation_FormulaToken.
 getValue ()
 Get Value.
 setValue ($value)
 Set Value.
 getTokenType ()
 Get Token Type (represented by TOKEN_TYPE_*)
 setTokenType ($value=PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_UNKNOWN)
 Set Token Type.
 getTokenSubType ()
 Get Token SubType (represented by TOKEN_SUBTYPE_*)
 setTokenSubType ($value=PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_NOTHING)
 Set Token SubType.

Data Fields

const TOKEN_TYPE_NOOP = 'Noop'
const TOKEN_TYPE_OPERAND = 'Operand'
const TOKEN_TYPE_FUNCTION = 'Function'
const TOKEN_TYPE_SUBEXPRESSION = 'Subexpression'
const TOKEN_TYPE_ARGUMENT = 'Argument'
const TOKEN_TYPE_OPERATORPREFIX = 'OperatorPrefix'
const TOKEN_TYPE_OPERATORINFIX = 'OperatorInfix'
const TOKEN_TYPE_OPERATORPOSTFIX = 'OperatorPostfix'
const TOKEN_TYPE_WHITESPACE = 'Whitespace'
const TOKEN_TYPE_UNKNOWN = 'Unknown'
const TOKEN_SUBTYPE_NOTHING = 'Nothing'
const TOKEN_SUBTYPE_START = 'Start'
const TOKEN_SUBTYPE_STOP = 'Stop'
const TOKEN_SUBTYPE_TEXT = 'Text'
const TOKEN_SUBTYPE_NUMBER = 'Number'
const TOKEN_SUBTYPE_LOGICAL = 'Logical'
const TOKEN_SUBTYPE_ERROR = 'Error'
const TOKEN_SUBTYPE_RANGE = 'Range'
const TOKEN_SUBTYPE_MATH = 'Math'
const TOKEN_SUBTYPE_CONCATENATION = 'Concatenation'
const TOKEN_SUBTYPE_INTERSECTION = 'Intersection'
const TOKEN_SUBTYPE_UNION = 'Union'

Private Attributes

 $_value
 $_tokenType
 $_tokenSubType

Detailed Description

Definition at line 60 of file FormulaToken.php.

Constructor & Destructor Documentation

PHPExcel_Calculation_FormulaToken::__construct (   $pValue,
  $pTokenType = PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_UNKNOWN,
  $pTokenSubType = PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_NOTHING 
)

Create a new PHPExcel_Calculation_FormulaToken.

Parameters
string$pValue
string$pTokenTypeToken type (represented by TOKEN_TYPE_*)
string$pTokenSubTypeToken Subtype (represented by TOKEN_SUBTYPE_*)

Definition at line 115 of file FormulaToken.php.

{
// Initialise values
$this->_value = $pValue;
$this->_tokenType = $pTokenType;
$this->_tokenSubType = $pTokenSubType;
}

Member Function Documentation

PHPExcel_Calculation_FormulaToken::getTokenSubType ( )

Get Token SubType (represented by TOKEN_SUBTYPE_*)

Returns
string

Definition at line 164 of file FormulaToken.php.

References $_tokenSubType.

{
}
PHPExcel_Calculation_FormulaToken::getTokenType ( )

Get Token Type (represented by TOKEN_TYPE_*)

Returns
string

Definition at line 146 of file FormulaToken.php.

References $_tokenType.

{
}
PHPExcel_Calculation_FormulaToken::getValue ( )

Get Value.

Returns
string

Definition at line 128 of file FormulaToken.php.

References $_value.

{
return $this->_value;
}
PHPExcel_Calculation_FormulaToken::setTokenSubType (   $value = PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_NOTHING)

Set Token SubType.

Parameters
string$value

Definition at line 173 of file FormulaToken.php.

{
$this->_tokenSubType = $value;
}
PHPExcel_Calculation_FormulaToken::setTokenType (   $value = PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_UNKNOWN)

Set Token Type.

Parameters
string$value

Definition at line 155 of file FormulaToken.php.

{
$this->_tokenType = $value;
}
PHPExcel_Calculation_FormulaToken::setValue (   $value)

Set Value.

Parameters
string$value

Definition at line 137 of file FormulaToken.php.

{
$this->_value = $value;
}

Field Documentation

PHPExcel_Calculation_FormulaToken::$_tokenSubType
private

Definition at line 106 of file FormulaToken.php.

Referenced by getTokenSubType().

PHPExcel_Calculation_FormulaToken::$_tokenType
private

Definition at line 99 of file FormulaToken.php.

Referenced by getTokenType().

PHPExcel_Calculation_FormulaToken::$_value
private

Definition at line 92 of file FormulaToken.php.

Referenced by getValue().

const PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_CONCATENATION = 'Concatenation'

Definition at line 83 of file FormulaToken.php.

Referenced by PHPExcel_Calculation_FormulaParser\_parseToTokens().

const PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_ERROR = 'Error'

Definition at line 80 of file FormulaToken.php.

Referenced by PHPExcel_Calculation_FormulaParser\_parseToTokens().

const PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_INTERSECTION = 'Intersection'

Definition at line 84 of file FormulaToken.php.

Referenced by PHPExcel_Calculation_FormulaParser\_parseToTokens().

const PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_LOGICAL = 'Logical'

Definition at line 79 of file FormulaToken.php.

Referenced by PHPExcel_Calculation_FormulaParser\_parseToTokens().

const PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_MATH = 'Math'

Definition at line 82 of file FormulaToken.php.

Referenced by PHPExcel_Calculation_FormulaParser\_parseToTokens().

const PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_NOTHING = 'Nothing'

Definition at line 74 of file FormulaToken.php.

Referenced by PHPExcel_Calculation_FormulaParser\_parseToTokens().

const PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_NUMBER = 'Number'

Definition at line 78 of file FormulaToken.php.

Referenced by PHPExcel_Calculation_FormulaParser\_parseToTokens().

const PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_RANGE = 'Range'

Definition at line 81 of file FormulaToken.php.

Referenced by PHPExcel_Calculation_FormulaParser\_parseToTokens().

const PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_START = 'Start'

Definition at line 75 of file FormulaToken.php.

Referenced by PHPExcel_Calculation_FormulaParser\_parseToTokens().

const PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_STOP = 'Stop'

Definition at line 76 of file FormulaToken.php.

Referenced by PHPExcel_Calculation_FormulaParser\_parseToTokens().

const PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_TEXT = 'Text'

Definition at line 77 of file FormulaToken.php.

Referenced by PHPExcel_Calculation_FormulaParser\_parseToTokens().

const PHPExcel_Calculation_FormulaToken::TOKEN_SUBTYPE_UNION = 'Union'

Definition at line 85 of file FormulaToken.php.

Referenced by PHPExcel_Calculation_FormulaParser\_parseToTokens().

const PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_ARGUMENT = 'Argument'

Definition at line 66 of file FormulaToken.php.

Referenced by PHPExcel_Calculation_FormulaParser\_parseToTokens().

const PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_FUNCTION = 'Function'

Definition at line 64 of file FormulaToken.php.

Referenced by PHPExcel_Calculation_FormulaParser\_parseToTokens().

const PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_NOOP = 'Noop'

Definition at line 62 of file FormulaToken.php.

const PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERAND = 'Operand'

Definition at line 63 of file FormulaToken.php.

Referenced by PHPExcel_Calculation_FormulaParser\_parseToTokens().

const PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORINFIX = 'OperatorInfix'

Definition at line 68 of file FormulaToken.php.

Referenced by PHPExcel_Calculation_FormulaParser\_parseToTokens().

const PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORPOSTFIX = 'OperatorPostfix'

Definition at line 69 of file FormulaToken.php.

Referenced by PHPExcel_Calculation_FormulaParser\_parseToTokens().

const PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_OPERATORPREFIX = 'OperatorPrefix'

Definition at line 67 of file FormulaToken.php.

Referenced by PHPExcel_Calculation_FormulaParser\_parseToTokens().

const PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_SUBEXPRESSION = 'Subexpression'

Definition at line 65 of file FormulaToken.php.

Referenced by PHPExcel_Calculation_FormulaParser\_parseToTokens().

const PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_UNKNOWN = 'Unknown'

Definition at line 71 of file FormulaToken.php.

Referenced by PHPExcel_Calculation_FormulaParser\_parseToTokens().

const PHPExcel_Calculation_FormulaToken::TOKEN_TYPE_WHITESPACE = 'Whitespace'

Definition at line 70 of file FormulaToken.php.

Referenced by PHPExcel_Calculation_FormulaParser\_parseToTokens().


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