diff options
author | Liana Husikyan <liana@ethdev.com> | 2015-03-17 17:48:46 +0800 |
---|---|---|
committer | Liana Husikyan <liana@ethdev.com> | 2015-03-17 21:25:13 +0800 |
commit | 5a5577f5a5e8ef590810651e55a9a3192a0bf31c (patch) | |
tree | 45dba4eca00137d24289ba26f858a8945cfe3144 /AST.h | |
parent | 2986ecbd753ad0e3f76c98280e68f7f9a464518f (diff) | |
download | dexon-solidity-5a5577f5a5e8ef590810651e55a9a3192a0bf31c.tar.gz dexon-solidity-5a5577f5a5e8ef590810651e55a9a3192a0bf31c.tar.zst dexon-solidity-5a5577f5a5e8ef590810651e55a9a3192a0bf31c.zip |
changed the position of 'anonymous' keyword: event <name>() anonymous.
- style changes
Diffstat (limited to 'AST.h')
-rw-r--r-- | AST.h | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -553,12 +553,17 @@ private: class EventDefinition: public Declaration, public VariableScope, public Documented { public: - EventDefinition(SourceLocation const& _location, - ASTPointer<ASTString> const& _name, - ASTPointer<ASTString> const& _documentation, - ASTPointer<ParameterList> const& _parameters, - bool _anonymous = false): - Declaration(_location, _name), Documented(_documentation), m_parameters(_parameters) , m_anonymous(_anonymous){} + EventDefinition( + SourceLocation const& _location, + ASTPointer<ASTString> const& _name, + ASTPointer<ASTString> const& _documentation, + ASTPointer<ParameterList> const& _parameters, + bool _anonymous = false + ): + Declaration(_location, _name), + Documented(_documentation), + m_parameters(_parameters), + m_anonymous(_anonymous){} virtual void accept(ASTVisitor& _visitor) override; virtual void accept(ASTConstVisitor& _visitor) const override; |