Class PythonCodeForLoop
java.lang.Object
net.ssehub.easy.instantiation.python.codeArtifacts.PythonCodeElement
net.ssehub.easy.instantiation.python.codeArtifacts.PythonCodeStmt
net.ssehub.easy.instantiation.python.codeArtifacts.PythonCodeBlock
net.ssehub.easy.instantiation.python.codeArtifacts.PythonCodeForLoop
- All Implemented Interfaces:
net.ssehub.easy.instantiation.core.model.vilTypes.IStringValueProvider,net.ssehub.easy.instantiation.core.model.vilTypes.IVilType,IPythonCodeElement,Storable
Represents a Python "for" in VTL.
- Author:
- Kevin Schaperjahn
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.ssehub.easy.instantiation.core.model.vilTypes.IStringValueProvider
net.ssehub.easy.instantiation.core.model.vilTypes.IStringValueProvider.StringComparator -
Field Summary
FieldsFields inherited from interface net.ssehub.easy.instantiation.python.codeArtifacts.IPythonCodeElement
KEY_COMPARATOR -
Constructor Summary
ConstructorsConstructorDescriptionPythonCodeForLoop(IPythonCodeElement parent, String element, String array) PythonCodeForLoop(IPythonCodeElement parent, String iterator, String rangeStart, String rangeEnd) PythonCodeForLoop(IPythonCodeElement parent, String iterator, String rangeStart, String rangeEnd, String rangeStep) -
Method Summary
Modifier and TypeMethodDescriptionvoidstore(net.ssehub.easy.instantiation.core.model.templateModel.CodeWriter out) Methods inherited from class net.ssehub.easy.instantiation.python.codeArtifacts.PythonCodeBlock
add, addAssert, addAssert, addAssign, addAssign, addBreak, addCall, addCall, addClass, addClass, addComment, addContinue, addDelete, addElt, addElt, addEmptyLine, addEnum, addEnum, addFor, addFor, addFor, addFunc, addFunc, addGlobal, addIf, addMatch, addNonLocal, addPass, addPrint, addRaise, addRaw, addReturn, addSelfCall, addSLComment, addSLComment, addSuperCall, addSuperConstructorCall, addTry, addTypeAlias, addWhile, addWith, addWith, getArtifact, getElementCount, getParentClass, isBlock, moveToImports, setBlockMethods inherited from class net.ssehub.easy.instantiation.python.codeArtifacts.PythonCodeElement
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, isClass, isEmptyLine, moveToAttributes
-
Field Details
-
element
-
array
-
-
Constructor Details
-
PythonCodeForLoop
-
PythonCodeForLoop
public PythonCodeForLoop(IPythonCodeElement parent, String iterator, String rangeStart, String rangeEnd) -
PythonCodeForLoop
public PythonCodeForLoop(IPythonCodeElement parent, String iterator, String rangeStart, String rangeEnd, String rangeStep)
-
-
Method Details
-
store
public void store(net.ssehub.easy.instantiation.core.model.templateModel.CodeWriter out) - Specified by:
storein interfaceStorable- Overrides:
storein classPythonCodeBlock
-