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
#
Is not None
if the identifier is an external reference to a Solidity variable.
Returns:
Type | Description |
---|---|
Optional[ExternalReference]
|
Object describing the external reference to a Solidity variable. |
parent: Union[YulAssignment, YulExpressionStatement, YulForLoop, YulIf, YulSwitch, YulVariableDeclaration, YulFunctionCall]
property
#
Returns:
Type | Description |
---|---|
Union[YulAssignment, YulExpressionStatement, YulForLoop, YulIf, YulSwitch, YulVariableDeclaration, YulFunctionCall]
|
Parent IR node. |