API reference
python:astx:astx.AST._prepare_struct
method _prepare_struct
_prepare_struct(key: str, value: PrimitivesStruct | ReprStruct, simplified: bool) -> ReprStruct
Source: packages/astx/src/astx/base.py:359
Declared as: python:astx:astx.base.AST._prepare_struct
Prepare a representation structure for the node.
Parameters
-
key โ Type: str
-
value โ Type: PrimitivesStruct | ReprStruct
-
simplified โ Type: bool
Returns
Type: ReprStruct