wake.ir.expressions.elementary_type_name_expression
module
#
ElementaryTypeNameExpression
class
#
Bases: ExpressionAbc
May be used:
- in a FunctionCall type conversion expressions, e.g.
address(this), - as
typeargument, e.g.type(uint256).max, - as a FunctionCall argument, e.g.
abi.decode(x, (uint256)).
Source code in wake/ir/expressions/elementary_type_name_expression.py
children
property
#
Yields:
| Type | Description |
|---|---|
ElementaryTypeName
|
Direct children of this node. |
type_name
property
#
Returns:
| Type | Description |
|---|---|
ElementaryTypeName
|
Type name referenced by the expression. |