|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FormulaVariableStack | |
---|---|
com.accountingenhancements.formula | BETA 9/10/2006 The formula package is a string based interpreted scripting math and string manipulation language written in Java. It's intended to perform math and/or string concatination based on basic code segments that are stored in databases and work with dynamically created variables. In an effort to improve speed in loops where some variables are stable and other variables change, levels of volatility can be assigned to variables. |
Uses of FormulaVariableStack in com.accountingenhancements.formula |
---|
Fields in com.accountingenhancements.formula declared as FormulaVariableStack | |
---|---|
protected FormulaVariableStack |
Formula.formulaStack
|
protected FormulaVariableStack |
FormulaFunction.functionArgumentStack
The stack containing the function's arguments. |
protected FormulaVariableStack |
FormulaVariable.stack
If this is TYPE_FORMULA then this is the stack of the formula as processed by FormulaVariableSack |
Methods in com.accountingenhancements.formula that return FormulaVariableStack | |
---|---|
FormulaVariableStack |
FormulaVariableList.addVariables(java.lang.String variables)
Add a semi-colon separated list of variables in the order, variable name, equals sign, value, semi-colon, etc... |
FormulaVariableStack |
FormulaVariableList.addVariables(java.lang.String variables,
int level)
Add a semi-colon separated list of variables in the order, variable name, equals sign, value, semi-colon, etc... |
FormulaVariableStack |
FormulaVariableStack.clone()
|
FormulaVariableStack |
Formula.getFormulaStack()
Get the internal formula stack |
FormulaVariableStack |
FormulaFunction.getFunctionArgumentStack()
|
protected static FormulaVariableStack |
FormulaFunction.getFunctionArgumentStackFromFunctionVariable(FormulaVariable functionVariable)
|
protected static FormulaVariableStack |
FormulaFunction.parseCommaDelimitedFunctionFields(java.lang.String formulaSegment,
int level)
Break the contents of a formula that are between parentheses into their constituent fields. Note: Examples are as seen in code, so "\\\"how\\\"" creates the string \"how\" and Hello\\, creates the string Hello\, Ex: "IIF(A formulaSegment = "A returnArray.get(0) == "A returnArray.get(1) == "\"Hello there, \\\"how\\\" are you\"" returnArray.get(2) == "1.34" Escaping a comma will cause the comma to be ignored. Ex: "Hello\\, how are you,2" returnArray.get(0) == "Hello\\, how are you" returnArray.get(1) == "2" |
Methods in com.accountingenhancements.formula with parameters of type FormulaVariableStack | |
---|---|
FormulaVariable |
FormulaFunction.function(FormulaVariableStack functionArgumentStack,
FormulaVariableList variableList,
int iteration,
SupportParameters supportParameters,
FormulaFunctionList functionList,
int resolveEverythingAboveLevel)
Programmer defined function. This function replaces the funcionArgumentStack and calls function(FormulaVariableList variableList, int iteration, SupportParameters supportParameters, FormulaFunctionList functionList, int resolveEverythingAboveLevel) so you can leave this function alone, but the other function needs to be overriden. |
void |
FormulaFunction.setFunctionArgumentStack(FormulaVariableStack functionArgumentStack)
|
Constructors in com.accountingenhancements.formula with parameters of type FormulaVariableStack | |
---|---|
FormulaFunction_DateAdd(FormulaVariableStack functionArgumentStack)
Create a new FormulaFunction with an already defined functionArgumentStack. |
|
FormulaFunction_DatePart(FormulaVariableStack functionArgumentStack)
Create a new FormulaFunction with an already defined functionArgumentStack. |
|
FormulaFunction_IIF(FormulaVariableStack functionArgumentStack)
Create a new FormulaFunction with an already defined functionArgumentStack. |
|
FormulaFunction_LCase(FormulaVariableStack functionArgumentStack)
Create a new FormulaFunction with an already defined functionArgumentStack. |
|
FormulaFunction_Left(FormulaVariableStack functionArgumentStack)
Create a new FormulaFunction with an already defined functionArgumentStack. |
|
FormulaFunction_Len(FormulaVariableStack functionArgumentStack)
Create a new FormulaFunction with an already defined functionArgumentStack. |
|
FormulaFunction_Mid(FormulaVariableStack functionArgumentStack)
Create a new FormulaFunction with an already defined functionArgumentStack. |
|
FormulaFunction_Right(FormulaVariableStack functionArgumentStack)
Create a new FormulaFunction with an already defined functionArgumentStack. |
|
FormulaFunction_UCase(FormulaVariableStack functionArgumentStack)
Create a new FormulaFunction with an already defined functionArgumentStack. |
|
FormulaFunction(FormulaVariableStack functionArgumentStack)
Create a new FormulaFunction with an already defined functionArgumentStack. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |