Class PythonCodeTryBlock
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.PythonCodeTryBlock
- All Implemented Interfaces:
net.ssehub.easy.instantiation.core.model.vilTypes.IStringValueProvider,net.ssehub.easy.instantiation.core.model.vilTypes.IVilType,IPythonCodeElement,Storable
Represents a Python "try" 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
FieldsFields inherited from interface net.ssehub.easy.instantiation.python.codeArtifacts.IPythonCodeElement
KEY_COMPARATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddElse()addExceptStar(String type) addExceptStar(String type, String name) voidstore(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
-
excepts
-
elseBlock
-
finallyBlock
-
-
Constructor Details
-
PythonCodeTryBlock
-
-
Method Details
-
addExcept
-
addExcept
-
addExcept
-
addExceptStar
-
addExceptStar
-
addExceptStar
-
addElse
-
addFinally
-
store
public void store(net.ssehub.easy.instantiation.core.model.templateModel.CodeWriter out) - Specified by:
storein interfaceStorable- Overrides:
storein classPythonCodeBlock
-