LibreOffice Module sc (master) 1
|
#include <parclass.hxx>
Classes | |
struct | CommonData |
struct | RawData |
struct | RunData |
Static Public Member Functions | |
static void | Init () |
MUST be called once before any other method. More... | |
static void | Exit () |
static formula::ParamClass | GetParameterType (const formula::FormulaToken *pToken, sal_uInt16 nParameter) |
Get one parameter type for function eOp. More... | |
static bool | HasForceArray (OpCode eOp) |
Whether OpCode has a parameter of type ForceArray or ReferenceOrForceArray. More... | |
Static Private Member Functions | |
static formula::ParamClass | GetExternalParameterType (const formula::FormulaToken *pToken, sal_uInt16 nParameter) |
Static Private Attributes | |
static const RawData | pRawData [] |
static RunData * | pData = nullptr |
Friends | |
struct | ScParameterClassification::RunData |
Definition at line 44 of file parclass.hxx.
|
static |
|
staticprivate |
Definition at line 402 of file parclass.cxx.
References Bounds, eType, LegacyFuncCollection::findByName(), ScUnoAddInCollection::FindFunction(), ScGlobal::GetAddInCollection(), ScUnoAddInFuncData::GetArgumentCount(), ScUnoAddInFuncData::GetArguments(), formula::FormulaToken::GetExternal(), ScUnoAddInCollection::GetFuncData(), ScGlobal::GetLegacyFuncCollection(), LegacyFuncData::GetParamCount(), LegacyFuncData::GetParamType(), nCount, PTR_DOUBLE, PTR_STRING, Reference, SAL_MAX_UINT16, SC_ADDINARG_DOUBLE, SC_ADDINARG_INTEGER, SC_ADDINARG_STRING, SC_ADDINARG_VARARGS, Unknown, and Value.
Referenced by GetParameterType().
|
static |
Get one parameter type for function eOp.
nParameter | Which parameter, 0-based. SAL_MAX_UINT16 for return type of eOp. |
Definition at line 362 of file parclass.cxx.
References aData, ScParameterClassification::RunData::aData, Bounds, ScParameterClassification::CommonData::eReturn, eType, GetExternalParameterType(), formula::FormulaToken::GetOpCode(), ScParameterClassification::CommonData::nMaxParams, ScParameterClassification::RunData::nMinParams, ScParameterClassification::CommonData::nParam, ocExternal, ocMacro, pData, Reference, SAL_MAX_UINT16, SC_OPCODE_LAST_OPCODE_ID, Unknown, and Value.
Referenced by ScInterpreter::ConvertMatrixParameters(), ScCompiler::GetForceArrayParameter(), ScInterpreter::JumpMatrix(), ScCompiler::ParameterMayBeImplicitIntersection(), and ScCompiler::SkipImplicitIntersectionOptimization().
|
inlinestatic |
Whether OpCode has a parameter of type ForceArray or ReferenceOrForceArray.
Definition at line 63 of file parclass.hxx.
References pData, and SC_OPCODE_LAST_OPCODE_ID.
Referenced by ScInterpreter::MatrixParameterConversion().
|
static |
MUST be called once before any other method.
Definition at line 285 of file parclass.cxx.
References ScParameterClassification::RawData::aData, ScParameterClassification::RunData::aData, ScParameterClassification::RunData::bHasForceArray, Bounds, ScParameterClassification::RawData::eOp, ForceArray, i, ScParameterClassification::CommonData::nMaxParams, ScParameterClassification::RunData::nMinParams, ScParameterClassification::CommonData::nParam, ScParameterClassification::CommonData::nRepeatLast, ocNone, pData, pRawData, ReferenceOrForceArray, SAL_INFO, SAL_WARN_IF, SC_OPCODE_LAST_OPCODE_ID, and Unknown.
Referenced by ScGlobal::Init().
|
friend |
Definition at line 88 of file parclass.hxx.
|
staticprivate |
Definition at line 97 of file parclass.hxx.
Referenced by Exit(), GetParameterType(), HasForceArray(), and Init().
|
staticprivate |
Definition at line 96 of file parclass.hxx.
Referenced by Init().