diff options
author | chriseth <c@ethdev.com> | 2015-10-10 02:44:56 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-10-13 18:16:23 +0800 |
commit | deebc7e8601185006b74a5ee78b83c50bdf37abc (patch) | |
tree | fcd4f68acc0ca65e10e16eba170bc89180ea9468 /libsolidity/ASTAnnotations.h | |
parent | a5d12b876180088904a026c472da23201a35d59c (diff) | |
download | dexon-solidity-deebc7e8601185006b74a5ee78b83c50bdf37abc.tar dexon-solidity-deebc7e8601185006b74a5ee78b83c50bdf37abc.tar.gz dexon-solidity-deebc7e8601185006b74a5ee78b83c50bdf37abc.tar.bz2 dexon-solidity-deebc7e8601185006b74a5ee78b83c50bdf37abc.tar.lz dexon-solidity-deebc7e8601185006b74a5ee78b83c50bdf37abc.tar.xz dexon-solidity-deebc7e8601185006b74a5ee78b83c50bdf37abc.tar.zst dexon-solidity-deebc7e8601185006b74a5ee78b83c50bdf37abc.zip |
Multi-variable declarations.
Diffstat (limited to 'libsolidity/ASTAnnotations.h')
-rw-r--r-- | libsolidity/ASTAnnotations.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libsolidity/ASTAnnotations.h b/libsolidity/ASTAnnotations.h index be9b164c..32602628 100644 --- a/libsolidity/ASTAnnotations.h +++ b/libsolidity/ASTAnnotations.h @@ -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. |