mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Implements constructor code for state variables.
This commit is contained in:
committed by
chriseth
parent
742b4271fd
commit
235638b3fc
@@ -45,6 +45,9 @@ public:
|
||||
|
||||
std::string code() const;
|
||||
|
||||
/// Generates code to initialize the given state variable.
|
||||
void initializeStateVar(VariableDeclaration const& _varDecl);
|
||||
|
||||
void endVisit(VariableDeclarationStatement const& _variableDeclaration) override;
|
||||
bool visit(Assignment const& _assignment) override;
|
||||
bool visit(TupleExpression const& _tuple) override;
|
||||
|
||||
Reference in New Issue
Block a user