public final class FuncVarPtg extends AbstractFunctionPtg
Modifier and Type | Field and Description |
---|---|
static byte |
sid |
static OperationPtg |
SUM
Single instance of this token for 'sum() taking a single argument'
|
FUNCTION_NAME_IF
TYPE_BINARY, TYPE_FUNCTION, TYPE_UNARY
CLASS_ARRAY, CLASS_REF, CLASS_VALUE, EMPTY_PTG_ARRAY
Modifier and Type | Method and Description |
---|---|
FuncVarPtg |
copy() |
static FuncVarPtg |
create(LittleEndianInput in)
Creates new function pointer from a byte array
usually called while reading an excel file.
|
static FuncVarPtg |
create(java.lang.String pName,
int numArgs)
Create a function ptg from a string tokenised by the parser
|
int |
getSize() |
protected java.lang.String |
lookupName(short index) |
void |
write(LittleEndianOutput out) |
getDefaultOperandClass, getFunctionIndex, getName, getNumberOfOperands, getParameterClass, isBaseToken, isBuiltInFunctionName, isExternalFunction, lookupIndex, lookupName, toFormulaString, toFormulaString, toString
createPtg, doesFormulaReferToDeletedCell, getEncodedSize, getEncodedSizeWithoutArrayData, getPtgClass, getRVAType, readTokens, serializePtgs, setClass
public static final byte sid
public static final OperationPtg SUM
public static FuncVarPtg create(LittleEndianInput in)
public static FuncVarPtg create(java.lang.String pName, int numArgs)
protected java.lang.String lookupName(short index)
lookupName
in class AbstractFunctionPtg
public void write(LittleEndianOutput out)
public int getSize()
getSize
in class AbstractFunctionPtg
public FuncVarPtg copy()
copy
in interface Duplicatable
copy
in class Ptg
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.