aboutsummaryrefslogtreecommitdiffstats
path: root/AST.h
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-03-17 17:48:46 +0800
committerLiana Husikyan <liana@ethdev.com>2015-03-17 21:25:13 +0800
commit5a5577f5a5e8ef590810651e55a9a3192a0bf31c (patch)
tree45dba4eca00137d24289ba26f858a8945cfe3144 /AST.h
parent2986ecbd753ad0e3f76c98280e68f7f9a464518f (diff)
downloaddexon-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.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/AST.h b/AST.h
index c0ae3c16..5564d83d 100644
--- a/AST.h
+++ b/AST.h
@@ -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;