API reference
python:astx:astx.data.Identifier
class Identifier
Identifier(name: str, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None)
Source: packages/astx/src/astx/data.py:221
AST class for identifiers.
Attributes
-
name — Type: str
-
type_ — Type: DataType
Methods
-
__init__ — Initialize the Identifier instance.
-
__str__ — Return a string that represents the object.
-
get_struct — Return a structure that represents the Identifier object.