wake.ir.yul.identifier
module
#
YulIdentifier
class
#
Bases: YulAbc
Represents an identifier referencing a YulFunctionDefinition, a YulVariableDeclaration, or a Solidity VariableDeclaration through an ExternalReference.
Source code in wake/ir/yul/identifier.py
external_reference: Optional[ExternalReference]
property
#
name: str
property
#
Returns:
Type | Description |
---|---|
str
|
Name of the identifier. |
parent: Union[YulAssignment, YulExpressionStatement, YulForLoop, YulIf, YulSwitch, YulVariableDeclaration, YulFunctionCall]
property
#
Returns:
Type | Description |
---|---|
Union[YulAssignment, YulExpressionStatement, YulForLoop, YulIf, YulSwitch, YulVariableDeclaration, YulFunctionCall]
|
Parent IR node. |