API reference

python:astx:astx.Variable

class Variable

Variable(name: str, type_: DataType = AnyType(), loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None)

Source: packages/astx/src/astx/data.py:278

Declared as: python:astx:astx.data.Variable

AST class for the variable usage.

Attributes

Methods

Attributes

Search documentation

Type to search.