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

Returns

Type: ReprStruct

Search documentation

Type to search.