Expand description
Yul AST.
Structs§
- Block
- A block of Yul statements:
{ ... }. - Code
Block - A Yul
codeblock. SeeObject. - Data
- A Yul
datasegment. SeeObject. - Expr
- A Yul expression.
- Expr
Call - A Yul function call expression:
foo(a, b). - Function
- Yul function definition:
function f() -> a, b { ... }. - Object
- A Yul object.
- Stmt
- A Yul statement.
- StmtFor
- A Yul for statement:
for {let i := 0} lt(i,10) {i := add(i,1)} { ... }. - Stmt
Switch - A Yul switch statement can consist of only a default-case or one or more non-default cases optionally followed by a default-case.
- Stmt
Switch Case - Represents a non-default case of a Yul switch statement.