astx.structs
astx.structs
Source: packages/astx/src/astx/structs.py
title: ASTx struct AST nodes.Classes
StructType(AnyType)
title: Named struct type reference.
attributes:
name:
type: str
resolved_name:
type: str | None
module_key:
type: str | None
qualified_name:
type: str | NoneMethods
get_struct(self, simplified: bool=False) -> astx.base.ReprStruct
title: Build one repr structure for a struct type reference.
parameters:
simplified:
type: bool
returns:
type: astx.base.ReprStructFieldAccess(astx.DataType)
title: Field access expression.
attributes:
value:
type: astx.AST
field_name:
type: str
type_:
type: AnyTypeMethods
get_struct(self, simplified: bool=False) -> astx.base.ReprStruct
title: Build one repr structure for a field access expression.
parameters:
simplified:
type: bool
returns:
type: astx.base.ReprStruct