Class PythonElementFactory

java.lang.Object
io.micronaut.python.processing.visitor.PythonElementFactory
All Implemented Interfaces:
ElementFactory<ElementDef, ClassDef, FunctionDef, AttributeDef>

public final class PythonElementFactory extends Object implements ElementFactory<ElementDef, ClassDef, FunctionDef, AttributeDef>
Python implementation of ElementFactory for creating Python AST-based elements.

This factory creates Micronaut elements from Python AST definition objects: - ClassDef for classes - FunctionDef for methods and constructors - AttributeDef for fields and enum constants

Since:
5.2.0
Author:
Micronaut Team