diff options
author | chriseth <c@ethdev.com> | 2014-11-04 01:39:16 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-11-04 18:56:19 +0800 |
commit | ef546e789a31a8ef5728625db38a673c1d9faed4 (patch) | |
tree | f2224a876a8bf405f5e18689e801a7f7381de837 /AST.h | |
parent | 4dfd6dfa13929f31dcea889d17a6fc77137f9c67 (diff) | |
download | dexon-solidity-ef546e789a31a8ef5728625db38a673c1d9faed4.tar.gz dexon-solidity-ef546e789a31a8ef5728625db38a673c1d9faed4.tar.zst dexon-solidity-ef546e789a31a8ef5728625db38a673c1d9faed4.zip |
Stylistic changes.
Diffstat (limited to 'AST.h')
-rw-r--r-- | AST.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -180,7 +180,8 @@ public: Block& getBody() { return *m_body; } void addLocalVariable(VariableDeclaration const& _localVariable) { m_localVariables.push_back(&_localVariable); } - std::vector<VariableDeclaration const*>const& getLocalVariables() const { return m_localVariables; } + std::vector<VariableDeclaration const*> const& getLocalVariables() const { return m_localVariables; } + private: bool m_isPublic; ASTPointer<ParameterList> m_parameters; @@ -345,6 +346,7 @@ public: Expression& getCondition() const { return *m_condition; } Statement& getTrueStatement() const { return *m_trueBody; } Statement* getFalseStatement() const { return m_falseBody.get(); } + private: ASTPointer<Expression> m_condition; ASTPointer<Statement> m_trueBody; @@ -373,6 +375,7 @@ public: Expression& getCondition() const { return *m_condition; } Statement& getBody() const { return *m_body; } + private: ASTPointer<Expression> m_condition; ASTPointer<Statement> m_body; |