Skip to content

Latest commit

 

History

History
84 lines (80 loc) · 1.2 KB

NODE_LIST.md

File metadata and controls

84 lines (80 loc) · 1.2 KB

A comprehensive list of known Solc AST node types

Solidity AST

ArrayTypeName
Assignment
BinaryOperation
Block
Break
Conditional
Continue
ContractDefinition
DoWhileStatement
ElementaryTypeName
ElementaryTypeNameExpression
EmitStatement
EnumDefinition
EnumValue
ErrorDefinition
EventDefinition
ExpressionStatement
ForStatement
FunctionCall
FunctionCallOptions
FunctionDefinition
FunctionTypeName
Identifier
IdentifierPath
IfStatement
ImportDirective
IndexAccess
IndexRangeAccess
InheritanceSpecifier
InlineAssembly
Literal
Mapping
MemberAccess
ModifierDefinition
ModifierInvocation
NewExpression
OverrideSpecifier
ParameterList
PlaceholderStatement
PragmaDirective
Return
RevertStatement
SourceUnit
StructDefinition
StructuredDocumentation
Throw
TryCatchClause
TryStatement
TupleExpression
UnaryOperation
UncheckedBlock
UserDefinedTypeName
UserDefinedValueTypeDefinition
UsingForDirective
VariableDeclaration
VariableDeclarationStatement
WhileStatement

Yul AST (InlineAssembly subtree)

YulAssignment
YulBlock
YulBreak
YulCase
YulContinue
YulExpressionStatement
YulForLoop
YulFunctionCall
YulFunctionDefinition
YulIdentifier
YulIf
YulLeave
YulLiteral
YulSwitch
YulTypedName
YulVariableDeclaration