API reference
python:astx:astx.ListCreate
class ListCreate
ListCreate(element_type: astx.DataType)
Source: packages/astx/src/astx/collections/list.py:79
Declared as: python:astx:astx.collections.list.ListCreate
Internal empty-list constructor node.
Attributes
-
element_type — Type: astx.DataType
-
type_ — Type: astx.ListType
Methods
-
__init__ — Initialize one empty-list constructor.
-
get_struct — Return the structured representation.
Attributes
-
type_ —