aboutsummaryrefslogtreecommitdiffstats
path: root/NameAndTypeResolver.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-10-20 22:28:24 +0800
committerChristian <c@ethdev.com>2014-10-20 22:28:24 +0800
commit869659802058a5f68b4d2af2e7559da3d9c55141 (patch)
treed6990b74c4616961320d7c0b26cc5cb84905c46b /NameAndTypeResolver.h
parentbe885dc3cf3da61278a22493b6c7510c6121e0a9 (diff)
downloaddexon-solidity-869659802058a5f68b4d2af2e7559da3d9c55141.tar.gz
dexon-solidity-869659802058a5f68b4d2af2e7559da3d9c55141.tar.zst
dexon-solidity-869659802058a5f68b4d2af2e7559da3d9c55141.zip
Access modifier cleanup.
Diffstat (limited to 'NameAndTypeResolver.h')
-rw-r--r--NameAndTypeResolver.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/NameAndTypeResolver.h b/NameAndTypeResolver.h
index 62545456..5305565b 100644
--- a/NameAndTypeResolver.h
+++ b/NameAndTypeResolver.h
@@ -42,6 +42,7 @@ public:
void resolveNamesAndTypes(ContractDefinition& _contract);
Declaration* getNameFromCurrentScope(ASTString const& _name, bool _recursive = true);
+
private:
void reset();
@@ -83,13 +84,14 @@ class ReferencesResolver: private ASTVisitor
{
public:
ReferencesResolver(ASTNode& _root, NameAndTypeResolver& _resolver, ParameterList* _returnParameters);
+
private:
virtual void endVisit(VariableDeclaration& _variable) override;
virtual bool visit(Identifier& _identifier) override;
virtual bool visit(UserDefinedTypeName& _typeName) override;
virtual bool visit(Mapping&) override;
virtual bool visit(Return& _return) override;
-private:
+
NameAndTypeResolver& m_resolver;
ParameterList* m_returnParameters;
};