Class PythonCodeFnCall
java.lang.Object
net.ssehub.easy.instantiation.python.codeArtifacts.PythonCodeElement
net.ssehub.easy.instantiation.python.codeArtifacts.PythonCodeExpr
net.ssehub.easy.instantiation.python.codeArtifacts.PythonCodeFnCall
- All Implemented Interfaces:
net.ssehub.easy.instantiation.core.model.vilTypes.IStringValueProvider,net.ssehub.easy.instantiation.core.model.vilTypes.IVilType,IPythonCodeElement,Storable
- Direct Known Subclasses:
PythonCodeConstructorCall
Represents a Python function call in VTL.
- Author:
- Kevin Schaperjahn
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.ssehub.easy.instantiation.core.model.vilTypes.IStringValueProvider
net.ssehub.easy.instantiation.core.model.vilTypes.IStringValueProvider.StringComparator -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<IPythonCodeElement> private PythonCodeFnCallprivate Stringprivate booleanFields inherited from interface net.ssehub.easy.instantiation.python.codeArtifacts.IPythonCodeElement
KEY_COMPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionPythonCodeFnCall(IPythonCodeElement parent, String name, PythonCodeImportScope scope) PythonCodeFnCall(IPythonCodeElement parent, String name, PythonCodeImportScope scope, boolean usedAsStmt) -
Method Summary
Modifier and TypeMethodDescriptionaddArgument(Object arg) addArgument(String arg) addArgument(String pName, Object arg) addArgument(String pName, String arg) addArgument(String pName, String fnName, PythonCodeImportScope scope) addArgument(String fnName, PythonCodeImportScope scope) addCall(String fnName, PythonCodeImportScope scope) addConstructorCall(String cls) addConstructorCall(String pName, String cls) addLambdaArgument(String pName) addStringArgument(String val) addStringArgument(String pName, String val) intvoidstore(net.ssehub.easy.instantiation.core.model.templateModel.CodeWriter out) protected voidstoreArgumentList(net.ssehub.easy.instantiation.core.model.templateModel.CodeWriter out) protected StringvalidateFuncName(IPythonCodeElement parent, String name, PythonCodeImportScope scope) private <T extends IPythonCodeElement>
TMethods inherited from class net.ssehub.easy.instantiation.python.codeArtifacts.PythonCodeElement
getArtifact, getParent, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.ssehub.easy.instantiation.python.codeArtifacts.IPythonCodeElement
addAll, getSortKey, getStringValue, getTopClass, getTracerStringValue, hasPythondocComment, isAttribute, isBlock, isClass, isEmptyLine, moveToAttributes, moveToImportsMethods inherited from interface net.ssehub.easy.instantiation.python.codeArtifacts.Storable
getElementCount, toCode
-
Field Details
-
name
-
arguments
-
chained
-
usedAsStmt
private boolean usedAsStmt
-
-
Constructor Details
-
PythonCodeFnCall
-
PythonCodeFnCall
public PythonCodeFnCall(IPythonCodeElement parent, String name, PythonCodeImportScope scope, boolean usedAsStmt)
-
-
Method Details
-
getArgumentsCount
public int getArgumentsCount() -
getFuncName
-
validateFuncName
protected String validateFuncName(IPythonCodeElement parent, String name, PythonCodeImportScope scope) -
addArgument
-
addArgument
-
addArgument
-
addArgument
-
addArgument
-
addArgument
-
addStringArgument
-
addStringArgument
-
addLambdaArgument
-
addLambdaArgument
-
addConstructorCall
-
addConstructorCall
-
wrapNAdd
-
addCall
-
addCall
-
store
public void store(net.ssehub.easy.instantiation.core.model.templateModel.CodeWriter out) -
storeArgumentList
protected void storeArgumentList(net.ssehub.easy.instantiation.core.model.templateModel.CodeWriter out)
-