API reference
python:astx:astx.ListAppend
class ListAppend
ListAppend(base: astx.AST, value: astx.AST)
Source: packages/astx/src/astx/collections/list.py:178
Declared as: python:astx:astx.collections.list.ListAppend
Internal list append node.
Append one value to an existing mutable list variable or field. This node models incremental list growth and is not a user-facing collection API by itself.
Attributes
-
base — Type: astx.AST
-
value — Type: astx.AST
-
type_ — Type: astx.Int32
Methods
-
__init__ — Initialize one list append node.
-
get_struct — Return the structured representation.