wake.ir.yul.typed_name
module
#
YulTypedName
class
#
Bases: YulAbc
As opposed to YulIdentifier that serves as a reference to a variable and is evaluated to its value, YulTypedName is a declaration of a variable (an intention to use the given name for a variable).
The difference from YulVariableDeclaration is that the variable declaration is used to declare a new unique name and contains YulTypedName as a child.
Example
x, y, z and w in the following example are all typed names:
Source code in wake/ir/yul/typed_name.py
name: str
property
#
Returns:
| Type | Description |
|---|---|
str
|
Name of the typed name. |