Class PythonCodeAlternative
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.PythonCodeAlternative
- All Implemented Interfaces:
net.ssehub.easy.instantiation.core.model.vilTypes.IStringValueProvider,net.ssehub.easy.instantiation.core.model.vilTypes.IVilType,IPythonCodeElement,Storable
Represents a Python "if" 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
Constructors -
Method Summary
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
-
condition
-
elseBlock
-
-
Constructor Details
-
PythonCodeAlternative
-
-
Method Details
-
addElse
-
store
public void store(net.ssehub.easy.instantiation.core.model.templateModel.CodeWriter out) - Specified by:
storein interfaceStorable- Overrides:
storein classPythonCodeBlock
-