diff options
author | chriseth <c@ethdev.com> | 2015-04-28 00:31:38 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-04-28 00:57:13 +0800 |
commit | 7ad5cb9621492f4ef8bfe4d8f6cf0a0aeedc6567 (patch) | |
tree | 479d8d5de827e8b6dd0bd169cfbd7354faf07fb6 /libsolidity | |
parent | ceb9326eb289fbd5f234f407aa940b973e4b60d0 (diff) | |
download | dexon-solidity-7ad5cb9621492f4ef8bfe4d8f6cf0a0aeedc6567.tar dexon-solidity-7ad5cb9621492f4ef8bfe4d8f6cf0a0aeedc6567.tar.gz dexon-solidity-7ad5cb9621492f4ef8bfe4d8f6cf0a0aeedc6567.tar.bz2 dexon-solidity-7ad5cb9621492f4ef8bfe4d8f6cf0a0aeedc6567.tar.lz dexon-solidity-7ad5cb9621492f4ef8bfe4d8f6cf0a0aeedc6567.tar.xz dexon-solidity-7ad5cb9621492f4ef8bfe4d8f6cf0a0aeedc6567.tar.zst dexon-solidity-7ad5cb9621492f4ef8bfe4d8f6cf0a0aeedc6567.zip |
Removed visit functions for abstract AST nodes.
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/SolidityExpressionCompiler.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libsolidity/SolidityExpressionCompiler.cpp b/libsolidity/SolidityExpressionCompiler.cpp index b2436cfa..ee631197 100644 --- a/libsolidity/SolidityExpressionCompiler.cpp +++ b/libsolidity/SolidityExpressionCompiler.cpp @@ -50,14 +50,12 @@ public: FirstExpressionExtractor(ASTNode& _node): m_expression(nullptr) { _node.accept(*this); } Expression* getExpression() const { return m_expression; } private: - virtual bool visit(Expression& _expression) override { return checkExpression(_expression); } virtual bool visit(Assignment& _expression) override { return checkExpression(_expression); } virtual bool visit(UnaryOperation& _expression) override { return checkExpression(_expression); } virtual bool visit(BinaryOperation& _expression) override { return checkExpression(_expression); } virtual bool visit(FunctionCall& _expression) override { return checkExpression(_expression); } virtual bool visit(MemberAccess& _expression) override { return checkExpression(_expression); } virtual bool visit(IndexAccess& _expression) override { return checkExpression(_expression); } - virtual bool visit(PrimaryExpression& _expression) override { return checkExpression(_expression); } virtual bool visit(Identifier& _expression) override { return checkExpression(_expression); } virtual bool visit(ElementaryTypeNameExpression& _expression) override { return checkExpression(_expression); } virtual bool visit(Literal& _expression) override { return checkExpression(_expression); } |