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
type
argument, 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: Iterator[ElementaryTypeName]
property
#
Yields:
Type | Description |
---|---|
ElementaryTypeName
|
Direct children of this node. |
type_name: ElementaryTypeName
property
#
Returns:
Type | Description |
---|---|
ElementaryTypeName
|
Type name referenced by the expression. |