Class ExpressionsFunctionsFunction
- java.lang.Object
-
- com._1c.g5.v8.dt.dcs.expressions.functions.ExpressionsFunctionsStatement
-
- com._1c.g5.v8.dt.dcs.expressions.functions.ExpressionsFunctionsFunction
-
- All Implemented Interfaces:
IExpressionsFunctionsItem
public class ExpressionsFunctionsFunction extends ExpressionsFunctionsStatement
DCS expressions function
-
-
Constructor Summary
Constructors Constructor Description ExpressionsFunctionsFunction(String[] names, TypeDescription retType)
Constructor (builtin, without parameters)ExpressionsFunctionsFunction(String[] names, String parametersTemplate, TypeDescription retType, TypeDescription parameterType)
Constructor (builtin, 1 parameter)ExpressionsFunctionsFunction(String[] names, String parametersTemplate, TypeDescription retType, TypeDescription[] parametersTypes)
Constructor (builtin, all parameters)ExpressionsFunctionsFunction(String[] names, String parametersTemplate, TypeDescription retType, TypeDescription[] parametersTypes, int minParametersSize, int maxParametersSize)
Constructor (builtin, variable count of parameters)ExpressionsFunctionsFunction(String nameEn, String nameRu, TypeDescription retType)
Constructor (builtin, without parameters)ExpressionsFunctionsFunction(String nameEn, String nameRu, String parametersTemplate, TypeDescription retType)
Constructor (builtin, 1 parameter, type unknown)ExpressionsFunctionsFunction(String nameEn, String nameRu, String parametersTemplate, TypeDescription retType, TypeDescription parameterType)
Constructor (builtin, 1 parameter)ExpressionsFunctionsFunction(String nameEn, String nameRu, String parametersTemplate, TypeDescription retType, TypeDescription[] parametersTypes)
Constructor (builtin, all parameters)ExpressionsFunctionsFunction(String nameEn, String nameRu, String parametersTemplate, TypeDescription retType, TypeDescription[] parametersTypes, int minParametersSize, int maxParametersSize)
Constructor (builtin, variable count of parameters)ExpressionsFunctionsFunction(String nameEn, String nameRu, String templateEn, String templateRu, TypeDescription retType, TypeDescription[] parametersTypes, int minParametersSize, int maxParametersSize, boolean builtin, boolean global)
Constructor (full)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaxParametersSize()
Get maximum count of parametersint
getMinParametersSize()
Get minimal count of parametersList<TypeDescription>
getParametersTypes()
Get types of parametersTypeDescription
getRetType()
Get returning typeboolean
isBuiltin()
Is function builtinboolean
isGlobal()
Is function global-
Methods inherited from class com._1c.g5.v8.dt.dcs.expressions.functions.ExpressionsFunctionsStatement
getName, getTemplate
-
-
-
-
Constructor Detail
-
ExpressionsFunctionsFunction
public ExpressionsFunctionsFunction(String nameEn, String nameRu, String templateEn, String templateRu, TypeDescription retType, TypeDescription[] parametersTypes, int minParametersSize, int maxParametersSize, boolean builtin, boolean global)
Constructor (full)- Parameters:
nameEn
- English name, can't benull
nameRu
- Russian name, can't benull
templateEn
- English template string, can't benull
templateRu
- Russian template string, can't benull
retType
- returning type, can't benull
parametersTypes
- types of parameters, can benull
minParametersSize
- minimal count of parametersmaxParametersSize
- maximum count of parametersbuiltin
- is function builtinglobal
- is function from global module
-
ExpressionsFunctionsFunction
public ExpressionsFunctionsFunction(String nameEn, String nameRu, String parametersTemplate, TypeDescription retType, TypeDescription[] parametersTypes, int minParametersSize, int maxParametersSize)
Constructor (builtin, variable count of parameters)- Parameters:
nameEn
- English name, can't benull
nameRu
- Russian name, can't benull
parametersTemplate
- parameters template string, can't benull
retType
- returning type, can't benull
parametersTypes
- types of parameters, can benull
minParametersSize
- minimal count of parametersmaxParametersSize
- maximum count of parameters
-
ExpressionsFunctionsFunction
public ExpressionsFunctionsFunction(String[] names, String parametersTemplate, TypeDescription retType, TypeDescription[] parametersTypes, int minParametersSize, int maxParametersSize)
Constructor (builtin, variable count of parameters)- Parameters:
names
- English and Russian names, can't benull
parametersTemplate
- parameters template string, can't benull
retType
- returning type, can't benull
parametersTypes
- types of parameters, can benull
minParametersSize
- minimal count of parametersmaxParametersSize
- maximum count of parameters
-
ExpressionsFunctionsFunction
public ExpressionsFunctionsFunction(String nameEn, String nameRu, String parametersTemplate, TypeDescription retType, TypeDescription[] parametersTypes)
Constructor (builtin, all parameters)- Parameters:
nameEn
- English name, can't benull
nameRu
- Russian name, can't benull
parametersTemplate
- parameters template string, can't benull
retType
- returning type, can't benull
parametersTypes
- types of parameters, can benull
-
ExpressionsFunctionsFunction
public ExpressionsFunctionsFunction(String[] names, String parametersTemplate, TypeDescription retType, TypeDescription[] parametersTypes)
Constructor (builtin, all parameters)- Parameters:
names
- English and Russian names, can't benull
parametersTemplate
- parameters template string, can't benull
retType
- returning type, can't benull
parametersTypes
- types of parameters, can benull
-
ExpressionsFunctionsFunction
public ExpressionsFunctionsFunction(String nameEn, String nameRu, String parametersTemplate, TypeDescription retType, TypeDescription parameterType)
Constructor (builtin, 1 parameter)- Parameters:
nameEn
- English name, can't benull
nameRu
- Russian name, can't benull
parametersTemplate
- parameters template string, can't benull
retType
- returning type, can't benull
parameterType
- types of parameter, can benull
-
ExpressionsFunctionsFunction
public ExpressionsFunctionsFunction(String[] names, String parametersTemplate, TypeDescription retType, TypeDescription parameterType)
Constructor (builtin, 1 parameter)- Parameters:
names
- English and Russian names, can't benull
parametersTemplate
- parameters template string, can't benull
retType
- returning type, can't benull
parameterType
- types of parameter, can benull
-
ExpressionsFunctionsFunction
public ExpressionsFunctionsFunction(String nameEn, String nameRu, String parametersTemplate, TypeDescription retType)
Constructor (builtin, 1 parameter, type unknown)- Parameters:
nameEn
- English name, can't benull
nameRu
- Russian name, can't benull
parametersTemplate
- parameters template string, can't benull
retType
- returning type, can't benull
-
ExpressionsFunctionsFunction
public ExpressionsFunctionsFunction(String nameEn, String nameRu, TypeDescription retType)
Constructor (builtin, without parameters)- Parameters:
nameEn
- English name, can't benull
nameRu
- Russian name, can't benull
retType
- returning type, can't benull
-
ExpressionsFunctionsFunction
public ExpressionsFunctionsFunction(String[] names, TypeDescription retType)
Constructor (builtin, without parameters)- Parameters:
names
- English and Russian names, can't benull
retType
- returning type, can't benull
-
-
Method Detail
-
getRetType
public TypeDescription getRetType()
Get returning type- Returns:
- type description, never
null
-
getParametersTypes
public List<TypeDescription> getParametersTypes()
Get types of parameters- Returns:
- list of parameter's types,
null
if function has not parameters
-
getMinParametersSize
public int getMinParametersSize()
Get minimal count of parameters- Returns:
- minimal count of parameters
-
getMaxParametersSize
public int getMaxParametersSize()
Get maximum count of parameters- Returns:
- maximum count of parameters
-
isBuiltin
public boolean isBuiltin()
Is function builtin- Returns:
-
isGlobal
public boolean isGlobal()
Is function global- Returns:
-
-