Uses of Interface
net.ssehub.easy.instantiation.python.codeArtifacts.IPythonCodeElement
Packages that use IPythonCodeElement
Package
Description
VTL Code artifact(s) for Python.
-
Uses of IPythonCodeElement in net.ssehub.easy.instantiation.python.codeArtifacts
Subinterfaces of IPythonCodeElement in net.ssehub.easy.instantiation.python.codeArtifactsClasses in net.ssehub.easy.instantiation.python.codeArtifacts that implement IPythonCodeElementModifier and TypeClassDescriptionclassRepresents a Python "if" in VTL.classRepresents a Python "assert" in VTL.classRepresents a Python value assign in VTL.classRepresents a Python code block in VTL.classRepresents a Python "class" in VTL.classRepresents a Python constructor call in VTL.classRepresents a Python decorator in VTL.classRepresents a Python decorator argument in VTL.classRepresents a Python "del" in VTL.classRepresents a Python doc comment in VTL.classRepresents a Python code element in VTL.classRepresents a Python enum.private classRepresents an enum literal with comment.classRepresents a Python expression in VTL.classRepresents a Python function call in VTL.private static classclassRepresents a Python "for" in VTL.classRepresents a Python function in VTL.classRepresents a Python "global" in VTL.classRepresents a Python "import" in VTL.classRepresents a Python lambda expression in VTL.classRepresents a Python "match" in VTL.private classclassRepresents a Python "nonlocal" in VTL.classRepresents a Python parameter in VTL.classRepresents a Python "raise" in VTL.classRepresents a Python single line comment in VTL.classRepresents a Python statement in VTL.classRepresents a not further refined/refinable text Python expression/statement in VTL.classRepresents a Python "try" in VTL.classclassRepresents a Python type alias in VTL.classRepresents a Python type (usage) specification in VTL.classRepresents a Python "while" loop in VTL.classRepresents a Python "with" in VTL.private classFields in net.ssehub.easy.instantiation.python.codeArtifacts declared as IPythonCodeElementModifier and TypeFieldDescriptionprivate IPythonCodeElementPythonCodeDocComment.attachedToprivate IPythonCodeElementPythonCodeDecorator.decoratedprivate IPythonCodeElementPythonCodeTypeSpec.enclosingprivate IPythonCodeElementPythonCodeElement.parentprivate IPythonCodeElementPythonCodeFnCall.NamedArgument.valueFields in net.ssehub.easy.instantiation.python.codeArtifacts with type parameters of type IPythonCodeElementModifier and TypeFieldDescriptionprivate List<IPythonCodeElement> PythonCodeFnCall.argumentsprivate List<IPythonCodeElement> PythonCodeBlock.elementsprivate List<IPythonCodeElement> PythonCodeClass.elementsstatic final Comparator<IPythonCodeElement> IPythonCodeElement.KEY_COMPARATORMethods in net.ssehub.easy.instantiation.python.codeArtifacts with type parameters of type IPythonCodeElementModifier and TypeMethodDescriptionprotected <T extends IPythonCodeElement>
TPythonCodeClass.add(T element) protected <T extends IPythonCodeElement>
TPythonCodeBlock.addElt(T elt) protected <T extends IPythonCodeElement>
TPythonCodeBlock.addElt(T elt, boolean importToFront) static <T extends IPythonCodeElement>
voidIPythonCodeElement.setParent(IPythonCodeElement parent, Class<T> cls, Consumer<T> setter) private <T extends IPythonCodeElement>
TMethods in net.ssehub.easy.instantiation.python.codeArtifacts that return IPythonCodeElementModifier and TypeMethodDescriptionIPythonCodeElement.getParent()PythonCodeDecorator.getParent()PythonCodeDecoratorArg.getParent()PythonCodeDocComment.getParent()PythonCodeElement.getParent()PythonCodeImport.getParent()PythonCodeText.getParent()PythonCodeTypeSpec.getParent()default IPythonCodeElementIPythonCodeElement.getTopClass()Methods in net.ssehub.easy.instantiation.python.codeArtifacts with parameters of type IPythonCodeElementModifier and TypeMethodDescriptionstatic PythonCodeTypeSpecPythonCodeTypeSpec.create(String type, IPythonCodeElement enclosing) static PythonCodeTypeSpecPythonCodeTypeSpec.create(String type, IPythonCodeElement enclosing, PythonCodeImportScope scope) (package private) static PythonCodeClassPythonCodeClass.getParentCodeClass(IPythonCodeElement element) static voidIPythonCodeElement.moveTo(List<IPythonCodeElement> elts, IPythonCodeElement elt, Class<?> cls) Moveseltafter the last instance ofcls.static voidIPythonCodeElement.moveTo(List<IPythonCodeElement> elts, IPythonCodeElement elt, Predicate<IPythonCodeElement> cond) Moveseltafter the last acceptance ofcond.default voidIPythonCodeElement.moveToAttributes(IPythonCodeElement element) Moves the given code element after the last attribute at the beginning of (this) class, or, if there are no attributes, to the front.voidPythonCodeClass.moveToAttributes(IPythonCodeElement element) voidIPythonCodeElement.setParent(IPythonCodeElement parent) static <T extends IPythonCodeElement>
voidIPythonCodeElement.setParent(IPythonCodeElement parent, Class<T> cls, Consumer<T> setter) (package private) static voidPythonCodeClass.setParent(IPythonCodeElement parent, Consumer<PythonCodeClass> consumer) voidPythonCodeDecorator.setParent(IPythonCodeElement decorated) voidPythonCodeDecoratorArg.setParent(IPythonCodeElement parent) voidPythonCodeDocComment.setParent(IPythonCodeElement parent) voidPythonCodeElement.setParent(IPythonCodeElement parent) voidPythonCodeImport.setParent(IPythonCodeElement parent) voidPythonCodeText.setParent(IPythonCodeElement parent) voidPythonCodeTypeSpec.setParent(IPythonCodeElement parent) protected StringPythonCodeConstructorCall.validateFuncName(IPythonCodeElement parent, String name, PythonCodeImportScope scope) protected StringPythonCodeFnCall.validateFuncName(IPythonCodeElement parent, String name, PythonCodeImportScope scope) Method parameters in net.ssehub.easy.instantiation.python.codeArtifacts with type arguments of type IPythonCodeElementModifier and TypeMethodDescriptiondefault voidIPythonCodeElement.addAll(List<IPythonCodeElement> list) static voidIPythonCodeElement.moveTo(List<IPythonCodeElement> elts, IPythonCodeElement elt, Class<?> cls) Moveseltafter the last instance ofcls.static voidIPythonCodeElement.moveTo(List<IPythonCodeElement> elts, IPythonCodeElement elt, Predicate<IPythonCodeElement> cond) Moveseltafter the last acceptance ofcond.static voidIPythonCodeElement.moveTo(List<IPythonCodeElement> elts, IPythonCodeElement elt, Predicate<IPythonCodeElement> cond) Moveseltafter the last acceptance ofcond.static voidIPythonCodeElement.sort(List<IPythonCodeElement> list, Comparator<IPythonCodeElement> comparator) static voidIPythonCodeElement.sort(List<IPythonCodeElement> list, Comparator<IPythonCodeElement> comparator) static voidIPythonCodeElement.storeList(String prefix, List<? extends IPythonCodeElement> elements, String separator, net.ssehub.easy.instantiation.core.model.templateModel.CodeWriter out) static voidIPythonCodeElement.storeList(List<? extends IPythonCodeElement> elements, String separator, net.ssehub.easy.instantiation.core.model.templateModel.CodeWriter out) Constructors in net.ssehub.easy.instantiation.python.codeArtifacts with parameters of type IPythonCodeElementModifierConstructorDescriptionprotectedNamedArgument(IPythonCodeElement parent, String pName, IPythonCodeElement value) PythonCodeAlternative(IPythonCodeElement parent, String condition) PythonCodeAssert(IPythonCodeElement parent, String expr) PythonCodeAssert(IPythonCodeElement parent, String expr, String msg) PythonCodeAssign(IPythonCodeElement parent, String varName, String expr) Creates an assignment statement.PythonCodeAssign(IPythonCodeElement parent, String varName, String type, String expr) Creates an assignment statement.PythonCodeBlock(IPythonCodeElement parent) PythonCodeCase(IPythonCodeElement parent) PythonCodeCase(IPythonCodeElement parent, String condition) (package private)PythonCodeClass(IPythonCodeElement parent, String name) Creates a class.(package private)PythonCodeClass(IPythonCodeElement parent, String name, String comment) Creates a class with comment.PythonCodeConstructorCall(IPythonCodeElement parent, String cls) (package private)PythonCodeDecorator(String name, IPythonCodeElement decorated, PythonCodeImportScope scope) PythonCodeDelete(IPythonCodeElement parent, String name) PythonCodeDocComment(String comment, IPythonCodeElement attachedTo) PythonCodeDocComment(IPythonCodeElement attachedTo) protectedPythonCodeElement(IPythonCodeElement parent) (package private)PythonCodeEnum(IPythonCodeElement parent, String name) Creates an enum.(package private)PythonCodeEnum(IPythonCodeElement parent, String name, String comment) Creates an enum with comment.privatePythonCodeEnumLiteral(IPythonCodeElement parent, String varName, String expr, String comment) Creates a literal.PythonCodeExceptBlock(IPythonCodeElement parent, String type) PythonCodeExceptBlock(IPythonCodeElement parent, String type, String name) protectedPythonCodeExpr(IPythonCodeElement parent) PythonCodeFnCall(IPythonCodeElement parent, String name, PythonCodeImportScope scope) PythonCodeFnCall(IPythonCodeElement parent, String name, PythonCodeImportScope scope, boolean usedAsStmt) PythonCodeForLoop(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) PythonCodeFunction(IPythonCodeElement parent, String name) PythonCodeFunction(IPythonCodeElement parent, String name, String comment) PythonCodeGlobal(IPythonCodeElement parent, String name) protectedPythonCodeMatch(IPythonCodeElement parent, String expr) PythonCodeNonLocal(IPythonCodeElement parent, String name) PythonCodeRaise(IPythonCodeElement parent, String exceptionType) PythonCodeSingleLineComment(IPythonCodeElement parent, String comment, boolean enclosed) protectedPythonCodeStmt(IPythonCodeElement parent) PythonCodeTryBlock(IPythonCodeElement parent) PythonCodeTypeAlias(IPythonCodeElement parent, String name, String expr) protectedPythonCodeTypeSpec(String type, IPythonCodeElement enclosing) protectedPythonCodeTypeSpec(String type, IPythonCodeElement enclosing, PythonCodeImportScope scope) protectedPythonCodeTypeSpec(PythonCodeTypeSpec type, IPythonCodeElement enclosing, PythonCodeImportScope scope) PythonCodeWhileLoop(IPythonCodeElement parent, String condition) PythonCodeWith(IPythonCodeElement parent, String expr) PythonCodeWith(IPythonCodeElement parent, String expr, String varName) protectedPythonCodeWithItem(IPythonCodeElement parent, String expr) protectedPythonCodeWithItem(IPythonCodeElement parent, String expr, String varName)