Expand description
AST types for Solidity
Structs§
- Array
Expression - Assembly
Statement - Assignment
Expression - Binary
Expression - Block
- Break
Statement - Catch
Clause - Conditional
Expression - Constant
Variable Declaration - Constructor
Definition - Continue
Statement - Contract
Definition - DoWhile
Statement - Emit
Statement - Enum
Definition - Error
Definition - Error
Parameter - Event
Definition - Event
Parameter - Expression
Statement - ForStatement
- Function
Call Expression - Function
Definition - Function
Type Name - HexString
Literal - Identifier
Path - IfStatement
- Import
Directive - Import
Symbol - Index
Access Expression - Inheritance
Specifier - Interface
Definition - Library
Definition - Mapping
Type - Member
Access Expression - Modifier
Definition - Modifier
Invocation - NewExpression
- Number
Literal - Override
Specifier - Parameter
- Pragma
Directive - Return
Statement - Revert
Statement - Source
Unit - State
Variable Declaration - String
Literal - Struct
Definition - Struct
Member - TryStatement
- Tuple
Expression - Type
Conversion Expression - Unary
Expression - Unchecked
Block - Unicode
String Literal - Using
Directive - Variable
Declaration - Variable
Declaration Statement - While
Statement - YulAssignment
- YulBlock
- YulFor
Statement - YulFunction
Call - YulFunction
Definition - YulIf
Statement - YulPath
- YulSwitch
Case - YulSwitch
Statement - YulVariable
Declaration