Package io.micronaut.python.processing.model
@NullUnmarked
package io.micronaut.python.processing.model
The Python source model produced by the processor: classes, functions, arguments, decorators and type references.
-
ClassDescriptionRepresents a member of a Python annotation (decorator parameter).An ArgumentDef represents a single function parameter definition.An ArgumentsDef represents the complete argument specification for a function.An AsyncFunctionDef node represents an asynchronous function definition.An AttributeDef node represents a class attribute definition.A ClassDef node represents a class definition.Represents a parsed Python decorator and its resolved metadata.The default of a dataclass field declared through
field(default_factory=...): the factory is called by Python for every instance, so the default is not a value the generated code can reproduce.Base interface for all Python AST element definitions.A FunctionDef node represents a function definition.Represents a member of aClassDef.A PropertyDef node represents a Python property definition.A ReturnDef represents the return type annotation of a function.A ScriptDef node represents a Python script/module definition.One argument of thesuper().__init__(...)call in a Python constructor.A TypeDef represents a reference to a type that may have type arguments.A TypeVar node represents a type variable for generic types.