mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Multi-variable declarations.
This commit is contained in:
@@ -84,6 +84,13 @@ struct UserDefinedTypeNameAnnotation: TypeNameAnnotation
|
||||
Declaration const* referencedDeclaration = nullptr;
|
||||
};
|
||||
|
||||
struct VariableDeclarationStatementAnnotation: ASTAnnotation
|
||||
{
|
||||
/// Information about which component of the vaule is assigned to which variable.
|
||||
/// The pointer can be null to signify that the component is discarded.
|
||||
std::vector<VariableDeclaration const*> assignments;
|
||||
};
|
||||
|
||||
struct ExpressionAnnotation: ASTAnnotation
|
||||
{
|
||||
/// Inferred type of the expression.
|
||||
|
||||
Reference in New Issue
Block a user