public class ASTOperandFunction extends ASTOperandBase
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,DataPropertyType> |
_returnTypes |
protected List<ASTOperandBase> |
parameters |
_originalSource, _preprocessedSource| Constructor and Description |
|---|
ASTOperandFunction() |
ASTOperandFunction(String name,
ASTOperandBase... parameters) |
| Modifier and Type | Method and Description |
|---|---|
ASTOperandFunction |
addParameter(ASTOperandBase parameter) |
List<ASTItem> |
children() |
<T extends ASTItem> |
collectItemsOfType(Class<T> cls) |
DataPropertyType |
getArrayContentType() |
DataPropertyType |
getDataType() |
String |
getName() |
List<ASTOperandBase> |
getParameters() |
List<ASTOperandProperty> |
getProperties() |
List<ASTOperandVariable> |
getVariables() |
String |
print(int level) |
void |
replaceFirstParameter(ASTOperandFunction newParam) |
void |
setName(String name) |
void |
setParameters(List<ASTOperandBase> parameters) |
generateLambdaToken, getPreconditionPropertiesFromOperand, hasValue, isBoolean, isEnumData, isNumber, isObjectData, isPropertyOrVariable, isSemanticOperator, isStaticString, isStringData, setDataType, sortPrecoditionPropertiesgetAllConditions, getGlobalPlain, getGlobalPosition, getOriginalSource, getPreprocessedSource, getType, getTypecommon, getUntrimmedSource, hasSource, setGlobalPosition, setSource, space, walk, walk, walkprotected List<ASTOperandBase> parameters
protected Map<String,DataPropertyType> _returnTypes
public ASTOperandFunction()
public ASTOperandFunction(String name, ASTOperandBase... parameters)
public ASTOperandFunction addParameter(ASTOperandBase parameter)
public String getName()
getName in class ASTOperandBasepublic void setName(String name)
public List<ASTOperandBase> getParameters()
public void setParameters(List<ASTOperandBase> parameters)
public DataPropertyType getDataType()
getDataType in class ASTOperandBasepublic DataPropertyType getArrayContentType()
public List<ASTOperandProperty> getProperties()
getProperties in class ASTOperandBasepublic List<ASTOperandVariable> getVariables()
public <T extends ASTItem> List<T> collectItemsOfType(Class<T> cls)
collectItemsOfType in class ASTItempublic void replaceFirstParameter(ASTOperandFunction newParam)
Copyright © 2020. All rights reserved.