Module solang_parser::pt
source · Expand description
Solidity parse tree data structures.
See also the Solidity documentation.
Structs
- An annotation.
- A function modifier invocation (see FunctionAttribute) or a contract inheritance specifier (see ContractDefinition).
- A contract definition.
- An enum definition.
- An error definition.
- An error parameter.
- An event definition.
- An event parameter.
- A function definition.
- A hex literal.
- An identifier.
- A qualified identifier.
- A named argument.
- A parameter.
- The source unit of the parse tree.
- A string literal.
- A struct definition.
- A user type definition.
- A
using
directive. - A
using
function. See UsingList. - A variable declaration.
- A variable definition.
- A Yul block statement.
- A Yul for statement.
- A Yul function call.
- A Yul function definition.
- A Yul switch statement.
- A Yul typed identifier.
Enums
- A catch clause. See Statement.
- A comment or doc comment.
- A contract part.
- The contract type.
- An expression.
- A function attribute.
- A function’s type.
- An import statement.
- An import statement.
- A code location.
- Function mutability.
- A parse tree part.
- A statement.
- Dynamic type location.
- A type.
- A user-defined operator.
- A
using
list. See Using. - A variable attribute.
- Function visibility.
- A Yul expression.
- A Yul statement.
- A Yul switch case or default statement. See YulSwitch.
Type Aliases
- Type alias for a list of function parameters.